Secondhand is where the value is in hand tools, and where the risk is in power tools. The two need completely different approaches.
Why old hand tools are worth buying
Hand tools made decades ago were frequently made from better steel and to tighter tolerances than budget tools today.
They have no electronics to fail and no batteries to become obsolete.
Most wear is cosmetic. Rust on a chisel blade comes off; a good chisel underneath is still a good chisel.
A worn but sound old tool at a car boot sale frequently outperforms a new one at three times the price.
Checking hand tools
Chisels and plane irons. Check the blade has plenty of length left and is not ground away or pitted at the cutting edge. Pitting on the flat back near the edge is the one fault worth walking away from, since it cannot be sharpened out easily.
Planes. Check the sole is flat and not cracked, particularly around the mouth, and that the adjuster works. Rust on the body is cosmetic.
Saws. A traditional saw can be sharpened; a hardpoint cannot. Check the plate is straight by sighting along it, and that there are no kinks.
Hammers. The head must be tight on the handle. Check for mushrooming on the striking face and for chips, which fly at speed.
Spanners and sockets. Look for rounded jaws and spread ends, which slip.
Levels. Test on the spot. Stand it on a flat surface, note the bubble, turn it end for end and check it reads the same.
Tape measures. Check the hook is not loose or bent, and compare against a known tape.
Rust is not usually a problem
Surface rust cleans off with abrasive and oil, and a tool that has been in a damp shed for twenty years is usually fine underneath.
What matters is pitting, where rust has eaten into the steel, and only where it affects a working surface: the cutting edge, the sole of a plane, the jaws of a spanner.
Deep pitting on a blade near the edge, or on a plane sole, is worth avoiding.
Power tools: the safety question
This is where the calculation changes.
A secondhand power tool has an unknown history. It may have been dropped, overloaded, opened up or repaired badly.
Check the cable along its whole length for nicks, taped repairs and damage at the strain relief where it enters the tool. A damaged cable on a class I tool is a serious hazard.
Check the plug is moulded or correctly wired and fused, and that the casing is not cracked.
Look for signs of the tool having been opened, such as chewed screw heads.
Run it if you can. Listen for bearing noise, feel for excessive vibration, and check the switch works properly and does not stick on.
Consider having any secondhand mains tool PAT tested, which is inexpensive and settles the question.
Cordless and batteries
Batteries are the weak point and the main cost.
Assume any battery included is near the end of its life unless it can be demonstrated.
Check whether replacement batteries for that platform are still available and what they cost, since an obsolete platform makes the tool worthless.
Avoid unbranded replacement batteries, which are a genuine fire risk.
What to avoid entirely
Anything with a damaged or taped cable.
Ladders and access equipment, where the history is unknown and the failure mode is a fall.
Safety equipment of any kind, including helmets, harnesses and respirators, which have service lives and unknown exposure.
Gas appliances and blowtorches.
Anything where the guard is missing, since the guard is part of the tool.
Where to look
Car boot sales and house clearances for hand tools, where the value is best.
Auction sites, where prices for collectable brands have risen but ordinary tools are still cheap.
Local selling groups, which allow inspection before buying.
Hire company ex-fleet sales, where machines are serviced and the history is known.
Retiring tradespeople, which is where whole kits of good tools come from.