I’ve rebuilt a few transmissions and transfer cases. Not an expert, but really all you can do is pull it from the Jeep & take it apart and assess.
Look for smoked synchronizers. They’re the smaller rings of gears that ride on each side of the sliding selector gears. They have little engagement teeth which can become rounded/ground off.
Look at the larger main gears for excessive wear, super-shiny teeth tips or chipped teeth.
Pry carefully against the main shaft & counter shaft and look for excessive side to side & front to back movement, which means worn bearings.
Most rebuild kits come with new synchros, bearings and fork shoes (the wear parts). If you need any new gears or shafts, that can create alot of searching.
There are a lot of great people on this forum who will help, so don’t hesitate to ask questions.
T5 rebuild article: