You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/05/12 07:48:00 UTC
[jira] [Assigned] (CAMEL-23473) camel-jbang-mcp: drop verbose description from catalog list responses and lower default limit
[ https://issues.apache.org/jira/browse/CAMEL-23473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino reassigned CAMEL-23473:
----------------------------------------
Assignee: Andrea Cosentino
> camel-jbang-mcp: drop verbose description from catalog list responses and lower default limit
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-23473
> URL: https://issues.apache.org/jira/browse/CAMEL-23473
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Affects Versions: 4.21.0
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
>
> h3. Context
> Part of an effort to reduce token consumption of the {{camel-jbang-mcp}} MCP server. The module exposes 31 tools, 6 resources, and 3 prompts; both tool schemas (loaded once per session) and tool results (per call) contribute to LLM context-window pressure for every user of the server.
> Related tickets in this effort are linked via "Relates to".
> {{camel_catalog_components}} (and the equivalent dataformats/languages/EIPs tools) return up to 50 records, each carrying the full multi-sentence {{description}} field. The LLM almost never needs the description in a list — it needs {{name}} + {{title}} to decide what to drill into, then {{*_doc}} carries the full description.
> h3. Affected records in {{CatalogTools.java}}
> * {{ComponentInfo}} (line 539) — has {{description}}
> * {{DataFormatInfo}} (line 556) — has {{description}}
> * {{LanguageInfo}} (line 562) — has {{description}}
> * {{EipInfo}} (line 568) — has {{description}}
> Default {{limit = 50}} at {{CatalogTools.java:65}}.
> h3. Proposed change
> * Remove {{description}} from list result records, OR gate it behind a {{verbose: boolean}} arg defaulting to {{false}}.
> * Lower default {{limit}} from 50 to 20 across list tools.
> h3. Acceptance
> A typical "find me a kafka-ish component" call returns 5–10× fewer tokens.
> ----
> _Filed by Claude Code on behalf of Andrea Cosentino_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)