All notes
In this note (5 sections)
Tool Design May 13, 2026Updated Jul 6, 2026 8 min

Your agent called the wrong tool.

Last updated on Jul 6, 2026

Fix the description. Not the agent.

Introduction

I see this in almost every tool-calling audit. The agent called search_orders when it should have called get_order_by_id. The team reaches for a bigger model. The fix is usually a one-line description change.

Tool descriptions are prompts. The model scores candidate tools against names and descriptions, not against your internal API documentation. The full treatment is in tool descriptions are prompts.

Rule 1: Name tools precisely

Vague names produce wrong guesses. search is not a tool name. search_customer_orders_by_email is. The name should tell the model what verb and what object.

Rule 2: Describe when to use each tool

Every description needs a "when to use" trigger. That is what the model scores against. "Use when the user provides an order ID and wants status." Not "Gets order information."

Pair this with the tool contract rules in your agents are not broken, your tools are: atomic, typed, honest on failure.

Rule 3: Load only what the task needs

Twenty tools in the registry when the task needs three is how you get wrong selections and bloated context. Dynamic tool loading by intent (router agent classifies, then loads a subset) cuts both errors and tokens.

Model routing for the classifier step belongs on Tier 1. See stop paying frontier prices.

Conclusion

Better descriptions create better decisions. Audit your registry before you audit your prompt.

Key takeaways

  • 1When an agent picks the wrong tool, the registry is broken — not the agent.
  • 2Clear, specific tool names correct decisions; vague names produce wrong guesses.
  • 3Every tool description needs a "when to use" trigger — that's what the model scores against.
  • 4Load only the tools the task needs. Too many tools loaded = confusion + token waste.
  • 5The tool is not the problem. Better descriptions create better decisions.

Frequently asked questions

Work with me

Need help shipping this in production?

I help teams design agent architectures, RAG pipelines, and production guardrails on consulting engagements.

Tool registry consulting Agentic AI training programs
Tags
#ToolDesign#AIAgents#ToolSelection#MCP#PromptEngineering#Production

Get the visual notes by email

New agentic AI notes and breakdowns, plus what I am shipping for clients, one email on Thursdays.