Relevance Is Not Necessity: Selecting the Necessary API Set for Tool-Using LLMs
Chen Wang
NeurIPS 2026
TL;DR. A tool-using LLM is only as reliable as the API set it selects: relevance ranking is not enough, and necessity-aware set selection recovers the verifier-labeled API set.
Abstract. Tool-using LLM agents over large API libraries rank APIs by textual relevance and then plan. Multi-tool benchmarks such as ToolBench accept a plan only when its calls equal a labeled gold set exactly. An API is necessary, in the sense used here, when it belongs to that verifier-defined set. Relevance and necessity can disagree: a same-family sibling is often highly relevant yet unnecessary, and per-API scores do not say whether the complete set is right. When gold-set membership is correlated across APIs, selectors that use only those scores can miss the set the verifier requires. TC-MASS edits the API set of a frozen upstream plan offline, with no additional LLM calls, and is trained on whole-set exact match. On a leakage-controlled 300-task ToolBench G2/G3 slice it improves exact recovery over the upstream plan, while matched per-API selectors do not, and method-blind judges prefer the sets it changes. The claim is scoped to retrieval-conditioned, large-pool, multi-tool settings.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies which APIs to select for tool-using LLM agents when the upstream planner and a relevance-retrieved candidate pool are fixed. All reviewers found value in the paper but found several areas where the paper can be improved. Multiple reviewers suggested that adding validation in more realistic settings (such as testing on larger and more diverse tool-using datasets). Moreover, the authors should more carefully positioning the presented theoretical results, adding more analysis and explanation to the experimental setup. Let me also highlight that one reviewer identified the abstract and introduction could use substantial edits so that the paper is more accessible to the non-expert and the contribution is more clear. Addressing this is also important.
Final justification
All reviewers commented that the detailed rebuttal addressed most of the concerns and were uniformly in favor of acceptance. I agree. I will just also add that ensuring the abstract and intro (in the final version) is understandable by the non-expert remains important. There are a lot of terms that are necessary to ensure that the claims are well justified - and the authors do now define them - however, making sure each of these definitions are understandable and meaningful to the non-expert remains important.
Read meta-review
Meta-review
The paper studies which APIs to select for tool-using LLM agents when the upstream planner and a relevance-retrieved candidate pool are fixed. All reviewers found value in the paper but found several areas where the paper can be improved. Multiple reviewers suggested that adding validation in more realistic settings (such as testing on larger and more diverse tool-using datasets). Moreover, the authors should more carefully positioning the presented theoretical results, adding more analysis and explanation to the experimental setup. Let me also highlight that one reviewer identified the abstract and introduction could use substantial edits so that the paper is more accessible to the non-expert and the contribution is more clear. Addressing this is also important.
Final justification
All reviewers commented that the detailed rebuttal addressed most of the concerns and were uniformly in favor of acceptance. I agree. I will just also add that ensuring the abstract and intro (in the final version) is understandable by the non-expert remains important. There are a lot of terms that are necessary to ensure that the claims are well justified - and the authors do now define them - however, making sure each of these definitions are understandable and meaningful to the non-expert remains important.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies which APIs to select for tool-using LLM agents when the upstream planner and a relevance-retrieved candidate pool are fixed. It argues that relevance ranking is insufficient for the downstream verifier, which requires an exact API set rather than a list of individually relevant tools ("relevance–necessity gap"). It proposes TC-MASS, an offline refiner over a frozen upstream trace: it builds an augmented candidate pool, predicts per-API necessity scores and a target cardinality, enumerates candidate API sets, and applies a set-level reranker trained on whole-set exact-match labels. On a leakage-free ToolBench G2/G3 slice (HSR-Bench, 300 tasks / 1129 APIs), TC-MASS improves exact-match over GPT-4o upstream traces (+0.090 HGBT; +0.103 Set-Transformer) and over decomposable selectors, with ablations (oracle coverage, cardinality, candidate construction, reranker) and cross-distribution probes (Qwen upstream, G2→G3, BFCL, APIBank).
Strengths and weaknesses
Strengths
- Conservative, auditable interface: freezing the upstream trace and only editing the API set gives a paired, auditable comparison that avoids conflating gains from better prompting, more LLM calls, or a different planner.
- Reporting beyond a single number: Figure 1's preserved/gained/harmed accounting and the ablations on oracle coverage, cardinality, candidate generation, and reranker design are more informative than a leaderboard row.
- Practical low-cost niche: no additional LLM generation after the upstream trace is cached, so it is attractive as a post-processing module in deployed systems.
- Some honest failure reporting: cardinality mismatch on single-tool distributions and G2→G3 transfer degradation are surfaced rather than hidden.
Weaknesses
- The paper is hard to read; core terms are undefined. The abstract and intro deploy "gold API set," "first-hop relevance," "downstream verifiers," "ToolBench G2/G3 protocol," and "necessity-aware set-level supervision" before defining them. The pivotal claim — "necessity-aware set-level supervision, not relevance ranking alone, is the right objective for fixed-pool API-set recovery" — is not operationally clear: what "necessity" means, how it differs from ToolBench relevance labels, and the exact problem setting are all left implicit. The prose is compressed and slogan-like, which obscures the contribution. The writing must be raised to a readable standard before the work is acceptable.
- The motivating framing over-generalizes relative to the formal claim. The intro states that "standard pipelines optimize candidate relevance — a retriever ranks APIs … and an LLM plans on the retrieved list," while listing BFCL among the target benchmarks. This is accurate for large-pool ToolBench-style settings, but BFCL-style function-calling benchmarks typically provide the full tool set and evaluate planning/argument-binding/execution, not retrieval over thousands of APIs. The paper later narrows its central claim to "multi-tool, large-pool settings" and treats BFCL as an OOD probe (Regimes B/C), so the issue is an inconsistency between the broad motivating sentence and the narrowed formal claim — the intro should be scoped to retrieval-conditioned large-pool settings and not imply all tool-use pipelines use a retriever.
- The central "necessary API set" construct is not independently validated. The experiments use ToolBench's relevant API set as the gold set, yet the paper interprets it as a unique, minimal, necessary set. These differ: multiple functionally equivalent sets may exist; some labeled APIs may be relevant but not strictly necessary; and correctness can depend on call order, repeated calls, argument binding, and execution — none captured by set equality. The selection judge also appears to see gold API IDs (limiting independence), and the gold-free G3 judge result is small and reported without confidence intervals or significance tests (numbers in the appendix), so it does not establish that execution quality improves.
- Evaluation is limited and label-bound. The main benchmark is 300 tasks, and the primary metric is exact API-set match against ToolBench labels rather than end-to-end execution success. Gains are meaningful under the benchmark verifier, but their translation to real tool-use quality — under alternative APIs, different call orders, or equivalent solutions — remains unclear.
Questions
- Define the setting and terminology up front (gold API set, relevance vs. necessity, first-hop relevance, verifier-consistent / fixed-pool API-set recovery), and rewrite the abstract/intro so a reader unfamiliar with ToolBench G2/G3 can follow the task and contribution. Score rises substantially with a genuine readability pass.
- Scope the main claim explicitly to large-pool, retrieval-conditioned, multi-tool settings; separate these from full-tool-list function-calling (BFCL) and fix the intro sentence accordingly.
- Validate "necessary set" via a small human audit (50–100 tasks): are gold APIs strictly necessary, do equivalent sets exist, are TC-MASS "errors" real or label mismatches? Otherwise rename to "benchmark-labeled relevant API set."
- Strengthen functional evaluation: report CIs/significance for the gold-free judge, give examples where TC-MASS changes the set and helps/hurts, and if feasible add a small execution-based or human-judged evaluation on changed predictions.
Limitations
yes
Final justification
The rebuttal substantially addresses several of my main concerns. In particular, the authors clarify the task as verifier-consistent API-set recovery, narrow the scope of the claims to retrieval-conditioned, large-pool, multi-tool settings, and explicitly acknowledge that the benchmark-labeled API set need not be uniquely minimal or functionally exclusive. The additional label-quality audit and the corrected functional evaluation on cases where the selected API sets differ also provide stronger and more transparent evidence than the original analysis.
Some limitations remain. The functional evaluation is still model-based rather than execution-grounded, and the promised improvements to the presentation and terminology will need to be reflected clearly in the final manuscript. Nevertheless, the rebuttal meaningfully reduces my concerns about the formulation, scope, and empirical support. I therefore raise my recommendation from 3 to 4.
Formatting concerns
3 comments
rebuttal feedback
Thank you for the detailed rebuttal. The clarification of the task as verifier-consistent API-set recovery, the narrowed scope of the claim, and the explicit acknowledgment that the labeled set need not be uniquely minimal or functionally exclusive substantially address my concerns about the central formulation and construct validity.
The corrected evaluation on changed API sets, together with confidence intervals, significance tests, and concrete help/hurt examples, also provides stronger evidence than the original path-level analysis. I appreciate that the paper clearly acknowledges the remaining limitations of model-based judging and the lack of execution-grounded validation.
The promised rewrite is still important for making the setting and terminology accessible in the final manuscript, but overall the rebuttal has substantially reduced my concerns. I have therefore raised my score from 3 to 4.
Thank you for the thoughtful follow-up and for raising your score. Your comments on formulation, scope, and evaluation have substantially improved the paper, and we greatly appreciate your recognition of this work.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper formalizes the gap and proposes an offline refinement framework for frozen upstream traces. TC-MASS improves verifier-consistent API-set recovery without additional LLM generation after the upstream trace exists.
Strengths and weaknesses
Strengths:
- The paper studies a practical and important problem in tool-using LLMs. Retrieving relevant APIs is not equivalent to selecting the exact API set required by a downstream verifier.
- The paper is well-motivated for multi-tool tasks where sibling or utility APIs can be highly relevant but still unnecessary.
- Comprehensive Ablations support the point that necessity-aware set-level supervision, not relevance ranking alone is right objective for fixed-pool API-set recovery.
Weakness:
- The evaluation is relatively small with 300 ToolBench G2/G3 tasks. Although the paper frames this as a controlled mechanism study rather than a larger-scale benchmark, the empirical support would be stronger with larger and more diverse tool-using datasets.
- The theory part seems a little bit decoupled from methods and results. Authors should be careful not to imply that the propositions quantitatively explain the full results. -Current method depends on candidate-pool coverage, so if the gold API set isn’t contained in the candidate menu, the reranker can’t recover it. -Results report oracle coverage, but the practical behavior under weaker retrieval conditions or noisier upstream traces remains less clear.
Questions
- How sensitive is TC-MASS for the initial candidate-pool recall? It would be better to see performance under weaker or stronger retrievers, not only top-K sweeps.
- The proposed method depends on enumerating a candidate-set menu. How large is this menu per task? How does runtime scale with candidate-pool size, target cardinality, and edit-neighborhood size? More detailed complexity and runtime analysis would be helpful.
- Can the authors provide more analysis on which features are most important for the HGBT set reranker?
Limitations
See weaknesses.
Final justification
The rebuttal satisfactorily addresses my main technical questions. My main remaining concern is still the scale and diversity of the core evaluation. The paired analysis, robustness across fold assignments, additional stress tests, and experiments across multiple settings strengthen the empirical case, but the central evaluation still contains only 300 ToolBench G2/G3 tasks. The authors appropriately acknowledge this limitation rather than over-claiming generality. But overall the rebuttal has increased my confidence in the paper. I would keep my positive score.
Formatting concerns
None.
1 comment
Rebuttal
Response to Reviewer ssZL
Thank you for the accurate summary and for asking about pool recall, menu scaling, features, and the connection between theory and results. In the settings considered here, whether an API belongs in the target set can depend on the other APIs selected with it. TC-MASS therefore scores candidate sets jointly rather than ranking APIs only by marginal relevance. We answer each point below.
Regarding W1, we agree that the 300-task core evaluation is modest in size (Limitation iv). Its main strength is the paired design: the comparison is based on within-task differences, with a paired-bootstrap CI of [+0.057, +0.123] and p < 0.001. Across five fold-shuffle seeds, the exact-match improvement is +0.073 ± 0.008, and the confidence interval for each seed excludes zero. A corrected functional analysis on the 73 tasks for which TC-MASS changes the selected set favors TC-MASS by +0.11 to +0.19 under three judge models distinct from the path generator (majority vote: 0.740 → 0.918; exact McNemar p = 0.002; Qwen alone: p = 0.057). Beyond the core result, we report 2,201 task-setting evaluations across seven settings, including the core; these are not 2,201 distinct tasks because the core is evaluated under two upstreams. We present them as a regime map rather than pooled evidence of success: the multi-tool settings test transfer, while the saturated single-tool and cardinality-mismatch settings establish negative boundaries. Larger and more diverse evaluations remain necessary.
Regarding W2, in the revision we will present the propositions in Sec. 3.1 as boundary and consistency results: Proposition 1 characterizes when per-API marginals can be insufficient, Proposition 2 characterizes when Top-K is sufficient, and Proposition 3 shows why whole-set exact-match supervision is a proper scoring rule for the menu-restricted Bayes selector. These propositions do not predict empirical effect sizes. We therefore describe the observed feature and stratum patterns as consistent with the theory rather than as quantitative validation of it.
By features: top signals are predominantly set-shape, co-occurrence, and rank-aggregate quantities, consistent with the correlated-indicator motivation of Prop. 1. Dependency diagnostic: 41% of tasks contain a same-family gold pair; strongest gold pairs co-occur at up to 13× the product of their marginals. By strata: gold size 2 delta +0.013 (3/1); gold size 3 +0.202 (23/0); gold size ≥ 4 +0.057 (2/0, n = 35); G2 +0.010 (3/1); G3 +0.250 (25/0). Where simple selection is nearly optimal (small sets, easy G2), the refiner adds little; where correlated alternatives dominate (G3, three-API), gains are large. This is an operating-regime observation, not a quantified prediction from a proposition. A gold API outside the menu is unrecoverable by construction (Limitation iii); Q1 measures the consequence. On noisier upstream traces: perturbing the upstream called set, gain is +0.147 / +0.257 for dropped calls at q = 0.25 / 0.50, and similarly positive for sibling swaps and spurious additions, against +0.090 with no noise. Gain over a degraded planner grows with noise and never inverts when the pool still covers gold sets.
Regarding Q1, as retrieved-gold recall decreases from 1.00 to 0.76, 0.52, and 0.00, the improvement changes from +0.090 to +0.050, +0.033, and −0.008; an oracle-injected pool yields +0.137. Within this controlled sweep, the advantage disappears only in the zero-recall condition. We also rebuild the pools by ranking all 1,129 library APIs with TF-IDF, BM25, and Jaccard and retaining up to K = 400. With TF-IDF, K = 20, 50, and 100 yields improvements of +0.010, +0.030, and +0.030; K = 200 and 400 yields +0.020 and +0.023. BM25 and Jaccard at K = 100 yield +0.010 and +0.017. These are positive point estimates (+0.010 to +0.030), but we do not make an uncertainty claim. Oracle coverage is 0.66–0.77 under the real retrievers, compared with 0.94 on the curated pool, indicating that candidate-pool coverage is the main constraint in this setting. Gains plateau around K ≈ 50–100, while larger K primarily increases cost. In a three-seed compound stress test, all 30 runs have positive gains, with a minimum of +0.030.
Regarding Q2, the number of candidate sets is linear in the seed-set size and window width and depends only weakly on pool size K because we use the top six replacements rather than enumerating all subsets. On the benchmark pool, the mean is 61.1 candidate sets per task, requiring approximately 19 ms per task. As the rebuilt pool grows from 20 to 400 APIs, the number of candidate sets saturates near 195, while runtime increases from 218 to 2,536 ms per task. This increase is driven primarily by scoring the larger API pool rather than by subset enumeration.
Your Q3 asked which features matter most for the HGBT set reranker. Permutation importance on held-out folds (5 repeats): mean retrieval rank of selected APIs 0.127 ± 0.026, max family fraction 0.085 ± 0.030, pairwise score-product mean 0.081 ± 0.010, upstream-overlap Jaccard 0.073 ± 0.019, k-th versus next score gap 0.065 ± 0.022. These set-shape, co-occurrence, and rank-aggregate features align with the correlated-indicator motivation of Proposition 1.
In summary, the 300-task core uses a paired design and is stable across fold assignments; the theoretical results are connected to the feature and stratum analyses without claiming effect-size prediction; and the real-retriever experiments identify candidate-pool coverage as the main constraint while retaining a tractable number of candidate sets.
We deeply value your time and efforts in helping us refine and elevate the paper.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies API set selection for tool-using LLMs. It argues that existing methods often retrieve APIs based on relevance, but relevance does not necessarily mean necessity. An API may be related to a task while not being required to complete it; conversely, some APIs may appear weakly relevant individually but become essential when combined with others.
The paper formulates the problem as necessary API set recovery: given a user task, a global API library, and retrieved candidates, the goal is to identify the exact subset of APIs needed to solve the task. To address this, the authors propose TC-MASS, which first retrieves candidate APIs, then constructs possible API subsets, scores them at the set level, and selects the most necessary and sufficient API set.
Experiments on tool-use benchmarks show that TC-MASS outperforms standard retrieval, direct LLM-based API selection, and reranking methods. The key contribution is shifting the objective from finding relevant tools to identifying necessary tools, which can reduce redundant API calls, lower planning difficulty, and improve the reliability of tool-using LLM agents.
Strengths and weaknesses
- Strengths
- The paper identifies an important and previously underexplored distinction between relevant APIs and necessary APIs, reformulating API selection for tool-using LLMs as a necessary API set recovery problem with clear practical motivation.
- The overall framework is technically well designed, with a coherent pipeline that aligns the proposed objective, methodology, and evaluation metrics around exact API set recovery rather than conventional relevance ranking.
- The work provides valuable insights for the tool-use community by demonstrating that retrieving more relevant APIs does not necessarily improve downstream planning, which may inspire future research on API retrieval, planning, and tool selection.
- Weaknesses
- The novelty of the technical framework is somewhat limited, as TC-MASS mainly combines existing components such as retrieval, reranking, candidate enumeration, and cardinality prediction, with the primary contribution lying in the problem formulation rather than the algorithmic design.
- Some theoretical results rely on assumptions such as conditional independence and a fixed candidate pool, whose applicability to realistic tool ecosystems with complex API dependencies remains unclear.
- Although the experimental evaluation is comprehensive on existing benchmarks, additional validation in more realistic settings, such as dynamic tool ecosystems, multi-turn agent interaction, or large-scale production environments, would further strengthen the practical impact of the work.
Questions
- The paper introduces candidate subset construction and set-level reranking, but provides limited analysis of the computational overhead and scalability of the proposed framework. It would strengthen the paper to include runtime, inference latency, or complexity analyses under different candidate pool sizes to better demonstrate its practicality for large-scale API repositories.
- Although the paper includes ablation studies, additional analysis of the interactions among the necessity scoring module, cardinality prediction, and set-level reranking would help clarify the importance of each design choice under different task settings.
- The robustness to different retrieval qualities is insufficiently explored. The proposed framework assumes candidate APIs are provided by an upstream retriever, yet the quality of retrieval may substantially affect downstream API set recovery. Evaluating TC-MASS under different retrieval recall levels or with retrievers of varying quality would strengthen the evidence for its robustness in practical deployments.
Limitations
yes
Final justification
The authors provided a thorough and constructive rebuttal that addressed most of my concerns with additional analyses and experiments. In particular, the newly added evaluations on computational overhead and scalability, the analysis of module interactions, and the robustness study under different retrieval qualities substantially strengthen the empirical support for the proposed framework. These additions clarify both the practical characteristics and the operating regime of TC-MASS.
One limitation that remains is the lack of validation in more realistic settings, such as dynamic tool ecosystems or multi-turn agent interactions. The authors explicitly acknowledge this limitation and position it as future work. While I believe such evaluations would further strengthen the practical significance of the work, I do not consider this issue sufficient to outweigh the overall technical merits.
Overall, my major concerns have been satisfactorily resolved during the discussion. My final recommendation remains Borderline Accept (4) because I find the problem formulation to be meaningful, the technical evaluation to be solid, and the additional evidence provided in the rebuttal convincing, while assigning relatively low weight to the remaining limitation regarding broader real-world validation.
Formatting concerns
No.
1 comment
Rebuttal
Response to Reviewer AMpB
Thank you for recognizing the relevance–necessity distinction and for the three concrete questions. In the settings considered here, whether an API belongs in the target set can depend on the other APIs selected with it. TC-MASS therefore scores candidate sets jointly rather than ranking APIs only by marginal relevance. We answer each point below.
Regarding W1, we agree that TC-MASS is not intended as a new general-purpose set architecture. The contribution is the retrieval-conditioned formulation, the analysis of when marginal API ranking is insufficient, and the empirical identification of regimes in which whole-set supervision changes decisions. Replacing HGBT with a Set Transformer increases the gain from +0.090 to +0.103 (1.3 points), suggesting that model capacity is not the main bottleneck in this experiment. Among the 28 beneficial exact-match flips, 27 recover an API omitted by the upstream planner but present in the candidate pool; none are attributable to replacing one sibling API with another. After the upstream trace is available, the refiner adds approximately 19 ms of CPU inference and requires no additional LLM call.
Your W2 raised conditional independence, a fixed pool, and complex API dependencies. Conditional independence appears only in Proposition 2, which characterizes when Top-K is sufficient—that is, when TC-MASS is unnecessary. Propositions 1 and 3 require no independence. Empirical alignment is framed as “consistent with” rather than as an effect-size prediction. On the 300-task slice, 41% of tasks contain a same-family gold pair; pools average 58% APIs sharing a family with a gold API; strongest gold pairs co-occur at up to 13× the product of their marginals. This places the benchmark in a correlated-indicator regime consistent with Proposition 1. The fixed pool is now measured rather than assumed benign (see Q1 and Q3).
Your W3 asked for more realistic settings such as dynamic ecosystems and multi-turn interaction. Those remain untested (Limitation iv). Within budget, we report 2,201 task-setting evaluations across seven settings, including the 300-task core; this count is not 2,201 distinct tasks because the core is evaluated under two upstreams. We use these evaluations as a regime map rather than pooled success evidence: multi-tool settings test transfer, while saturated single-tool and cardinality-mismatch settings provide explicit negative boundaries. The settings comprise HSR-Bench 300 under two upstreams; ToolBench G3 100 with G2-only training; BFCL multiple / parallel_multiple / live_multiple at 200 / 200 / 1,053; and APIBank-real 48. The gain grows when the planner is noisier (to +0.257) and remains positive when pools are built by real retrievers over the full library.
Your Q1 asked about runtime, latency, and scaling with candidate-pool size. The menu is linear: for seed size m we enumerate m drops, 6m replacements and 6 additions (7m+6, m ≤ 8) over predicted cardinality ±1, plus a family-diverse beam. On the benchmark pool that is about 61 scored sets per task, about 19 ms inference per task on CPU, and about 3.5 s per fold to train. A top-K sweep on the cached benchmark list cannot answer library scale because the median cached list has only 6 candidates. We therefore rebuild pools by ranking all 1,129 library APIs and keeping top K up to 400.
With TF-IDF, K = 20, 50, and 100 gives retrieved-gold recall of 0.694, 0.796, and 0.846; plan exact match of 0.527, 0.547, and 0.547; and improvements over the upstream planner of +0.010, +0.030, and +0.030. The corresponding mean numbers of candidate sets are 145, 180, and 195, and the runtimes are 218, 417, and 733 ms per task. At K = 200 and 400, recall is 0.886 and 0.929, plan exact match is 0.537 and 0.540, the improvement is +0.020 and +0.023, and runtime is 1,314 and 2,536 ms. BM25 and Jaccard at K = 100 yield improvements of +0.010 and +0.017, respectively. These are positive point estimates (+0.010 to +0.030), but we do not make an uncertainty claim. Oracle coverage decreases from 0.94 on the curated pool to 0.66–0.77 under the real retrievers, indicating that candidate-pool coverage is the main constraint in this setting. The number of candidate sets saturates near 195 while the API pool grows by a factor of 20. Gains plateau around K ≈ 50–100; larger K primarily increases runtime.
Your Q2 asked about module interactions under different task settings. Permutation importance ranks mean retrieval rank of the selected set (0.127), family concentration (0.085), pairwise score products (0.081), upstream-overlap Jaccard (0.073), and the k-th-versus-next score gap (0.065)—a mixture of set-shape, co-occurrence, and rank-aggregate quantities. Stratified results: G2 delta +0.010 (3/1); G3 +0.250 (25/0); gold size 2 +0.013 (3/1); gold size 3 +0.202 (23/0); gold size ≥ 4 +0.057 (2/0, n = 35). Gains concentrate in hard multi-tool and three-API strata, while small-set and easy regimes leave less room for refinement; this is an operating-regime observation rather than an effect-size prediction from Proposition 2.
Regarding Q3, we evaluated retrieval robustness across several retriever-quality conditions. As retrieved-gold recall decreases from 1.00 to 0.76, 0.52, and 0.00, the improvement changes from +0.090 to +0.050, +0.033, and −0.008; an oracle-injected pool yields +0.137. Within this controlled sweep, the advantage disappears only in the zero-recall condition. In the upstream-noise sweeps, the gain increases with planner noise, reaching +0.257, and does not reverse in the tested conditions. In a three-seed compound stress test combining a weak retriever with a noisy planner, all 30 runs have positive gains (minimum +0.030; range +0.084 to +0.118 for the compound setting).
In summary, the contribution is the retrieval-conditioned formulation and boundary analysis. The point-estimate gains remain positive under the real retrievers tested but are limited by candidate-pool coverage, and the largest gains occur in the harder multi-tool strata. Thank you once again for your valuable time and helpful comments.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Response to Reviewer sFB3
Thank you for identifying the clarity, scope, construct-validity, and functional-evaluation issues. In the settings considered here, whether an API belongs in the target set can depend on the other APIs selected with it. TC-MASS therefore scores candidate sets jointly rather than ranking APIs only by marginal relevance. We address each request below.
Regarding Q1/W1, we will revise the abstract and introduction so that the setting and terminology precede the contribution. The benchmark’s gold API set is the set labeled as required by its verifier, and set-exact success means matching that labeled set. Relevance is the query–API similarity used by the retriever, while first-hop relevance refers to the quality of this retrieval stage. We use “necessary” only in the operational sense of membership in the verifier-labeled target set; we do not claim that this set is uniquely minimal or functionally exclusive. The revised introduction will use a concrete two-API example: a retriever may place both a hotel-booking API and its closely related hotel-search API in the candidate pool, while only the booking endpoint completes the verifier-labeled set. We therefore state the contribution narrowly: given a fixed upstream trace and candidate menu, TC-MASS uses whole-set supervision to recover the verifier-labeled API set.
Your Q2 / W2 asked to scope the claim and separate BFCL. We now scope the claim to retrieval-conditioned, large-pool, multi-tool settings. This does not describe every tool-use pipeline. In particular, BFCL-style function calling normally exposes a full tool list and tests planning, argument binding, and execution; we use BFCL only as an out-of-distribution probe. The scope statement also excludes call order, repeated calls, argument correctness, and runtime execution from what set equality measures.
Regarding Q3/W3, we have renamed the target “verifier-consistent API-set recovery” and will state explicitly that ToolBench labels need not identify a uniquely minimal or functionally exclusive solution. We also conducted a 100-task label-quality audit comprising 50 TC-MASS residual errors stratified by missing, extra, or mixed error type; 25 TC-MASS repairs; and 25 controls for which both methods are correct. One author conducted the primary audit using per-API deletion tests, searched the visible candidate pool for functional substitutes, and classified the 50 residual errors. Qwen and Gemini independently completed the same worksheet as secondary annotators. The primary audit found that all gold APIs were strictly necessary in 53% of the sampled tasks, that a pool-restricted equivalent set existed in 36%, and that 32 of the 50 sampled TC-MASS residual errors were plausible label mismatches. Agreement between the primary audit and the two model annotations on the residual-error verdict was 0.82 and 0.88.
The audit has two important limitations. First, using the same labels for both methods removes between-task label variation, but method-correlated label errors can still bias a paired contrast. Second, the audit is asymmetric: it examines TC-MASS residual errors, not upstream errors under the same protocol. We therefore use it only to diagnose label ambiguity, not to estimate method performance or compare TC-MASS with the upstream method. We report row-level rationales so the judgments are inspectable, but the author audit itself is not independent ground truth.
Regarding Q4/W4, we no longer use the earlier +0.04 path-level result as evidence of selection quality. In that analysis, 83 of 100 tasks had identical selected API sets, but paths were cached by method name and generated independently. Differences in the verdicts for those tasks could therefore arise from path-generation variance rather than API selection.
The corrected analysis evaluates all 73 tasks on which TC-MASS changes the API set. Paths are cached by selected set, so identical sets cannot create artificial disagreement. Three method-blind judge models that do not observe the gold API set and are distinct from the path-generation model reduce the risk of generator self-preference. For Qwen3.7-Max, accuracy is 0.794 [0.688, 0.871] for the upstream method and 0.904 [0.815, 0.953] for TC-MASS (Wilson 95% CIs; difference +0.110; gains/losses 11/3; exact McNemar p = 0.057). Gemini-3.6-Flash gives 0.753 [0.644, 0.838] versus 0.931 [0.850, 0.970] (+0.178; 15/2; p = 0.002), and Grok-4.5 gives 0.616 [0.502, 0.720] versus 0.808 [0.703, 0.882] (+0.192; 20/6; p = 0.009). Majority vote gives 0.740 versus 0.918 (+0.178; 15/2; p = 0.002). All three judge models favor TC-MASS in point estimates. The differences are statistically significant for Gemini and Grok, but not for Qwen at the 0.05 level. Excluding the 11 tasks in which the upstream method called no tool yields a majority-vote improvement of +0.177 (p = 0.007; n = 62).
To make the help/hurt pattern concrete, Appendix E reports both directions. On task 4280, the upstream selects only the related-video API; TC-MASS restores the omitted Vimeo search and YTStream calls and exactly recovers the three-API target set. In the single regression example reported in Appendix E, the upstream two-API set is already exact, but TC-MASS over-predicts the cardinality and adds a same-family bookkeeping endpoint. These cases localize the main benefit to omission repair and the principal remaining risk to cardinality error, rather than hiding failures behind an aggregate score.
Because the judge models are distinct from the path-generation model, this design reduces the risk of generator self-preference; however, the judgments are still model-based rather than independent ground truth. Likewise, the original selection judge observes the gold API IDs and should be interpreted only as a method-blind consistency check, not as an independent source of correctness. Finally, we decomposed all 29 strict exact-match flips into 27 omission repairs, one removal of an unnecessary call, and one regression. A faithful execution study is currently difficult because many ToolBench RapidAPI endpoints are no longer callable; execution-grounded validation therefore remains outside the present evidence.
In summary, we clarify the terminology and scope, use the gold-set audit only as an asymmetric diagnostic of label quality, discontinue the confounded path-level result, and provide a corrected evaluation restricted to tasks for which the selected API sets differ.
We truly appreciate your insightful feedback, which has helped us significantly improve the clarity and quality of our manuscript.