arXiv(opens in a new tab)cs.SEAug 2026Cited by 5 papers on PaperVantage

Manuscript Offprint

arXiv:2608.23635

ToolRobustBench: Stage-Wise Perturbation Evaluation and Failure Diagnosis for Tool-Calling Agents

YiShan Zheng, Yuan Wu, Yi Chang

Abstract

Large language models (LLMs) rely on tool calling as a fundamental agent capability, enabling them to invoke external systems and complete tasks beyond text generation. However, clean end-to-end (E2E) success cannot identify where a tool-use failure originates or how it propagates through a call. We introduce ToolRobustBench, a stage-wise diagnostic benchmark for tool-calling agents, where a tool-calling agent is an LLM system that selects a tool, supplies structured arguments, and interprets its returned feedback. ToolRobustBench aligns four perturbation families with the tool-use pipeline: tool-interface, user-intent, tool-output/observation, and runtime-environment perturbations. It attributes failures to tool selection, schema grounding, argument binding, tool-output/runtime-feedback handling, and E2E task success. Experiments on 15,456 single-family instances across 7 models, 16 sampled local tools, 4 perturbation families, and 14 subtypes show high but non-uniform clean performance and substantial robustness degradation, with tool-output/observation perturbation the dominant bottleneck. Mixed-family experiments reveal non-additive failure patterns that are not explained by isolated single-family results. Thus, ToolRobustBench provides a deterministic and cascade-aware benchmark for diagnosing robustness beyond clean tool-calling accuracy; the anonymized artifact is available at https://anonymous.4open.science/r/toolrobustbench/.

1 Introduction

Large language models (LLMs) increasingly rely on tool calling as a central mechanism for interacting with external systems. Unlike ordinary question answering, tool calling requires a sequence of decisions: inferring the user's intent, selecting an appropriate tool, binding the request to structured arguments, and interpreting returned results or execution feedback. Here, a tool-calling agent is an LLM-based system performing these decisions, and the clean setting is the unperturbed tool-calling condition. Each step can be disrupted in deployment. Tool names may be replaced with semi-opaque service identifiers, descriptions of neighboring tools may overlap, requests may be indirect or internally inconsistent, and returned feedback may contain schema drift, missing evidence, misleading candidates, or runtime faults. Evaluation based only on final accuracy in clean settings cannot show whether these disruptions are handled reliably or where a failed call first departs from the intended process.

Existing benchmarks cover large-scale tool use and stable API execution (Qin et al., 2024; Guo et al., 2024), as well as interactive trajectories and noisy tool-use conditions (Lu et al., 2025; Wang et al., 2026). However, they leave room for controlled evaluation that localizes the first failed stage of a noisy tool-calling process.

A failed tool call has both a symptom and a source. An incorrect-argument output, for example, may arise directly during argument binding or may follow from earlier tool-selection confusion induced by an ambiguous interface. Similarly, a runtime-failure symptom may result from corrupted arguments rather than from the execution environment. Recording only the final failure label conflates these cases: it can attribute an upstream error to the wrong capability and may incorrectly suggest that a perturbation crossed its intended boundary.

ToolRobustBench addresses this gap through controlled, single-step evaluation with stage-aligned perturbations and cascade-aware attribution. It measures not only whether a model succeeds under noise, but where its behavior first fails and how the error propagates.

Our contributions are:

  1. Stage-aligned perturbation taxonomy. We define four perturbation families that enter at distinct points in the tool-calling pipeline: tool-interface, user-intent, tool-output/observation, and runtime-environment perturbations.

  2. Cascade-aware error attribution. We separate observed error labels from primary error labels, earliest failed stages, error source stages, and boundary-violation indicators, so that downstream symptoms are not treated as direct perturbation effects.

  3. Deterministic and reproducible evaluation. We evaluate sampled tools from a 40-tool local environment with stable gold arguments, expected results, and attribution signals, avoiding volatility from live APIs.

  4. Evidence on isolated and combined robustness. Across 15,456 single-family instances and representative mixed-family perturbations, we identify observation handling as the main bottleneck and show that mixed-family robustness is not captured by the weaker constituent family alone.

ToolRobustBench therefore complements existing tool-use benchmarks with reproducible, stage-localized explanations of robustness failures.

References (11)