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

Antonio Ken Iannillo, Joshua Segun Owotogbe, Roberto Natella, Francesco Avallone, Kristina Kudryavtseva, Indika KumaraNeurIPS 2026

TL;DR

When AI agents use external tools in the real world, those tools inevitably hang, return garbled data, or crash—yet standard benchmarks test agents in a sunny-day paradise where APIs always work. By building a "chaos engineering" middleware calibrated to tens of thousands of real-world bug reports, the authors show that realistic tool failures slash agent task quality by 60%. Most surprisingly, scaling up the underlying LLM from 20B to 120B parameters buys zero extra fault tolerance; how your orchestration framework handles errors matters far more than the size of your model.

What Problem Does This Paper Address?

Modern LLM agents get things done by calling external tools—fetching live data, running calculations, or querying databases. Increasingly, these connections are standardized via the Model Context Protocol (MCP), a universal client-server interface for tool invocation.

Once an LLM relies on external servers, agent quality becomes a distributed systems problem. In production, servers time out, schemas drift, and APIs return malformed payloads or silent wrong answers. However, existing tool-use benchmarks assume tools respond instantaneously and accurately. Traditional infrastructure-level chaos engineering (like killing a network pod) operates too low in the stack to test how an LLM semantically interprets a garbled response or recovers from a broken tool. Without controlled, protocol-level fault testing, we haven't been able to answer basic engineering questions: Which agent frameworks degrade gracefully? And can we just throw a bigger LLM at the problem to make it more resilient?

Methods

The authors introduce MCP-Injector, a drop-in, stack-agnostic middleware that sits transparently between an MCP client (the agent) and the MCP server (the tools), requiring zero code changes to either side.

Figure 1: MCP-Injector architecture. The middleware transparently interposes on the MCP tool-call path. Each invocation passes through four stages: Observe (read tool name, arguments, and context), Decide (select an operator based on the fault profile, persistence state, and seeded randomness), Act (forward the call to the real server and optionally mutate the response), and Record (emit a structured log entry for post-hoc analysis).

Instead of inventing arbitrary bugs, the authors calibrated their injector to reality. Using GPT-4o (validated against human annotators with high agreement, $\kappa \ge 0.80$), they classified 57,240 real GitHub issue and pull-request threads into a joint taxonomy of what went wrong and how long it lasted:

  • Failure Modes: Four content operators (minor character typos, word-level incorrect outputs, type/schema violations, and explicit MCP error messages) and two timing operators (30-second artificial delays and indefinite silent hangs).
  • Persistence Schedules: Permanent (breaks every subsequent call), Transient (a one-off glitch), and Intermittent (temporally correlated bursts of failure).

