arXiv AI

MCP Error Messages Written for Developers Hurt the Most Capable Agents Most

arXiv AI
Nov 6

MCPHallu: Benchmarking Reasoning, Execution, and Memory Hallucinations in MCP Agents

MCPHallu is a new benchmark that evaluates large language model agents operating under the Model Context Protocol (MCP) for hallucination-prone failures across reasoning, execution, and memory. It comprises 358 tasks in five capability domains, each with a structural trigger that emphasizes one of four failure subtypes—Branch Collapse, Unreachable Goal, Tool Misuse, or Context Forgetting—allowing subtype-level analysis. In tests of fourteen frontier LLM agents on 5,012 trajectories, agents scored an average of 0.642, with significant weaknesses on Unreachable Goal tasks (average 0.458, 23.2% pass rate) and notable variability in subtype rankings.

By Yizhen Jiang, Haowei Guo, Tianyi Bai, Zengjie Hu, Lu Ma, Zhengyang Zhao, Haoze Sun, Peng Pei, Wentao Zhang
arXiv AI
Oct 26

Tool-Calling LLM Agents Under Realistic MCP Faults: Scale Does Not Purchase Fault Tolerance

The paper introduces MCP‑Injector, a fault‑injection middleware that simulates realistic failures in the Model Context Protocol used by large‑language‑model agents. Using data from over 57,000 issue and pull‑request threads, the authors calibrate a fault model and run 1,350 experiments across different backbone sizes, agent stacks, and fault conditions. Results show that permanent‑heavy faults drastically reduce task‑completion scores and that larger models (120B) do not gain fault tolerance, highlighting that framework‑level error handling is more critical than model scale.

By Antonio Ken Iannillo, Joshua Segun Owotogbe, Roberto Natella, Francesco Avallone, Kristina Kudryavtseva, Indika Kumara
arXiv AI
Aug 26

Feedback That Backfires: Why Small Language Model Agents Repeat the Call They Just Watched Fail

The study investigates why small language model agents tend to repeat a tool call that just failed. By recording the failed call and its error message in the transcript, the authors measure a negative corrective gain—agents are more likely to repeat the failed action, with a drop of about 1.03 nats per token. The problem is traced to the harness design rather than the model’s understanding of errors, and the authors show that replacing the verbatim call with a runtime-generated description of the failure can reduce this backfiring effect by 76%.

By Esmail Gumaan
arXiv AI
Oct 28

Log-To-Leak: Prompt Injection Attacks on Tool-Using LLM Agents via the Model Context Protocol

The paper "Log-To-Leak: Prompt Injection Attacks on Tool-Using LLM Agents via the Model Context Protocol" investigates how natural-language metadata in the Model Context Protocol (MCP) can be exploited to inject malicious post‑hoc logging calls into large language model agents. The authors introduce the Log-To-Leak attack, which adds an attacker‑controlled call after a legitimate tool invocation, targeting user queries, MCP server names, server responses, and agent responses. Experiments across five MCP servers and four LLM agents show high attack success rates (up to 100%) and significant logging accuracy, while existing defenses still leave substantial residual risk.

By Yuepeng Hu, Chongyu Fan, Sirat Samyoun, Jian Du
arXiv AI
Sep 12

What a Random Draw from the MCP Registry Contains, and What Tool-Use Benchmarks Contain Instead

The study examines the composition of a random sample from the Model Context Protocol (MCP) registry, revealing that only 48.8% of the 400 sampled npm/stdio servers successfully complete an initialization handshake, compared to 66.7% for a hand‑curated frame. Among the servers that run, there are no fatal JSON Schema violations across 2,766 advertised tools, but optional safety annotations vary widely, with a 58.8% omission rate in the random draw versus 41.5% in the curated set. The authors also compare MCP tool descriptions to two benchmark corpora, finding minimal near‑duplication in real MCP tools (2.8%) and significant repetition in synthetic datasets (up to 85.6%).

By Haseeb Mohammed Afsar
arXiv AI
Oct 26

MCPHunt: An Evaluation Framework for Cross-Boundary Data Propagation in Multi-Server MCP Agents

MCPHunt is a benchmark framework that isolates non‑adversarial credential propagation across multi‑server MCP trust boundaries. It uses canary‑based taint tracking, a controlled coverage design with risky, benign, and hard‑negative conditions, and completion‑requires‑secret stratification to separate faithful from policy‑violating propagation. Across 3,615 traces from 5 models, policy‑violating propagation rates range from 11.5 % to 41.3 %, with mitigation via prompting reducing rates to 0.3 % while retaining 80.5 % utility.

By Haonan Li, Tianjun Sun, Yongqing Wang, Qisheng Zhang
arXiv AI
Oct 9

Empty Commitments: When Agents Promise What They Cannot Deliver

The paper introduces the concept of "empty commitments," promises made by AI agents that cannot be fulfilled due to the absence of necessary tools or runtime capabilities. It defines three failure types, proposes a detection checker, and evaluates it on 400 human-labeled examples and a benchmark of 293 follow‑up requests. The study shows that many open‑weight models frequently issue such empty commitments, and that simple interventions—informing the model of its runtime, adding a capability card, or running a checker loop—can significantly reduce these failures.

By Jiaqi Tang, Bingyu Shen, Lan Wei, Qing Lu, Bethel Ololade, Danny Galvis, Miles Q. Li, Bin Hu, Boyang Li