Reproduce “ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agents” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Elias Lumer, Anmol Gulati, Vamse Kumar Subbiah, Pradeep Honaganahalli Basavaraju, James A. Burke

PwC researchers developed ScaleMCP, a framework that empowers large language model agents to dynamically discover and manage thousands of external tools using an auto-synchronizing storage system and an agentic retrieval-augmented generation approach. This system demonstrated enhanced tool retrieval accuracy, particularly with LLM-based reranking, and improved agent autonomy for complex, multi-turn financial queries.

Key insights

  • LLM-based rerankers (e.g., GPT-4o, Claude Sonnet 3.7) significantly boost tool retrieval performance, achieving up to 0.94 Recall@10 and 0.59 MAP@10 over vector-only methods.
  • Enriching tool documents with 10 synthetic questions consistently improves retrieval results across various embedding and search configurations.
  • A notable discrepancy exists between high task completion scores (up to 94.4%) and lower tool correctness (as low as 36.1%) for LLM agents on multi-hop queries, suggesting agents can generate plausible answers despite suboptimal tool use.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.