RAG MCP Tool Selection

Select the top-K tools from a registry of 30+ MCP / AWS / internal-API tools for a given natural-language query, replacing MCP's tools/list dump with a RAG-style filter that reduces prompt tokens 50-70%. Three-step pipeline: retrieve / validate / format. Use when the agent has access to many tools and prompt bloat is killing response quality. NOT for cases with under 10 tools (just include them all), NOT a replacement for an MCP server (this filters what an MCP server exposes), NOT for one-off scripts where the toolset is known and fixed.

AnthonyAlcaraz Updated

File contents

AnthonyAlcaraz/agentic-graph-rag-skills/tree/main/skills/tool-orchestration/rag-mcp-tool-selection commit 5d38932e95

Frequently asked questions

npx skillmds@latest add anthonyalcaraz/rag-mcp-tool-selection