Practice tool
Tool contract checker
Every tool an agent can call needs a contract. Paste yours as labelled lines (Name, Purpose, Inputs, Outputs, Side effects, Errors, Callers, Class, Limit) and see what is missing.
Check your contract
The checker looks for the fields and for a number and a place of enforcement on changing tools. It cannot tell whether the limit is the right one.