[Paper Review] ToolACE-MCP: Generalizing History-Aware Routing from MCP Tools to the Agent Web
ToolACE-MCP trains a history-aware router to navigate large MCP tool spaces and generalize to agent routing, achieving strong performance and robustness in MCP benchmarks.
With the rise of the Agent Web and Model Context Protocol (MCP), the agent ecosystem is evolving into an open collaborative network, exponentially increasing accessible tools. However, current architectures face severe scalability and generality bottlenecks. To address this, we propose ToolACE-MCP, a pipeline for training history-aware routers to empower precise navigation in large-scale ecosystems. By leveraging a dependency-rich candidate Graph to synthesize multi-turn trajectories, we effectively train routers with dynamic context understanding to create the plug-and-play Light Routing Agent. Experiments on the real-world benchmarks MCP-Universe and MCP-Mark demonstrate superior performance. Notably, ToolACE-MCP exhibits critical properties for the future Agent Web: it not only generalizes to multi-agent collaboration with minimal adaptation but also maintains exceptional robustness against noise and scales effectively to massive candidate spaces. These findings provide a strong empirical foundation for universal orchestration in open-ended ecosystems.
Motivation & Objective
- Motivation to enable scalable, generalizable routing in open Agent Web ecosystems with millions of MCP tools and agents.
- Develop a history-aware router that leverages multi-turn interaction context rather than static matching.
- Create a plug-and-play Light Routing Agent to integrate routing with execution in diverse architectures.
- Demonstrate robustness to noise and scalability to large candidate spaces.
- Show cross-domain transferability from tool routing to agent routing without extensive retraining.
Proposed method
- Construct a Candidate Graph by encoding candidate specifications and linking semantically similar ones via cosine similarity.
- Apply Self-Evolutionary Mutation to generate new candidate variants and expand the graph with mutation relationships.
- Perform Trajectory Synthesis by random-walk sampling on the graph and simulating multi-agent interactions to create history-rich supervision signals.
- Train a history-aware router to predict the best candidate c from candidate space C given query Q and history H using supervised signals derived from the synthesized trajectories.
- Introduce the Light Routing Agent as a minimal wrapper around the trained router, decoupling routing from execution tools and enabling plug-and-play integration.
- Evaluate on MCP-Universe and MCP-Mark benchmarks, and test generalization to agent routing with an Agent Bank benchmark.
Experimental results
Research questions
- RQ1Can a history-aware router trained on a synthesized, graph-expanded candidate space outperform stateless embedding retrieval and monolithic tool selection in MCP-era benchmarks?
- RQ2Does self-evolutionary mutation and trajectory-based supervision improve discriminability among semantically similar tools and agents?
- RQ3Can a light routing agent generalize routing decisions from tool provenance to agent-level orchestration in open-ended ecosystems?
- RQ4How robust is the router to noise and large-scale candidate spaces typical of the Agent Web?
- RQ5What is the impact of including interaction history on routing accuracy and failure recovery?
Key findings
- The router consistently outperforms embedding-based and ReAct baselines on MCP-Universe and MCP-Mark benchmarks.
- An 8B-parameter specialized router can surpass large generalist models (e.g., GPT-4o, Gemini-2.5-Pro) in tool routing tasks.
- History-aware routing provides significant gains over history-agnostic baselines (e.g., MCP-Universe from 48% to 53%).
- ToolACE-MCP maintains strong accuracy when scaling to larger candidate spaces and when facing noisy or mutated tool sets.
- The approach generalizes from tool routing to agent routing, achieving high accuracy in an Agent Route Benchmark (91.6%).
- The Light Routing Agent enables a lightweight, plug-and-play integration that sustains performance without injecting large tool descriptions at inference time.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.