Part 18 / Topic 5 of 6
Tool design
Models use tools exactly as well as the tools are designed:
- Names say what the tool does:
get_order_status, notapi_call_3. - Descriptions carry the contract: what it returns, valid inputs by example ("such as A1001"), when to use it — and when not.
- Few, composable tools beat many overlapping ones; overlapping tools make the model guess.
- Error messages teach: "No order with id Z9999" lets the model recover; "Exception: KeyError" does not.
- Least privilege: read tools free; write tools gated. Track D builds the allowlist-and-approval guard.
Done here? The practice set for Part 18 — 4 exercises with solutions — is on the part page.