Saved in:
Bibliographic Details
Main Authors: Ding, Zihao, Zhu, Mufeng, Liu, Yao
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.07426
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909896745680896
author Ding, Zihao
Zhu, Mufeng
Liu, Yao
author_facet Ding, Zihao
Zhu, Mufeng
Liu, Yao
contents Model Context Protocol (MCP) has recently gained increased attention within the AI community for providing a standardized way for large language models (LLMs) to interact with external tools and services, significantly enhancing their capabilities. However, the inclusion of extensive contextual information, including system prompts, MCP tool definitions, and context histories, in MCP-enabled LLM interactions, dramatically inflates token usage. Given that LLM providers charge based on tokens, these expanded contexts can quickly escalate monetary costs and increase the computational load on LLM services. This paper presents a comprehensive measurement-based analysis of MCP-enabled interactions with LLMs, revealing trade-offs between capability, performance, and cost. We explore how different LLM models and MCP configurations impact key performance metrics such as token efficiency, monetary cost, task completion times, and task success rates, and suggest potential optimizations, including enabling parallel tool calls and implementing robust task abort mechanisms. These findings provide useful insights for developing more efficient, robust, and cost-effective MCP-enabled workflows.
format Preprint
id arxiv_https___arxiv_org_abs_2511_07426
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Network and Systems Performance Characterization of MCP-Enabled LLM Agents
Ding, Zihao
Zhu, Mufeng
Liu, Yao
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Computation and Language
Networking and Internet Architecture
Software Engineering
C.2.2; C.4; I.2.7
Model Context Protocol (MCP) has recently gained increased attention within the AI community for providing a standardized way for large language models (LLMs) to interact with external tools and services, significantly enhancing their capabilities. However, the inclusion of extensive contextual information, including system prompts, MCP tool definitions, and context histories, in MCP-enabled LLM interactions, dramatically inflates token usage. Given that LLM providers charge based on tokens, these expanded contexts can quickly escalate monetary costs and increase the computational load on LLM services. This paper presents a comprehensive measurement-based analysis of MCP-enabled interactions with LLMs, revealing trade-offs between capability, performance, and cost. We explore how different LLM models and MCP configurations impact key performance metrics such as token efficiency, monetary cost, task completion times, and task success rates, and suggest potential optimizations, including enabling parallel tool calls and implementing robust task abort mechanisms. These findings provide useful insights for developing more efficient, robust, and cost-effective MCP-enabled workflows.
title Network and Systems Performance Characterization of MCP-Enabled LLM Agents
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Computation and Language
Networking and Internet Architecture
Software Engineering
C.2.2; C.4; I.2.7
url https://arxiv.org/abs/2511.07426