The Research Report
Progressive Tool Disclosure Goes Mainstream: How Hermes Agent and FIM One Solved the Context Window Crisis
Two major agent frameworks independently converged on the same pattern — and the numbers are staggering.
In early 2026, a quiet crisis was brewing inside every AI agent connected to more than a handful of MCP servers. The Model Context Protocol had succeeded beyond anyone's expectations — over 10,000 enterprise MCP servers and 97 million SDK downloads by April — but that success created a problem nobody fully anticipated: tool schemas were eating context windows alive.
A typical deployment with five MCP servers and 34 tools consumed roughly 45,000 tokens per turn. Of those, approximately 22,000 — nearly half — were pure tool schema overhead, injected whether the model needed them or not. Anthropic's own engineering data showed tool definitions could consume 134,000 tokens before optimization. Research from the Tool Attention paper (arXiv 2604.21816) measured the "MCP Tools Tax" at 15,000–60,000 tokens per turn for typical multi-server deployments.
The problem wasn't just cost, though at $3 per million input tokens, that overhead added up fast. The real damage was cognitive. When a model must evaluate hundreds of tool options on every turn, it spends attention on irrelevant schemas — and that attention comes directly out of its ability to reason about the user's actual request. Anthropic's internal benchmarks told the story: Opus 4 with all tools preloaded scored just 49% on tool-selection accuracy. With progressive disclosure, that number jumped to 74%.
Now two major projects — Hermes Agent (NousResearch, 196K GitHub stars) and FIM One (fim-ai/fim-one, 1,255 stars) — have independently shipped production implementations of the same solution: progressive tool disclosure. Load stubs upfront. Expand on demand. Never pay for context you don't use.
The convergence is real, and it's telling. When two very different teams — one building the most-starred open-source agent on GitHub, the other building an enterprise connector hub for cross-border business — arrive at the same architecture independently, you're looking at a genuine paradigm shift, not a coincidence.
The Problem: Context Window Bloat
To understand why progressive disclosure matters, you have to understand the math of tool schemas.
Every MCP tool requires a definition: name, description, and a JSON Schema specifying its input parameters. A well-documented tool with proper parameter descriptions typically consumes 500–1,500 tokens. That seems manageable for one or two tools. But enterprise deployments don't have one or two tools. They have dozens, sometimes hundreds:
| Toolset Size | Initial Token Consumption |
|---|---|
| 40 tools | 43,300 tokens |
| 100 tools | 128,900 tokens |
| 200 tools | 261,700 tokens |
| 400 tools | 405,100 tokens |
At 200 tools, you've exceeded Claude's context window. At 400, you've doubled it. These numbers come from Speakeasy's benchmarks and are consistent with production data from both Hermes and FIM deployments. A single Salesforce connector with 15 actions generates about 3,000 tokens of schema. Five connectors with 20 actions each? 15,000 tokens just in legacy mode. And these numbers are before the user has typed a single word.
The problem compounds in three distinct ways:
Cost. Long inputs get charged on every turn, and tool catalogs persist on every turn. Prompt caching helps but doesn't eliminate the bill, especially when catalogs change across sessions. Cache-miss generations at session start can cost $0.07–$0.10 per turn.
Accuracy degradation. Research consistently shows that LLM decision-making degrades when presented with too many tools. A 2024 study ("Less is More: Optimizing Function Calling for LLM Execution on Edge Devices") identified a threshold around 20–25 tools where accuracy begins to decline measurably. The mechanism is straightforward: relevant tools buried under dozens of irrelevant ones get used less reliably, a pattern consistent with Stanford's lost-in-the-middle findings.
Security blast radius. April 2026 MCP security audits found that 43% of public MCP servers had at least one vulnerability, and 5.5% already shipped with poisoned descriptions in the wild. Preloading every tool definition means every poisoned description enters context every session — the worst possible substrate for prompt-injection mitigation.
Hermes Agent's Tool Search: Three Bridge Tools
Hermes Agent's approach, merged in PR #31163 by teknium1, replaces all MCP and non-core plugin tool schemas in the model-visible tools array with three lightweight "bridge" tools:
tool_search(query, limit?)— search the deferred-tool catalog using BM25 retrievaltool_describe(name)— load the full schema for one specific tooltool_call(name, arguments)— invoke a deferred tool
The flow is elegant in its simplicity. When a model needs to create a GitHub issue, it doesn't need 34 GitHub tool schemas in context. It calls toolsearch("create a github issue"), gets back a ranked list of matches, calls tooldescribe("mcpgithubcreateissue") to load just that one schema, then calls toolcall("mcpgithubcreate_issue", {...}) to execute. Three round trips, but only the schema the model actually needs ever enters the context window.
The implementation includes several design decisions that reflect production hardening:
Core tools never defer. Hermes's core capability set (terminal, readfile, writefile, patch, search_files, etc.) is always loaded directly. Only MCP and non-core plugin tools are eligible for deferral. This addresses the regression class where "tools silently disappear from isolated cron turns" — by construction, there is no code path that can drop a core tool.
Stateless catalog. The tool catalog rebuilds from the current tool-defs list on every assembly, with no session-keyed Map. This prevents the class of bug where a stored catalog drifts out of sync with the live tool registry.
Transparent unwrapping. When the model invokes tool_call, Hermes unwraps the bridge and dispatches the underlying tool. Pre-tool-call hooks, guardrails, approval prompts, and post-tool-call hooks all run against the real tool name — not the bridge. The activity feed shows the underlying tool, not the wrapper.
Auto-mode threshold. Tool Search activates only when deferrable tool schemas would consume at least 10% of the active model's context window. Below that, the tools array is a pure pass-through with zero overhead. This means small toolsets never pay the bridge-tool tax, and the decision is re-evaluated on every turn.
The retrieval layer uses BM25 over tokenized tool names, descriptions, and parameter names, with a literal substring fallback that protects against zero-IDF degenerate cases (like searching "github" against a catalog where every tool name contains "github").
The accuracy numbers, validated against Anthropic's internal MCP evaluations, are the headline:
- Claude Opus 4: 49% → 74% accuracy (25 percentage point improvement)
- Claude Opus 4.5: 79.5% → 88.1% accuracy (8.6 percentage point improvement)
These improvements came not from better models but from showing models fewer, more relevant tools.
FIM One's Progressive Disclosure: Stubs First, Expand on Demand
FIM One takes a broader approach. Rather than limiting progressive disclosure to MCP tools, it applies the pattern uniformly across five resource types: Skills, API Connectors, Database Connectors, MCP Servers, and Built-in Tools. Each uses the same two-tier architecture:
Tier 1 — Stubs in the system prompt. Lightweight summaries: a name, a short description, and enough metadata (action count, table count, tool count) for the LLM to decide whether it needs more detail.
Tier 2 — Full details on demand. The LLM calls a meta-tool to retrieve complete schemas, parameters, and execution capabilities. The full detail enters the conversation as a tool result message — scoped to that turn, not permanently occupying the system prompt.
This is a critical architectural distinction. Full tool schemas in FIM One are conversation-scoped, not prompt-scoped. They appear as tool result messages that the context management system can summarize or truncate in later turns. System prompt content, by contrast, persists across the entire conversation at full size.
The savings are dramatic. A deployment with 10 Skills averaging 2,000 tokens each consumes approximately 300 tokens in progressive mode (stubs only) versus 20,000 tokens in inline mode — a 98% reduction in persistent context cost. Five API connectors with 15 actions each: approximately 250 tokens progressive versus 15,000 tokens in legacy mode.
FIM One's disclosure mechanisms are tailored to each resource type:
| Resource | Meta-Tool | Stubs Show | On-Demand Returns |
|---|---|---|---|
| Skills | read_skill |
Name + 120-char description | Full SOP content + scripts |
| API Connectors | connector |
Name + action list | Full schemas with parameters |
| Database Connectors | database |
DB name + table names + counts | Column schemas, SQL execution |
| MCP Servers | mcp |
Server name + tool list | Full tool schemas + invocation |
| Built-in Tools | request_tools |
Compact catalog (name + 80-char desc) | Full schema injected into session |
Built-in tools use a slightly different mechanism: they auto-activate progressive disclosure when the tool count exceeds 12, switching from direct exposure to a compact catalog that expands on request.
Each resource type has a legacy/inline mode for backward compatibility and a progressive mode as the default. The configuration is explicit:
SKILL_TOOL_MODE=progressive # or inline
CONNECTOR_TOOL_MODE=progressive # or legacy
DATABASE_TOOL_MODE=progressive # or legacy
MCP_TOOL_MODE=progressive # or legacy
The Convergence: Why Both Arrived at the Same Answer
The independent convergence of Hermes Agent and FIM One on progressive disclosure isn't coincidental. It's the inevitable result of three forces colliding:
MCP's success created the problem. The Model Context Protocol made it trivially easy to connect agents to external tools. When connecting is easy, you connect more tools. When you connect more tools, schemas multiply. When schemas multiply, context windows fill. The protocol's success directly created the scaling problem.
Context windows aren't growing fast enough. Even as models expanded from 128K to 200K tokens, tool catalogs grew faster. A single enterprise MCP server with 400 tools consumes over 400,000 tokens — twice Claude's maximum context. You can't solve this by making windows bigger; you solve it by putting less in them.
The accuracy signal was too strong to ignore. Anthropic's data showing a 25-point accuracy swing on Opus 4 wasn't a marginal improvement. It was the difference between a model that barely functions (49% on tool selection) and one that's genuinely useful (74%). When the same technique that saves you money also makes your model dramatically more accurate, adoption becomes inevitable.
Both implementations share the same core insight: the model doesn't need to know how to call every tool at all times. It needs to know what tools exist (discovery) and how to call the specific tool it's chosen (invocation). These are fundamentally different operations with fundamentally different context requirements. Discovery needs a lightweight index; invocation needs a full schema. Conflating them — as the naïve approach does — is the root cause of the bloat.
The Trade-offs That Don't Go Away
Both projects are refreshingly honest about the costs of progressive disclosure. Hermes's documentation explicitly lists trade-offs that "come from the prompt-cache integrity invariant" and are "inherent to any progressive-disclosure design, not specific to this implementation":
One extra round trip on cold tools. The first time a model needs a deferred tool, it spends one or two extra model calls to find and load the schema. The token savings on the static side are real, but a portion is paid back at runtime.
No cache benefit on deferred schemas. A loaded tool_describe result enters conversation history and gets cached on subsequent turns, but it never benefits from the system-prompt cache prefix. This is the fundamental tension: the most efficient place for context is the system prompt cache, but that's exactly where you don't want unused tool schemas.
Model-quality dependence. Tool Search assumes the model can write a reasonable search query for the tool it wants. Smaller models do this less well. The Anthropic numbers (49% → 74% on Opus 4) show the upside but also that 26 points of accuracy loss is still retrieval failure. Progressive disclosure works best with models capable of reliable intent-to-query translation.
Toolset edits invalidate cache. Adding or removing a tool mid-session changes the bridge tools' descriptions and the catalog, invalidating the prompt cache. This is the same trade-off as any toolset edit, but it's worth noting.
FIM One's documentation adds another dimension: progressive disclosure works best when the model can make good decisions from stubs alone. If a model needs to see full parameter schemas to decide whether to use a tool, the two-tier architecture breaks down. In practice, for most well-named tools (like getcontacts or createissue), stubs provide enough signal. For poorly named or ambiguous tools, the model may need to discover and describe before it can even decide — adding yet another round trip.
The Broader Ecosystem
Hermes Agent and FIM One aren't alone. The pattern has become a standard topic in MCP engineering discussions:
- LangChain published a support article on progressive tool disclosure with deep agents, noting that "when an agent has access to many tools (30+), sending all tool definitions on every model call creates significant context bloat."
- Microsoft's agent-framework merged PR #6233 adding progressive tool exposure via
FunctionInvocationContext. - Solo.io published a detailed blog post on MCP progressive disclosure with token savings benchmarks.
- The awesome-agentic-patterns repository catalogs progressive tool discovery as an "established" pattern.
- The MCP Birthday Hackathon produced a reference implementation of the two-stage pattern (minimal listing + on-demand schema retrieval) that demonstrated the concept's viability.
- Artificial Curiosity Labs documented the "meta-tool pattern" showing a 200-tool MCP setup dropping from 150–220K tokens at session start to ~2,000 tokens — a 98–99% reduction — using just two meta-tools:
discovertools(query)andcalltool(name, args).
The Wire blog's analysis frames progressive tool loading as "the new MCP context pattern," noting that Anthropic's code-execution-with-MCP write-up now positions this as the default pattern for new servers. The technique works on the current MCP spec because MCP already separates discovery from invocation. What changed in 2026 was the assumption that every client should serialize discovery results into one big system prompt.
What This Means for Agent Builders
If you're building or deploying AI agents with MCP integrations, progressive tool disclosure is no longer optional at scale. Here's the practical takeaway:
Start measuring your tool tax. Before implementing anything, measure how many tokens your tool schemas consume per turn. If it's under 10% of your context window, you may not need progressive disclosure yet. If it's over 20%, you're already paying significant accuracy and cost penalties.
Choose your implementation based on your stack. If you're on Hermes Agent, enable tool_search with auto mode and let the threshold gate handle activation. If you're on FIM One, progressive disclosure is the default across all five resource types. If you're building custom, the two-meta-tool pattern (discover + call) documented by Artificial Curiosity Labs is the simplest starting point.
Account for the round-trip cost. Progressive disclosure saves tokens on static context but adds round trips. For latency-sensitive applications, consider caching recently-used tool schemas in the conversation history rather than re-discovering them each turn. Both Hermes and FIM do this — schemas loaded via tool_describe or connector discover enter the conversation and benefit from multi-turn caching.
Name your tools well. Progressive disclosure depends on the model's ability to search for tools by intent. Tools named mcpgithubcreateissue are discoverable. Tools named op37 are not. The naming tax has always existed, but progressive disclosure makes it consequential.
Watch the model quality dependency. The 49% → 74% accuracy improvement on Opus 4 is real, but so is the 26-point gap. Smaller models may struggle with the search-query step. If you're running a smaller model, consider forcing full disclosure for critical toolsets and deferring only the long tail.
The Bottom Line
Progressive tool disclosure isn't a new idea — it's a design pattern that's been discussed in academic literature and blog posts for over a year. But 2026 is the year it crossed from theory to production deployment in two of the most important open-source agent frameworks.
Hermes Agent merged it as a core feature with BM25 retrieval, auto-threshold activation, and explicit core-tool protection. FIM One shipped it as the default mode across five resource types with uniform two-tier architecture and per-resource configuration. Both arrived at the same conclusion independently: context windows are too expensive and too important to waste on tool schemas that 90% of the time won't be used.
The numbers speak for themselves. A 98% reduction in persistent context cost. A 25-point accuracy improvement on one of the most capable models available. An 85% reduction in tool-definition token usage. These aren't marginal gains. They're the difference between an agent that works and an agent that drowns in its own tool catalog.
As MCP adoption continues to accelerate and tool catalogs continue to grow, progressive disclosure isn't just a best practice — it's becoming the only practice that scales. The question isn't whether to implement it. The question is how quickly you can.
Sources and Further Reading:
- Hermes Agent Tool Search documentation: hermes-agent.nousresearch.com/docs/user-guide/features/tool-search
- Hermes Agent PR #31163 (progressive tool disclosure): github.com/NousResearch/hermes-agent/pull/31163
- FIM One Progressive Disclosure documentation: docs.fim.ai/architecture/progressive-disclosure
- FIM One repository: github.com/fim-ai/fim-one
- Anthropic Advanced Tool Use: anthropic.com/engineering/advanced-tool-use
- MarkTechPost coverage of Hermes Tool Search: marktechpost.com/2026/05/29/hermes-agent-ships-tool-search-for-mcp
- "Tool Attention" paper (MCP Tools Tax): arXiv 2604.21816
- Wire Blog: "Progressive tool loading is the new MCP context pattern": usewire.io/blog/progressive-tool-loading-mcp-context-pattern
- Matthew Kruczek: "Progressive Disclosure for MCP Servers: 85x Token Savings Benchmark": matthewkruczek.ai/blog/progressive-disclosure-mcp-servers
- Solo.io: "MCP Progressive Disclosure: Save Tokens, Retrieve Schemas": solo.io/blog/mcp-progressive-disclosure
- LangChain Support: "Progressive tool disclosure with deep agents": support.langchain.com
- Microsoft agent-framework PR #6233: github.com/microsoft/agent-framework/pull/6233
- Context Patterns: "Progressive Disclosure: Context Engineering Pattern": contextpatterns.com/patterns/progressive-disclosure
- Artificial Curiosity Labs: "The Meta-Tool Pattern": artificialcuriositylabs.ai/posts/mcp-progressive-proxy