You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/06/25 10:02:47 UTC

(camel) branch main updated: CAMEL-23833: MCP tool description should mention EIP aliases

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 12b6722ef705 CAMEL-23833: MCP tool description should mention EIP aliases
12b6722ef705 is described below

commit 12b6722ef705e9aff0d773893c01932111a11b85
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jun 25 12:02:35 2026 +0200

    CAMEL-23833: MCP tool description should mention EIP aliases
    
    Co-Authored-By: Claude <no...@anthropic.com>
    Signed-off-by: Claus Ibsen <cl...@gmail.com>
---
 .../org/apache/camel/dsl/jbang/core/commands/mcp/CatalogTools.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dsl/camel-jbang/camel-jbang-mcp/src/main/java/org/apache/camel/dsl/jbang/core/commands/mcp/CatalogTools.java b/dsl/camel-jbang/camel-jbang-mcp/src/main/java/org/apache/camel/dsl/jbang/core/commands/mcp/CatalogTools.java
index 335d749b760b..9cefe48eb9dd 100644
--- a/dsl/camel-jbang/camel-jbang-mcp/src/main/java/org/apache/camel/dsl/jbang/core/commands/mcp/CatalogTools.java
+++ b/dsl/camel-jbang/camel-jbang-mcp/src/main/java/org/apache/camel/dsl/jbang/core/commands/mcp/CatalogTools.java
@@ -325,9 +325,11 @@ public class CatalogTools {
      */
     @Tool(annotations = @Tool.Annotations(readOnlyHint = true, destructiveHint = false, openWorldHint = false),
           description = "List Camel Enterprise Integration Patterns (EIPs) like split, aggregate, " +
-                        "filter, choice, multicast, circuit-breaker, etc.")
+                        "filter, choice, multicast, circuit-breaker, etc. " +
+                        "EIPs have aliases for common AI/modern terms (e.g., fan-out, scatter-gather, retry, dedup). " +
+                        "Filter also matches aliases with dash normalization (fan-out, fanout, fanOut all match).")
     public EipListResult camel_catalog_eips(
-            @ToolArg(description = "Filter by name") String filter,
+            @ToolArg(description = "Filter by name, title, description, or alias (e.g., fan-out, dedup, rate-limit)") String filter,
             @ToolArg(description = "Filter by category (e.g., routing, transformation, error handling)") String label,
             @ToolArg(description = ToolArgDocs.RUNTIME) String runtime,
             @ToolArg(description = ToolArgDocs.CAMEL_VERSION) String camelVersion,