A diagnostic spanner was an engineering tool in use by Starfleet engineers in the 22nd century.
In 2152, Commander Charles Tucker III was using a diagnostic spanner to monitor the matter-antimatter stream in the Enterprise (NX-01)'s intermix chamber. (ENT novel: Daedalus)