Tool Descriptions
In this article
- Explain why a model picks the wrong tool when two tool descriptions overlap.
- Write a tool description that states purpose, when to use it, when not to, prerequisites, side effects and limits.
- Predict which tool a model is likely to pick for a request, before and after a rewrite.
- Spot what to leave out of a description, such as table names and backend services.
- Terms defined here: tool description.
Overview
Your support agent has three tools, each with a clean input schema that fixes which arguments it takes, and the arguments it writes are always valid. Yet a customer asks for everything they ordered, and the agent reaches for the tool that reads a single order. Nothing is broken in the code. The model chose between tools by reading a few words about each, and those words did not tell the tools apart.
You will learn what a model needs to read about a tool to choose it at the right moment: its purpose, when to use it, when not to, what must be true first, what it changes, and where it stops. You will rewrite three overlapping descriptions, predict the pick for two requests before and after, and learn what to keep out of the text.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Three tools that look alike
- What the model reads
- Six things a description answers
- The rewrite
- What to leave out
- Predict, then check
- Sources
- Check yourself, 13 questions