Loading...
Tool Retrieval (Tool RAG)(TR)
When an agent can reach hundreds or thousands of tools or MCP servers, loading every schema into the prompt is expensive and hurts selection accuracy. Tool retrieval indexes tool definitions and, for each query, retrieves only the semantically relevant ones (embedding search, active discovery, and reranking) before the model chooses. RAG-MCP reports tool-selection accuracy rising from about 13 percent to 43 percent while cutting prompt tokens by more than half.
Loading technique guideβ¦
Tool Retrieval (Tool RAG)(TR)
When an agent can reach hundreds or thousands of tools or MCP servers, loading every schema into the prompt is expensive and hurts selection accuracy. Tool retrieval indexes tool definitions and, for each query, retrieves only the semantically relevant ones (embedding search, active discovery, and reranking) before the model chooses. RAG-MCP reports tool-selection accuracy rising from about 13 percent to 43 percent while cutting prompt tokens by more than half.
Loading technique guideβ¦