Avoiding Overlapping Tools
Ambiguous, overlapping tools cause misrouting.
Why Routing Goes Wrong
When you give Claude a set of tools, the model has to pick the right one for each step. It does this by reading the tool descriptions, not by guessing from clever names.
If two tools sound like they do the same job, Claude faces a coin flip. Sometimes it picks the right one, sometimes the wrong one. This is called misrouting, and it is one of the most common reasons a well-built agent behaves unpredictably in production.
In this lesson you will learn how overlapping, ambiguous tools cause misrouting, and how to design clean, non-overlapping tools that route reliably.
Descriptions Are the Selection Mechanism
The key fact to internalize: tool descriptions are the primary selection mechanism. The model reads each description and chooses the tool whose stated purpose best matches the current task.
A good description includes:
- Purpose — what the tool does
- Return values — what it gives back
- Input formats — with concrete examples
- Edge cases and applicability boundaries — when NOT to use it
When two descriptions blur together, the boundaries disappear, and Claude can no longer tell them apart.
All lessons in this course
- Tool Descriptions Drive Selection
- Anatomy of a Great Description
- Avoiding Overlapping Tools
- Input Formats & Examples