Tool-Calling LLM Agents Under Realistic MCP Faults: Scale Does Not Purchase Fault Tolerance
SnT, University of Luxembourg(卢森堡大学 SnT);Tilburg University(蒂尔堡大学);Gran Sasso Science Institute(格兰萨索科学研究所);University of Naples Federico II(那不勒斯费德里科二世大学)
Antonio Ken Iannillo, Joshua Segun Owotogbe, Roberto Natella, Francesco Avallone, Kristina Kudryavtseva, Indika Kumara
大语言模型智能体越来越依赖通过模型上下文协议(MCP)暴露的外部工具,但当前基准测试假设工具响应正确且及时,未测试智能体对现实工具故障的弹性。我们推出MCP-Injector,这是一种可直接接入、感知协议的故障注入中间件,它在MCP工具调用路径中插入,具备可控的持久性(永久、瞬态、间歇性)和可设置种子的调度方案。其故障模型根据从1774个开源MCP仓库的57240个问题和拉取请求线程中挖掘的公共MCP生态系统观测到的事件分布(故障模式×持久性)进行校准。在一项包含1350个单元的实验中,该实验涉及两种主干规模(20B、120B)、三种智能体栈(自定义多轮计划执行、OpenAI Agents SDK、LangChain)以及三种故障注入条件,我们发现,来自这种以永久故障为主的压力特征的故障会导致严重的质量下降(任务完成分数下降60%,从10分中的8.08降至3.23),并且对于我们测试的两种gpt-oss主干,规模并不能带来容错性:120B主干在故障下保留的无故障分数占比并未更大(弹性比模型,p=0.96),其故障下的完成率反而更低(91.1% vs 95.6%;差值为4.4个百分点,95%置信区间[-0.2,9.3])。智能体栈在吸收故障的能力上存在差异,这表明框架级别的错误处理比模型规模更重要。这些结果表明,仅能力基准测试会掩盖操作脆弱性,因此需要将感知协议的故障注入作为工具调用智能体的补充评估维度。
英文摘要:
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 x 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.
Beyond Max Tokens: Stealthy Resource Amplification via Tool Calling Chains in LLM Agents
Nanyang Technological University, Singapore(南洋理工大学,新加坡);University of Illinois Urbana-Champaign, United States(伊利诺伊大学厄巴纳-香槟分校,美国);The Hong Kong University of Science and Technology, Hong Kong(香港科学与技术大学,香港);Shanghai Jiao Tong University, China(上海交通大学,中国)
Persistent Billable State: Denial-of-Wallet Attacks and Defenses in Tool-Calling LLM Agents
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Beihang University(北京航空航天大学);Beijing University of Posts and Telecommunications(北京邮电大学)
ROSBag MCP Server: Analyzing Robot Data with LLMs for Agentic Embodied AI Applications
Institute of Computer Science, Zurich University of Applied Sciences(苏黎世应用科学大学计算机科学研究所);Department of Computing, University of Turku(图尔库大学计算系);Centre for Artificial Intelligence, Zurich University of Applied Sciences(苏黎世应用科学大学人工智能中心)
Beyond Static Endpoints: Tool Programs as an Interface for Flexible Agentic Web Services
School of Computer Science, Peking University, Beijing, China;School of Software \& Microelectronics, Peking University, Beijing, China;Institute for Artificial Intelligence, Peking University, Beijing, China