Problem
retrieve_tools mode has a blind-search problem: the agent sees only meta-tools and has no idea what upstream tools exist until it guesses a query. direct mode dumps all schemas upfront, eating 30K+ tokens for ~100 tools.
There's no middle ground: let the agent see all tool names + descriptions, but defer inputSchema until needed.
Proposal
Add routing_mode: "schema_deferred":
tools/list returns all upstream tools with name + description, but inputSchema set to {}
- Agent calls the existing
describe_tool(name) to get the full schema when it's ready to use a specific tool
- No new execution primitives needed —
describe_tool and call_tool_* already exist
Config:
That's it. One mode, one behavior change.
Why
- Agent gets full visibility into available tools (no blind search)
- Context cost drops from ~30K to ~3.5K tokens for 100 tools (~88% reduction)
- One extra
describe_tool round-trip per tool call — acceptable trade-off
Proposed solution
Industry precedent
Alternatives considered
No response
Which edition?
Personal
Pre-submission checklist
Problem
retrieve_toolsmode has a blind-search problem: the agent sees only meta-tools and has no idea what upstream tools exist until it guesses a query.directmode dumps all schemas upfront, eating 30K+ tokens for ~100 tools.There's no middle ground: let the agent see all tool names + descriptions, but defer
inputSchemauntil needed.Proposal
Add
routing_mode: "schema_deferred":tools/listreturns all upstream tools withname+description, butinputSchemaset to{}describe_tool(name)to get the full schema when it's ready to use a specific tooldescribe_toolandcall_tool_*already existConfig:
{ "routing_mode": "schema_deferred" }That's it. One mode, one behavior change.
Why
describe_toolround-trip per tool call — acceptable trade-offProposed solution
Industry precedent
LoadMcpTool(name)for schema on demand. ([blog](https://www.alibabacloud.com/blog/stop-feeding-your-model-every-tool-definition_603401))Alternatives considered
No response
Which edition?
Personal
Pre-submission checklist