Small 9B reranker beats bigger LLM on tool retrieval: 92% recall at half the cost

SanBaro20 · reddit · 2026-11-24

To help an agent pick the right API operation among hundreds (Stripe alone has 612), the author benchmarked tool retrieval: descriptions plus six model-written search hints, embedded with text-embedding-3-small, exact pgvector search for top 20, then a reranker picks 5. Metric: recall@5 on 50 plain requests, including a fresh set never tuned against.

Conclusion: the remaining gap is candidates, not ranking. Disclosure: this is the search inside the author's product MCPAPI.

Original post →

More from coding & agent

coding & agent channel →