Load fewer tools · a StackOne feature
Load tools when needed
Instead of sending every tool definition on every request, the agent sees a search tool and loads the few definitions a task needs. StackOne's Tool Gateway MCP does this with Advanced Tool Search, on by default; several harnesses also offer their own tool search for tools defined in code.
3.8x cheaper per request than loading every tool, across 824 tasks; Anthropic reported over 85% fewer tool-definition tokens with its tool search. StackOne benchmark
Where it fits
Tool Gateway MCP, or the SDK's own tool search.
Add https://mcp.stackone.com/mcp; Advanced Tool Search is on by default
Claude Code and Cursor do it by default.
Add https://mcp.stackone.com/mcp; Advanced Tool Search is on by default
One Tool Gateway MCP server exposes two tools.
Add https://mcp.stackone.com/mcp; it exposes 2 tools and finds the rest
One MCP server with Advanced Tool Search in n8n.
MCP Client Tool pointed at https://mcp.stackone.com/mcp
The setting in each harness
Read on each vendor's own page, linked next to the setting.
| Harness | Setting |
|---|---|
| Claude API and Agent SDK |
|
| OpenAI Responses and Agents SDK |
|
| Vercel AI SDK |
|
| Mastra | ToolSearchProcessor mastra.ai, read 30 Nov 2026 |
| Pi | On by default MCP tools default to codemode exposure, so scripts find them with |
| Claude Code | On by default Tool search defers MCP tools ( |
| Cursor | On by default Dynamic context discovery gives the agent tool names and loads definitions from files cursor.com, read 30 Nov 2026 |
| Codex | On by default Models with tool search defer MCP tools and find them with BM25 github.com, read 30 Nov 2026 |
| OpenCode | On by default With Code Mode on, which it is by default for MCP servers, the model finds tools with |
| Glean | On by default Tool search hands agents a small set of the MCP tools that fit each request glean.com, read 30 Nov 2026 |
| Claude | On by default Tool access "Auto" loads connectors as needed; "On demand" defers every connector support.claude.com, read 30 Nov 2026 |
Not offered
-
ChatGPT loads every tool an app exposes up front; tool search is API-only
github.com, read 30 Nov 2026