MCPAgentBench: A Real-world Task Benchmark for Evaluating LLM Agent MCP Tool Use

Tong Yang, Wenrui Liu, Zixiang Liu, Elsie Dai, Wenhan Yu, Lei Yu, Tong Yang 0003arXiv 2025 · DOI

Introduction

As Large Language Models (LLMs) evolve from simple conversational interfaces into autonomous agents, their ability to interact with external environments via tools—such as database querying, file manipulation, or API interaction—has become a cornerstone of their utility. The Model Context Protocol (MCP) has recently emerged as a standardized framework for these interactions. However, evaluating an agent's proficiency in using MCP tools remains challenging. Existing benchmarks often suffer from three critical limitations: instability due to reliance on remote servers, a lack of complexity in task design (focusing primarily on single-step calls), and "efficiency blindness," where the resource cost and logical optimization of tool calls are ignored.

To address these gaps, we introduce MCPAgentBench, a new open-source benchmark designed to provide a stable, reproducible, and multi-dimensional evaluation of LLM agents in real-world tool-use scenarios.

The MCPAgentBench Framework

MCPAgentBench is built upon an automated evaluation framework powered by AutoGen. Unlike traditional benchmarks that interact with live, unpredictable APIs, MCPAgentBench utilizes a local, reproducible sandbox. This environment hosts locally maintained MCP servers and Python-based mock functions, ensuring that every test run is identical and independent of external network conditions.

The MCPAgentBench evaluation framework, illustrating the flow from tool collection and task sets through the AutoGen-based sandbox to the LLM agent and final scoring.

The framework evaluates agents across several dimensions, including task understanding, tool selection, and parameter generation. A key feature is the Dynamic Tool Selection test, where agents are presented with a candidate list of $K$ tools (ranging from 10 to 40). This list includes the necessary tools alongside various "distractors"—functionally unrelated or confusingly similar tools—to test the agent's anti-interference capabilities.

Dataset Construction and Curation

The benchmark's dataset was developed through a rigorous four-step pipeline to ensure high quality and real-world relevance. The process began with the collection of over 20,000 MCP tools from diverse sources like the MCP Marketplace and GitHub. Simultaneously, 841 raw tasks were sourced from user queries representing both daily and professional domains.

The four-step data curation pipeline: Tool Collection, Tool & Task Annotation, Matching & Manual Curation, and MCP Tool Code Generation.

Following initial collection, the tasks underwent LLM-based annotation and human review to consolidate tags and ensure standardized labeling. A manual curation phase ensured unique solvable mappings and adhered to a "minimal modification" principle. Finally, the system generated verified, executable mock code for each tool. The resulting dataset consists of 178 high-quality task instances categorized by complexity: Single-Tool, Dual-Tool Parallel, Dual-Tool Serial, and Multi-Tool Invocations.

Multi-Dimensional Evaluation Metrics

MCPAgentBench moves beyond simple binary success metrics by introducing scores that account for logical efficiency:

  • Task Finish Score (TFS): Measures whether the agent successfully called the correct tools with accurate parameters.
  • Task Efficiency Finish Score (TEFS): Evaluates whether the agent executed tools in the optimal logical order. For instance, if two tools can be called in parallel but the agent calls them serially, the TEFS will reflect this inefficiency.
  • Resource Metrics: The benchmark also tracks Token Efficiency (score per 1k tokens) and Time Efficiency (score per minute) to provide a holistic view of an agent's operational cost.

Key Insights and Experimental Results

Experimental evaluations using MCPAgentBench revealed several significant trends in current LLM agent performance:

The Efficiency Gap

There is a notable "efficiency neglect" across most models. While many models can complete a task (high TFS), they often do so inefficiently. A performance gap of over 10 points is frequently observed between TFS and TEFS, indicating that agents prioritize completion over optimization.

Strategic Biases in Model Families

Different model families exhibit distinct behavioral "personalities." OpenAI models (such as o3 and gpt-5) tend to be "extreme serialists," often failing to utilize parallel execution even when it is the most efficient path. In contrast, Claude 3.5 Sonnet is "aggressively parallel," which enhances its speed but can occasionally lead to errors in tasks requiring strict sequential logic. Claude 3.5 Sonnet, o3, and glm-4.6 emerged as the top performers with TFS scores of 71.6%, 66.0%, and 65.1%, respectively.

Impact of Complexity and Distractors

Professional tasks (e.g., software engineering, academic research) proved consistently more difficult than daily tasks due to the specialized nature of the tools involved. Furthermore, as the number of distractor tools increased from 10 to 40, performance across nearly all models declined, highlighting that tool discrimination remains a significant bottleneck for agentic AI.

Conclusion

MCPAgentBench provides a robust and necessary foundation for evaluating the next generation of AI agents. By focusing on local reproducibility, logical efficiency, and resistance to distractors, it offers a more nuanced picture of agent capabilities than previous benchmarks. Future work will focus on scaling the task set and exploring how reasoning-heavy models can better balance cognitive time with execution efficiency.

Summary updated

BibTeX
@misc{yang2025mcpagentbench,
  author = {Tong Yang and Wenrui Liu and Zixiang Liu and Elsie Dai and Wenhan Yu and Lei Yu and Tong Yang},
  title = {{MCPAgentBench: A Real-world Task Benchmark for Evaluating LLM Agent MCP Tool Use}},
  year = {2025},
  eprint = {2512.24565},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.24565},
}
Figure