For a total understanding of the torque loading stress analysis you should Goggle " shaft torque stress analysis" and " hollow shaft torque stress analysis" where you will find a number of references describing the theory and method of stress analysis to be utilized. For a quick analysis of your shaft refer to the below site that I located under the second category.
For a quick analysis see:
http://www.amesweb.info/Torsion/TorsionalStressCalculator.aspx
At the same time, in order to give you some guidance, I am offering you the below of what appear in my opinion, to be the critical areas of analysis for your tool; however, these should not be considered to be a complete analysis as required by your organization. Regardless of these recommendations, any analysis you perform should be submitted to your organization's "stressmen" for approval.
As for your area of concern, as long as the analysis shows the shearing stress along the shaft is acceptable and there are no bending stresses on the tool shaft then the transition section should be safe as well because it has a smooth radius transition which at any point has a greater effective wall thickness than the rest of the shaft.
At the same time, you should also analyze the driving hex end of the tool. You could use the average of the flat 36 diameter and the points' 42 diameter for that analysis; but, I strongly recommend that you use only the 36 OD for that analysis to be safe. As a general recommendation, unless you need the tool's 32 bore hole through the entire length of the tool in order to insert the tool around a shaft, I would recommend that you consider only drilling a blind end hole from the socket end that stops at a point 40 or more from the hex end to provide a solid center under the hex drive area.
The next area that you should be concerned about is the socket. Unless you have a prior tool design that specifies the socket design that you are using there are two areas of concern.
First, the thickness of the sockets back wall should be analyzed for the applied tool torque load shearing stress at the ID of the of the socket. The applied torque Ss is:
Ss = the socket ID /2 x torque / t wall x ID circumference.
Note: If you had a sharp corner at the shaft connection to this wall instead of the large translation radius from the shaft to the wall; then, the critical point of analysis would be at the shaft OD. In this case, that does not appear to be an issue but for a thorough analysis you might want to include that analysis point as well.
I also recommend that you revise your drawing's longitudinal length dimensions to specify the actual thickness of the back wall of your socket since this is more critical than the overall length of the tool.
Second, for the the socket's cylindrical wall to have an Ss equal to that of the shaft, the socket wall thickness should be at least:
t socket = t shaft x shaft OD / socket OD
Third, analyze the shearing stress on the socket splines due to the torque loading. The formula for that is:
Ss = (torque x socket ID/2) / (no. of splines x one spline base area)
ie, Ss = (500Nm x 63 / 2) / ( 9 x 5.9 x 25)
If the shearing stress beyond the materials allowable, then a potential solution is to increase the depth of the socket and therefore increase the base area of the splines; however, if this length is limited by the length of the application shaft splines, then an alternative is consider a hiigher strength material for your tool.
I hope this helps; and, I realize that you may well be aware of some or most of what I have included but I wanted to be as complete as possible.
PS: The previous post was added while I was putting all of this together and with regard to the use of computer stress anlaysis, since the majority of my career was spent before it availability, my analysis have primarily been using classic theory methods. In the more recent years I the finite element method for analyzing complex segments of a component; but even then, because I was there when finite element analysis was first introduced, and errors in errors in selecting the correct meshing often resulted in wrong results, I still utilize classic analysis as much as possible to verify its results. Just as a bit of advice in that respect, while generally there is no way to compare stress values in complex shapes, deflections determined by each method are always a solid basis for accurate comparison for verification.