Rigging tool for Blender.
When adjusting for bone roll manually, I recommend selecting a chain of bones in Edit Mode, pressing Ctrl+N, then selecting Local +Z Tangent. Then, select the first bone in the chain, then the second, then choose Active Bone.