gateway_search_tools
Search for MCP server tools by keyword to find relevant functionality across aggregated servers, returning ranked matches with full schemas while reducing context token usage.
Instructions
Search 0 tools across 0 servers by keyword. Returns ranked matches with full schemas, saving ~95% context tokens vs loading all tool definitions. Supports multi-word queries and synonym expansion.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (default 10) | |
| query | Yes | Search keyword |
Implementation Reference
- benchmarks/token_savings.py:102-118 (schema)Schema definition of the gateway_search_tools MCP tool.
"name": "gateway_search_tools", "description": ( "Search for tools across all registered backends by keyword. " "Returns matching tool names, descriptions, and which backend " "they belong to. Use this to find the right tool before invoking." ), "inputSchema": { "type": "object", "properties": { "query": { "type": "string", "description": "Search query to match against tool names and descriptions.", }, }, "required": ["query"], }, },