Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Antonioni, Emanuele, Markovic, Stefan, Shankar, Anirudha, Bernardo, Jaime, Markovic, Lovro, Pareti, Silvia, Proietti, Benedetto
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2510.14537
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912652163284992
author Antonioni, Emanuele
Markovic, Stefan
Shankar, Anirudha
Bernardo, Jaime
Markovic, Lovro
Pareti, Silvia
Proietti, Benedetto
author_facet Antonioni, Emanuele
Markovic, Stefan
Shankar, Anirudha
Bernardo, Jaime
Markovic, Lovro
Pareti, Silvia
Proietti, Benedetto
contents AI systems are continually evolving and advancing, and user expectations are concurrently increasing, with a growing demand for interactions that go beyond simple text-based interaction with Large Language Models (LLMs). Today's applications often require LLMs to interact with external tools, marking a shift toward more complex agentic systems. To support this, standards such as the Model Context Protocol (MCP) have emerged, enabling agents to access tools by including a specification of the capabilities of each tool within the prompt. Although this approach expands what agents can do, it also introduces a growing problem: prompt bloating. As the number of tools increases, the prompts become longer, leading to high prompt token costs, increased latency, and reduced task success resulting from the selection of tools irrelevant to the prompt. To address this issue, we introduce JSPLIT, a taxonomy-driven framework designed to help agents manage prompt size more effectively when using large sets of MCP tools. JSPLIT organizes the tools into a hierarchical taxonomy and uses the user's prompt to identify and include only the most relevant tools, based on both the query and the taxonomy structure. In this paper, we describe the design of the taxonomy, the tool selection algorithm, and the dataset used to evaluate JSPLIT. Our results show that JSPLIT significantly reduces prompt size without significantly compromising the agent's ability to respond effectively. As the number of available tools for the agent grows substantially, JSPLIT even improves the tool selection accuracy of the agent, effectively reducing costs while simultaneously improving task success in high-complexity agent environments.
format Preprint
id arxiv_https___arxiv_org_abs_2510_14537
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle JSPLIT: A Taxonomy-based Solution for Prompt Bloating in Model Context Protocol
Antonioni, Emanuele
Markovic, Stefan
Shankar, Anirudha
Bernardo, Jaime
Markovic, Lovro
Pareti, Silvia
Proietti, Benedetto
Artificial Intelligence
AI systems are continually evolving and advancing, and user expectations are concurrently increasing, with a growing demand for interactions that go beyond simple text-based interaction with Large Language Models (LLMs). Today's applications often require LLMs to interact with external tools, marking a shift toward more complex agentic systems. To support this, standards such as the Model Context Protocol (MCP) have emerged, enabling agents to access tools by including a specification of the capabilities of each tool within the prompt. Although this approach expands what agents can do, it also introduces a growing problem: prompt bloating. As the number of tools increases, the prompts become longer, leading to high prompt token costs, increased latency, and reduced task success resulting from the selection of tools irrelevant to the prompt. To address this issue, we introduce JSPLIT, a taxonomy-driven framework designed to help agents manage prompt size more effectively when using large sets of MCP tools. JSPLIT organizes the tools into a hierarchical taxonomy and uses the user's prompt to identify and include only the most relevant tools, based on both the query and the taxonomy structure. In this paper, we describe the design of the taxonomy, the tool selection algorithm, and the dataset used to evaluate JSPLIT. Our results show that JSPLIT significantly reduces prompt size without significantly compromising the agent's ability to respond effectively. As the number of available tools for the agent grows substantially, JSPLIT even improves the tool selection accuracy of the agent, effectively reducing costs while simultaneously improving task success in high-complexity agent environments.
title JSPLIT: A Taxonomy-based Solution for Prompt Bloating in Model Context Protocol
topic Artificial Intelligence
url https://arxiv.org/abs/2510.14537