Agentscore
Tool design
Tools are an API for a model: few, clearly named, well described, hard to misuse.
What it is and why it exists
Models pick tools from their names, descriptions and parameter schemas. Good tools map to user intents (search_orders, not run_sql), have unambiguous parameters with examples, return concise results, and fail with errors that explain how to fix the call.
Quick prototype
Wrap every internal endpoint as a tool.
In production, at scale
A small set of high-level tools, consistent naming, enums instead of free strings, pagination and truncation of large results, idempotency keys on side effects, and tool-use evals (did it pick the right tool with the right arguments).
Vendors and tools
| Anthropic “writing tools for agents” guidance | Tool design practices |
|---|---|
| MCP servers | Reusable tool packages |
How it fails
- Thirty overlapping tools → wrong choice
- A tool that returns 50k tokens of JSON
- Parameters named id and id2
What the interviewer asks next
A tool keeps being called with the wrong argument. What do you change?
The description and schema before the prompt: name the parameter for what it is, give an example value, use an enum where possible, and make the error message say what valid input looks like.