Using seeded randomness for reproducible fault schedules, the authors ran a 1,350-cell full-factorial experiment crossing two open-weight backbones (gpt-oss-20B and gpt-oss-120B), three popular orchestration stacks (LangChain/LangGraph, OpenAI Agents SDK, and MCP-Bench's plan-and-execute loop), and three fault conditions (no proxy, pass-through proxy, and calibrated faults).

Datasets

  • Public MCP Incident Corpus (Calibration): A newly mined dataset of 103,166 threads (filtered down to 57,240 English threads, yielding 14,829 classified failures) across 1,774 open-source MCP repositories gathered from MCP Market and Awesome MCP Servers. Notably, 91.3% of reported ecosystem bugs were permanent, with explicit errors making up the lion's share (65.6%).
  • MCP-Bench (Evaluation): An existing multi-step tool-use benchmark using rubric-based LLM-as-a-judge scoring. The authors generated 25 naturalistic, single-server tasks across 25 live MCP servers, disabling distraction servers to isolate the effects of tool-call faults.

Key Insights and Ideas

  • Bigger brains don't cushion broken tools: Scaling from a 20B to a 120B model within the same family yielded no resilience advantage. Why? Under faults, the 120B model actually made more tool calls (exposing itself to more fault injections), generated longer outputs within the shared context window, and got stuck in slightly longer retry loops, causing more wall-clock timeouts.
  • Agents fail quietly, not loudly: Rather than crashing outright, the most common outcome under faults (56% of runs) is partial degradation—the agent finishes the loop and hands you a plausible-looking, low-quality answer.
  • The "Tool Bypass" illusion: Sometimes, an agent doesn't even use a broken tool—or any tool at all—and just hallucinates or calculates the answer from pre-trained memory (e.g., doing unit conversions in its head). Standard LLM judges often reward these ungrounded answers with high scores, masking operational failures unless you explicitly check for tool grounding.
  • Architecture shapes recovery: Different frameworks nudge models into distinct post-failure habits. Plan-and-execute loops (MCP-Bench) tend to switch tools and replan on the next round, whereas ReAct-style loops (LangChain, OpenAI SDK) tend to fallback—giving up on tools early to emit a text-only response.
Figure 4: Stack sensitivity analysis. (a) OPP completion rates by stack and model. (b) Primary and completed-only resilience ratios by stack. (c) Stack×condition interaction: MCPBench and OpenAI degrade more steeply than LangChain. (d) Post-failure response strategy differs markedly across stacks.

Key Results

  • Severe Quality Drop: Under the calibrated fault stress profile, pooled task-completion scores plummeted by 60% (from 8.08 down to 3.23 out of 10). When requiring answers to actually be grounded in tool use, task fulfillment fell by 63%.
  • Scale Buys Zero Resilience: In a mixed-effects model of the resilience ratio (faulty score divided by baseline score), the model-size effect was indistinguishable from zero ($p = 0.96$). Descriptively, the 120B model completed fewer tasks under faults than the 20B model (91.1% vs. 95.6%).
  • Framework Differences: LangChain achieved the highest completion rate under faults (95–97%), outperforming MCP-Bench (91–95%, losing an extra 0.93 score points relative to LangChain, $p = 0.048$) and OpenAI Agents SDK (88–95%, losing an extra 0.84 points, $p = 0.074$).

Limitations and Future Work

The authors are admirably transparent about the boundaries of their study:

  • GitHub Reporting Bias: People file GitHub issues for reproducible, permanent bugs far more often than fleeting network blips. Consequently, the 91%-permanent profile acts as a heavy stress test rather than true production telemetry, leaving transient and intermittent regimes under-explored (only 9 of 1,905 fired faults).
  • Entangled Variables: Because different agent stacks naturally make different numbers of tool calls (MCP-Bench averaged 8.6 fault events per run vs. ~2 for LangChain/OpenAI), fault exposure and error handling remain partially entangled.
  • Scope: Only one model family (gpt-oss at 16K context) was tested on relatively easy, single-server tasks.

Future work aims to tackle multi-server orchestration, longer-horizon tasks, and active mitigations like fault-aware agent planning.

Summary updated

Abstract

LLM agents increasingly rely on external tools exposed via the Model Context Protocol (MCP), yet current benchmarks assume tools respond correctly and on time, leaving agent resilience to realistic tool failures untested. We introduce MCP-Injector, a drop-in, protocol-aware fault-injection middleware that interposes on the MCP tool-call path with controlled persistence (permanent, transient, intermittent) and seedable schedules. Its fault model is calibrated to the observed incident distribution (failure mode ×persistence) of the public MCP ecosystem, mined from 57,240 issue and pull-request threads across 1,774 open-source MCP repositories. In a 1,350-cell experiment crossing two backbone sizes (20B, 120B), three agent stacks (custom multi-round plan-and-execute, OpenAI Agents SDK, LangChain), and three fault injection conditions, we find that faults drawn from this permanent-heavy stress profile cause severe quality degradation (task-completion score falls by 60%, from 8.08 to 3.23 out of 10), and that scale does not purchase fault tolerance for the two gpt-oss backbones we test: the 120B retains no larger share of its fault-free score under faults (resilience-ratio model, p= 0.96), and its completion rate under faults is, if anything, lower (91.1% vs. 95.6%; difference 4.4 points, 95% CI [−0.2,9.3]). Agent stacks differ in how well they absorb faults, which suggests that framework-level error handling matters more than model scale. These results demonstrate that capability benchmarks alone can mask operational brittleness, motivating protocol-aware fault injection as a complementary evaluation dimension for tool-calling agents.
BibTeX
@inproceedings{iannillo2026tool,
  author = {Antonio Ken Iannillo and Joshua Segun Owotogbe and Roberto Natella and Francesco Avallone and Kristina Kudryavtseva and Indika Kumara},
  title = {{Tool-Calling LLM Agents Under Realistic MCP Faults: Scale Does Not Purchase Fault Tolerance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ZfMdoPBhn0},
}
Figure