You set the metal ring on the floor to detect magic and place a potion inside. It shines as it should, and then continues to shine until you remove it from the circle. Those of you without magical ability now have first-hand experience of what an aura looms like, whatever good that experience might be. Then you set it to construct diagnostics mode and use it on an effectively destroyed construct. In fact, there are more than one mode, so you cycle them all. By the end of this you have the following info:
1. It is a clockwork servant, a generic humanoid model, sapient, S/N SS13454-121.
2. It is currently non-operational. The malfinctioning parts are: <a rather long list>.
3. To repair it, replacing the following parts is recommended: <one part number> (you scratch your heads on this, then decide this must be the whole torso assembly).
4. The service manual for this model should be at shelf location 4.7 at this facility (you check the shelf in the next room, where there is such a number, but at the specified location there's nothing but dust).

Spoiler
Show
If you want more specific info, roll something apropriate (like engineering or clockwork) vs DC 10 to get it.