Information Fidelity in Tool-Using LLM Agents: A Martingale Analysis of the Model Context Protocol

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Fan, Flint Xiaofeng, Tan, Cheston, Wattenhofer, Roger, Ong, Yew-Soon
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915797880799232
author Fan, Flint Xiaofeng
Tan, Cheston
Wattenhofer, Roger
Ong, Yew-Soon
author_facet Fan, Flint Xiaofeng
Tan, Cheston
Wattenhofer, Roger
Ong, Yew-Soon
contents As AI agents powered by large language models (LLMs) increasingly use external tools for high-stakes decisions, a critical reliability question arises: how do errors propagate across sequential tool calls? We introduce the first theoretical framework for analyzing error accumulation in Model Context Protocol (MCP) agents, proving that cumulative distortion exhibits linear growth and high-probability deviations bounded by $O(\sqrt{T})$. This concentration property ensures predictable system behavior and rules out exponential failure modes. We develop a hybrid distortion metric combining discrete fact matching with continuous semantic similarity, then establish martingale concentration bounds on error propagation through sequential tool interactions. Experiments across Qwen2-7B, Llama-3-8B, and Mistral-7B validate our theoretical predictions, showing empirical distortion tracks the linear trend with deviations consistently within $O(\sqrt{T})$ envelopes. Key findings include: semantic weighting reduces distortion by 80\%, and periodic re-grounding approximately every 9 steps suffices for error control. We translate these concentration guarantees into actionable deployment principles for trustworthy agent systems.
format Preprint
id arxiv_https___arxiv_org_abs_2602_13320
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Information Fidelity in Tool-Using LLM Agents: A Martingale Analysis of the Model Context Protocol
Fan, Flint Xiaofeng
Tan, Cheston
Wattenhofer, Roger
Ong, Yew-Soon
Artificial Intelligence
As AI agents powered by large language models (LLMs) increasingly use external tools for high-stakes decisions, a critical reliability question arises: how do errors propagate across sequential tool calls? We introduce the first theoretical framework for analyzing error accumulation in Model Context Protocol (MCP) agents, proving that cumulative distortion exhibits linear growth and high-probability deviations bounded by $O(\sqrt{T})$. This concentration property ensures predictable system behavior and rules out exponential failure modes. We develop a hybrid distortion metric combining discrete fact matching with continuous semantic similarity, then establish martingale concentration bounds on error propagation through sequential tool interactions. Experiments across Qwen2-7B, Llama-3-8B, and Mistral-7B validate our theoretical predictions, showing empirical distortion tracks the linear trend with deviations consistently within $O(\sqrt{T})$ envelopes. Key findings include: semantic weighting reduces distortion by 80\%, and periodic re-grounding approximately every 9 steps suffices for error control. We translate these concentration guarantees into actionable deployment principles for trustworthy agent systems.
title Information Fidelity in Tool-Using LLM Agents: A Martingale Analysis of the Model Context Protocol
topic Artificial Intelligence
url https://arxiv.org/abs/2602.13320