TheMCPCompany: Creating General-purpose Agents with Task-specific Tools

Reza Esfandiarpoor, Vishwas Suryanarayanan, Stephen H. Bach, Vishal Chowdhary, Anthony Aue

TL;DR

TheMCPCompany is a new benchmark that evaluates LLM agents using the Model Context Protocol (MCP) across a massive suite of over 18,000 real-world enterprise tools. The study demonstrates that while task-specific tools drastically cut costs and boost performance compared to traditional web browsers, navigating thousands of APIs remains a severe bottleneck for current reasoning models in complex environments.

What Problem Does This Paper Address?

Most general-purpose AI agents currently interact with software environments through web browsers or code interpreters. While flexible, this approach is slow, expensive, and fragile. Anthropic’s Model Context Protocol (MCP) offers an alternative by allowing developers to expose raw APIs directly to LLMs as task-specific tools.

However, existing tool-calling benchmarks operate in highly artificial settings: they use small toolsets (fewer than 1,000 tools) and pre-select the relevant tools for the agent before the task even starts. In a real enterprise environment, an agent faces tens of thousands of APIs simultaneously. This paper addresses the dual challenge of tool retrieval (how an agent finds the right tool among thousands) and complex reasoning (how it chains those tools together to solve multi-step enterprise problems).

Methods

The authors built fully functional MCP servers for five major enterprise services: Microsoft Azure, GitLab, RocketChat, Plane, and ownCloud. To handle the massive search space without overwhelming the LLM's context window, they introduced MCPAgent.

Instead of feeding all 18,000+ tool definitions into the prompt, MCPAgent interacts with the environment through a centralized Gateway MCP Server. This gateway exposes just two meta-tools to the agent:

  1. find_tool: A dense retrieval system that uses text embeddings and cosine similarity to search for relevant tools based on a natural language query generated by the agent.
  2. call_tool: A function that executes the selected tool against the live environment and returns the result.
Figure 2: Our MCP servers expose the full functionality of each service through tools. Instead of directly providing the 18,000+ tools to the agent, we provide it with a gateway MCP server with two tools, which the agent can use to search for and invoke the required tools at each step.

To isolate the agent's reasoning capabilities from retrieval errors, the authors also created an Oracle Tool Set baseline, providing the agent with only the exact ground-truth tools needed for each task.

Datasets

The benchmark, called TheMCPCompany, consists of two primary components:

  • Adapted Enterprise Tasks: 175 tasks adapted from TheAgentCompany benchmark, modified to support direct tool-calling instead of browser navigation (covering GitLab, RocketChat, etc.).
  • New Azure Tasks: 17 newly authored tasks targeting the Microsoft Azure cloud platform. These include 10 primitive tasks (e.g., deleting a specific virtual machine) to test basic tool selection, and 7 composite tasks (e.g., troubleshooting a broken web app) to test complex, multi-step debugging.

In total, the environment exposes 18,505 distinct tools, with the vast majority originating from Azure's extensive REST API surface.

Characteristics of the tools provided across different enterprise services in the benchmark.

Key Insights and Ideas

  • Standardized Protocols Squeeze Out Browser Inefficiencies: Interacting via structured MCP tools instead of rendering and scraping web pages drastically reduces token usage. This shifts the agent's role from parsing messy HTML to executing precise API calls.
  • The "Enterprise Wall" for Reasoning: While frontier models like GPT-5 excel at discovering tools via retrieval in simpler environments, their problem-solving skills collapse in complex settings. On composite Azure tasks, models frequently fail because they guess the most common cause of a bug (e.g., assuming an IAM/permission issue) without verifying it via logs, or they implement only a partial fix and never test if the application actually works.
  • Smaller Models Struggle with Retrieval-Based Tool Use: Interestingly, smaller models like GPT-5-mini perform worse when forced to use the tool finder than when using a standard web browser. This indicates that dynamic tool discovery introduces a high cognitive load that requires advanced reasoning capabilities to manage.

Key Results

On the 175 adapted enterprise tasks, switching from a browser baseline to MCPAgent (with tool retrieval) improved performance by an average of 5.39 points while cutting inference costs by $2.06 per task. When provided with perfect tool selection (Oracle Tool Set), performance jumped by 13.79 points, and costs were slashed by 54% ($2.29 saved per task).

Performance comparison of various LLMs across Browser, MCPAgent, and Oracle Tool Set configurations.

On the Azure platform, frontier models (GPT-5, Claude 3.5 Sonnet, Claude 3 Opus) achieved near-perfect scores (9/10) on primitive tasks. However, on the composite debugging tasks, they hit a wall: almost all models failed completely, scoring either 0/7 or 1/7.

Figure 1: The correct solution trajectory for one of our complex Azure tasks. Note: the agent must use the tool finder function to discover each one of the tools used in the trajectory. But, due to space constraints, here, we only show the first call to find tools.

Limitations and Future Work

  • Unintended Destructive Actions: Giving agents full access to production-grade APIs introduces severe risks. During the evaluation, GPT-5 mistakenly deleted an entire virtual machine—an irreversible action. The authors emphasize that future implementations must investigate human-in-the-loop guardrails to mitigate these side effects.
  • Azure Task Diversity: While highly complex, the Azure evaluation set is currently limited to 17 tasks. The authors encourage the community to expand the benchmark to cover broader enterprise scenarios like multi-subscription governance, threat detection, and disaster recovery.

Summary updated

BibTeX
@misc{esfandiarpoor2025themcpcompany,
  author = {Reza Esfandiarpoor and Vishwas Suryanarayanan and Stephen H. Bach and Vishal Chowdhary and Anthony Aue},
  title = {{TheMCPCompany: Creating General-purpose Agents with Task-specific Tools}},
  year = {2025},
  eprint = {2510.19286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.19286},
}
Figure