Design tools an agent uses well
End up with a short list of tools, each with a name, a description, inputs and outputs, that an agent picks correctly and fills in correctly.
Start from what people ask
With what people ask your product to do, in their words. Write the requests down before you open your code. "Find the note about the launch." "Add a note." Each tool you make should finish one of these.
- Starting from your code gives one tool for every function you already have.
- How does a request become a tool? Ask what the agent must do to finish the request, start to end.
Keep the list short
As few as finish the requests you wrote down. Anthropic's article says more tools do not always lead to better outcomes. OpenAI suggests fewer than 20 available at the start of a turn, and calls that a soft suggestion.
- Every tool is one more thing the agent has to choose between.
- What should I leave out? A tool that can do anything.
- Can two tools become one? Yes, when they do parts of the same job.
Name each tool plainly
A verb and the thing it acts on, such as search_notes or add_note. Use only letters, digits, underscore, hyphen and dot. No spaces and no commas. Keep it to 64 characters or fewer.
- The specification allows names up to 128 characters.
- What if I have many tools? Start related tools with the same word, such as notes_search and notes_add.
- Does a tool need a title? Yes.
Describe it for a newcomer
What the tool does, when to use it and what comes back. Write it the way you would explain the tool to a new colleague. Claude's documentation says to aim for at least three to four sentences, more if the tool is complex, and calls detailed descriptions the most important factor in how well a tool works.
- How long can it be? As long as it needs, with what matters most first.
- What should it leave out? Orders to the agent.
Make wrong input hard
Name it for exactly what it holds, and give it one sentence that says what to put in, with an example. Anthropic's example: use user_id, not user. An input with no description leaves the agent to guess.
- How do I stop values that cannot be right? Let the schema refuse them.
- What if the tool takes nothing? It still needs a schema.
Return what comes next
Only what the agent can use: words a person would recognise, and the identifier the next call needs. Give every identifier a readable name beside it. OpenAI's page says to return stable identifiers and enough information for follow-up calls.
- This site's search returns an id and a title for each match.
- How much should it return? A bounded amount.
- Should I declare the output? Yes, with outputSchema.
Make errors say what to do
What went wrong and what to try next, in plain words. Anthropic's article asks for specific and actionable improvements, not opaque error codes.
- This site's error for an unknown guide repeats the id it was given, lists the guides that exist and names the tool that describes them.
- How is an error sent back? As a normal result marked isError: true.
- What if nothing was found? Say so, and say what to try.
Say what each tool changes
A true-or-false field on a tool that says what a call can change. There are four: readOnlyHint, destructiveHint, idempotentHint and openWorldHint. Claude's connector directory asks for readOnlyHint: true on tools that only read, and destructiveHint: true on tools that change or delete data.
- idempotentHint means that calling again with the same input changes nothing more.
- What if I leave the hints out? The defaults assume the worst: the tool is taken to change things, and to be destructive.
- Does a hint make a tool safe? No.
Check the list
Give the list to check_tools on this site's connector. Send each tool as it is: name, title, description, inputSchema, outputSchema and annotations. It returns findings. Each finding names the tool, the rule and what to change. The list is ready when ready is true.
- What does it look for? The mistakes the steps before this one warn about, in names, titles, descriptions, inputs, hints and the size of the list.
- Is a clean check enough? No.
Sources
Connected guides
Explore the journey Make a guide.
View this guide on the mapUse your agent
Choose where you want to work. Once you connect, try the question below before sharing documents. See all agents and setup methods
Claude.ai
In Plugins, select Add, then Add custom connector. Paste this Server URL, select Continue, choose No sign-in, then select Add and Try in chat.
https://app.guides.hopperlabs.ai/api/mcp/design-toolsChatGPT
In Plugins, select Add, then Add custom MCP server. Paste this Server URL, choose No authentication, select Create as a plugin, then Connect and Try in chat. Your workspace must allow custom connectors.
https://app.guides.hopperlabs.ai/api/mcp/design-toolsCodex or Claude Code in my terminal
Run the command for your client and start a new chat. If Codex prints an OAuth registration notice for hopper-guides, ignore it—the public server is still saved and works without sign-in.
Codexcodex mcp add hopper-guide-design-tools --url https://app.guides.hopperlabs.ai/api/mcp/design-toolsclaude mcp add --transport http hopper-guide-design-tools https://app.guides.hopperlabs.ai/api/mcp/design-toolsUse my agent in the browser
Choose a guide with browser tools, or use a connector above to work from your own chat.
Open the tool-enabled readerTry the connection
Use the Hopper Guides connector to open the Design tools an agent uses well guide (ID design-tools). What should I have ready before the first step?Look for a HopperLabs tool call in your chat, followed by the guide or source it returned. View connector information