Skip to content
HopperLabsGuides
Menu

Part 2 of Make a guide

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.

  1. Starting from your code gives one tool for every function you already have.
  2. 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.

  1. Every tool is one more thing the agent has to choose between.
  2. What should I leave out? A tool that can do anything.
  3. 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.

  1. The specification allows names up to 128 characters.
  2. What if I have many tools? Start related tools with the same word, such as notes_search and notes_add.
  3. 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.

  1. How long can it be? As long as it needs, with what matters most first.
  2. 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.

  1. How do I stop values that cannot be right? Let the schema refuse them.
  2. 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.

  1. This site's search returns an id and a title for each match.
  2. How much should it return? A bounded amount.
  3. 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.

  1. 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.
  2. How is an error sent back? As a normal result marked isError: true.
  3. 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.

  1. idempotentHint means that calling again with the same input changes nothing more.
  2. What if I leave the hints out? The defaults assume the worst: the tool is taken to change things, and to be destructive.
  3. 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.

  1. 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.
  2. Is a clean check enough? No.

Sources

Connected guides

Explore the journey Make a guide.

View this guide on the map
Use 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-tools
Open Claude plugins
ChatGPT

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-tools
Open ChatGPT plugins
Codex 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.

Codex
codex mcp add hopper-guide-design-tools --url https://app.guides.hopperlabs.ai/api/mcp/design-tools
Claude Code
claude mcp add --transport http hopper-guide-design-tools https://app.guides.hopperlabs.ai/api/mcp/design-tools
Use my agent in the browser

Choose a guide with browser tools, or use a connector above to work from your own chat.

Try 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

Markdown version