codeant-ai-for-open-source[bot] commented on PR #38562:
URL: https://github.com/apache/superset/pull/38562#issuecomment-4033676896

   ## **Sequence Diagram**
   
   This PR wires a FastMCP search transform so MCP clients see only synthetic 
search and call tools plus pinned tools, then discover and invoke other tools 
on demand using natural language search with schemas trimmed to reduce token 
usage.
   
   ```mermaid
   sequenceDiagram
       participant Client
       participant MCPServer
       participant ToolSearchTransform
   
       Client->>MCPServer: Connect and request tools
       MCPServer-->>Client: list_tools with search_tools, call_tool and pinned 
tools
   
       Client->>MCPServer: search_tools with natural language query
       MCPServer->>ToolSearchTransform: Search tool catalog and strip output 
schemas
       ToolSearchTransform-->>MCPServer: Matching tools
       MCPServer-->>Client: Search results with input schemas only
   
       Client->>MCPServer: call_tool with selected tool and parameters
       MCPServer->>ToolSearchTransform: Invoke selected underlying tool
       ToolSearchTransform-->>MCPServer: Tool result
       MCPServer-->>Client: Tool response
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to