arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.23707

Tool Recommendation for Multi-Step Agents: Finding Every Tool a Task Needs

Sam Partee, River Stevens, Thierry Damiba, Valerie Fanelle

Abstract

A multi-step agent task fails when a single tool it needs is missing, yet the tools an agent may need are too many to list: the roughly 8,200 tools on the platform we study have definitions that together exceed the context window of any model we evaluate. We present Tool Recommendation, a deployed system that gives an agent all of them, hundreds of times more than a typical MCP server exposes, through a fixed interface of three tools. It runs at the gateway between agent and tools, executing every call under the end user's own credentials and checking it against the user's consent for each service and the tools the agent may use. We evaluate it on both a public retrieval benchmark and billed end-to-end session cost. On ToolRet, Tool Recommendation places every tool a query needs in the top ten 57% more often than BM25, a lexical ranking that commercial tool search offers, and compares favorably with published systems up to nine times its size. In paired multi-step workflows, its first recommendation covered every required tool in 93% of Codex sessions, and against a fixed list of 100 tools it cut input tokens by 17% with Codex and 40% with Claude Code and the total bill in all 14 runs, by up to 40%, with no change in task completion.

1 Introduction

Tool calling has become the standard interface through which large language model (LLM) agents act in the world (Schick et al., 2023; Qin et al., 2024; OpenAI, 2023). Coding agents work with a handful of tools, such as a file system and a shell, whereas agents that carry out general enterprise work must reach many applications, each exposing many tools. The Model Context Protocol (MCP) made this practical by replacing a custom integration for each application with a single protocol that any MCP client can use (Anthropic, 2024).

However, an agent can invoke only the tools whose definitions it has been given. Connecting

Figure

Figure 1: Two ways to give an agent tools: a static list and Tool Recommendation.

five common MCP servers (GitHub, Slack, Sentry, Grafana and Splunk) loads 58 tool definitions totalling about 55K tokens before the first user turn (Anthropic, 2025a). In enterprise deployments, a gateway often sits between agents and these servers. It presents their tools behind a single endpoint and handles authorization and governance centrally (Saha et al., 2026).

Arcade, the platform this work comes from, is a runtime that executes the tool calls of enterprise AI agents and includes such a gateway. It authorizes each tool call against both the calling user's permissions and the agent's scope. It provides its own catalog of tools as well as the custom tools each organization registers. Organizations give each agent a chosen set of these tools through an Arcade MCP gateway, which works with any MCP client. At the time of our evaluation, Arcade's public catalog contained about 8,200 tools whose definitions total roughly 1.76M tokens, far more than is practical to send on every request.

To let agents work across the applications an enterprise uses, organizations must choose which tools each agent sees, and each common choice gives something up. A curated list keeps requests small but limits the agent to the tasks the list anticipates. The median Arcade gateway is created with 30 tools, under 0.4% of the full catalog. A longer list widens reach but raises the cost of every request, since each definition is sent again on every turn, and selection accuracy can fall as the list grows (Anthropic, 2025b; Kate et al., 2025). Fine-tuning a model on its tools teaches it when and how to call them (Patil et al., 2024; Qin et al., 2024; Wang et al., 2025), but it assumes a fixed tool set. Enterprise tool sets are not fixed. Providers add and change tools, and each organization registers its own, so a curated list or a fine-tuned model falls behind the catalog it was built from. Arcade's catalog, for example, can change daily. An agent therefore needs the whole catalog, at lower cost than a static list, without training on each organization's tools.

Several deployed systems now take a different approach, in which the agent searches the catalog and calls what it finds (Figure 1). Microsoft’s Azure AI Foundry ships it as a pair of meta-tools (Balaji and Sathe, 2026), PayPal runs it in production across more than 2,000 tools (Saha et al., 2026), and two research systems for MCP servers, RAG-MCP and MCP-Zero, publish variants (Gan and Sun, 2025; Fei et al., 2025). Anthropic and OpenAI offer deferred loading, which keeps definitions out of the model’s context even though the client still sends every definition on every request (Anthropic, 2025b; OpenAI, 2026). Search gives an agent the catalog without training on it, but the agent can then do only what the search returns. Its quality bounds the agent, and retrieval errors already account for nearly half of all failures in a live-server benchmark of 527 tools (Mo et al., 2025).

The published evaluations of these systems measure one side of the design at a time. Vendor reports count the tokens a system avoids sending (Anthropic, 2025a; Balaji and Sathe, 2026; Saha et al., 2026), but token reductions predict billed cost poorly, in large part because prompt caching dominates the bill (Weinberger and Hozez, 2026). Recommendation quality is reported less often: PayPal evaluates on a 49-query internal benchmark, and Microsoft publishes Recall@10 by category on ToolRet, a public benchmark (Shi et al., 2025). We report both for a single deployed system.

In this work, we present Tool Recommendation, Arcade’s capability for giving agents the full catalog through a small, fixed interface. The agent receives three tools instead of a tool list. It describes a task to SelectTools and receives the definitions of the tools that task needs, then runs them through UseTool under the calling user’s own authorization. ListApps tells the agent which applications it can reach. The system recommends from Arcade’s public catalog and the tools an organization registers. We frame the problem as recommendation rather than retrieval alone: the system matches tasks to tools as a recommender matches users to items, over a catalog that changes daily.

We evaluate whether it finds every tool a task needs, and what it costs. On ToolRet (7,961 queries over 44,453 tools), it places every needed tool in the top ten for 45.2% of queries, against 28.8% for BM25 (Robertson and Zaragoza, 2009), and in end-to-end Codex sessions its first recommendation covered every tool the workflow required in 304 of 327 sessions. In paired, end-to-end runs of multi-step enterprise workflows against a 100-tool static list, it lowered input tokens by 17% with Codex and 40% with Claude Code, and the total bill by 13.6% across both clients, with every run cheaper and no change in task completion.

Our contributions are as follows. (i) We describe Tool Recommendation, a deployed system that serves an 8,200-tool catalog through three tools, without fine-tuning on customer tools. It runs at the gateway rather than in the client, where it executes every call under the end user's own credentials and authorizes it per service and per tool (§2). (ii) We evaluate whether it finds every tool a task needs, with Completeness@10 and Recall@10 on ToolRet, as lift over BM25 and against published systems, and in end-to-end sessions (§4.1). (iii) We measure session cost on two agent clients in paired, end-to-end evaluations priced at list rates, and characterize when recommendation lowers cost and when a static list remains cheaper (§4.2, §4.3).

References (21)