MCP
A Claude API tool that lets the model discover and load tool definitions on demand instead of having every tool's schema in its context window from the start.
A Claude API tool that lets the model discover and load tool definitions on demand instead of having every tool's schema in its context window from the start. You mark tools with defer_loading: true, and Claude searches the catalog by name and description, using either regex or BM25 variants, then loads only the few it needs. Anthropic reports this typically cuts tool-definition tokens by over 85 percent and keeps selection accuracy high, which otherwise degrades past 30 to 50 tools. It is especially useful for agents connected to many MCP servers.
Primary source: platform.claude.com
Example
In practice, developers reach for Tool Search when they need the capability described above as part of an AI feature or workflow.
Hands-on guides, comparisons, and tutorials that cover MCP.
FAQ
A Claude API tool that lets the model discover and load tool definitions on demand instead of having every tool's schema in its context window from the start.
Tool Search sits in the MCP part of the AI stack. Understanding it helps you make better decisions when building, debugging, and shipping AI features.
Developers Digest publishes tutorials and videos that cover MCP topics including Tool Search. Check the blog and YouTube channel for hands-on walkthroughs.
Related
MCP tool poisoning is an attack where a malicious MCP server hides instructions in a tool's description, which the model reads but the user usually never sees.
An application that connects to MCP servers to use the tools, resources, and prompts they expose.
A function exposed by an MCP server that an AI agent can call to perform an action.

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.