AI
Plan or Retrieve First? A Scale Study of Tool Discovery Architectures
Publication: cs.AI updates on arXiv.org
Author: Mingfei Zhang, Amit Surana, Ziauddin Majid, Chenxi Wang, Michael Xu
Source published: 15/10/2026, 04:00:00 UTC
Briefing created: 25/10/2026, 17:37:27 UTC
Based on a feed excerpt; full article content has not been acquired. Source evidence retrieved 16/10/2026, 02:33:24 UTC.
Briefings
A scale study compares Retrieve-then-Plan (RtP) and Plan-then-Retrieve (PtR) architectures for LLM agents discovering APIs. On ToolBench, RtP excels on single-tool queries while PtR dominates multi-tool scenarios. The study identifies a stub-hallucination failure mode where PtR invents non-existent API names, creating a trade-off between inference cost and retrieval accuracy that requires complexity-adaptive routing.
Key points
- RtP outperforms PtR on single-tool queries due to direct matching of proper nouns, whereas PtR outperforms RtP on multi-tool queries by decomposing complex intent into functional sub-needs.
- PtR incurs approximately double the inference cost compared to RtP, which motivates the need for complexity-adaptive routing strategies.
Context
This research investigates tool discovery architectures for LLM agents, specifically comparing two paradigms: Retrieve-then-Plan (RtP) and Plan-then-Retrieve (PtR). The findings inform practical deployment strategies for agent systems.
Limitations
Evidence is limited to a single scale study on ToolBench with 46,984 unique API endpoints. Results are specific to Gemini 2.5 Flash and gpt-oss-120b models; generalizability across other model families remains unverified. The study does not account for registry size variations beyond the tested range of 1k to 47k APIs, nor does it address the long-term stability of the stub-hallucination failure mode.
Generated by Bittrees-hosted qwen35-2b sha256:aaf42c8b7c3c on 25/10/2026, 17:37:27 UTC. Based on publisher-provided feed evidence; may not cover the full original article. Check the source for details.
View archived briefing on IPFS
bafybeic5z7arvpzgzryo6csrdq3paqpgin65uojttsmfv5op22m2x3t6o4