How are you trying to repair it?
From what I remember, you need to put the tool in the tool station/forge, and then place an ingot of the head material in. This should repair it.
If you're using other miscellanious tool materials, you have to use that material to repair aswell iirc.