Tinted glass does absorb solar heat gain and reduce the overall heat entering the room better than clear glass.
However, it also blocks significant daylight from entering the room and offers no advantage when the window is not exposed to the sun.