You connected your internal databases and APIs to an AI agent, but it does not behave as you expected. Is the cause a lack of capability in the AI, or insufficient tool descriptions (documentation)?
A research team at Kensho Technologies and Brown University separated these two causes experimentally[1]. The authors' hypothesis is a strong one: "the tool-use performance of state-of-the-art LLMs is determined not by model capability but by the amount of information available." They built tools whose descriptions had information deliberately removed, and measured how close the AI came to "the best achievable with the remaining information."
The results largely matched the hypothesis, but clear exceptions also appeared. One is a case where the AI breaks a constraint that is stated, because of its own habits. The other is a case where the tool specification itself is complex.
What this study tested
In real-world tooling, many similar tools often sit side by side, each covering a different range of data. If the descriptions are sloppy, the user of the tools cannot tell which one to use.
The difficulty is that when an AI picks the wrong tool, you cannot tell whether it "could not have gotten it right because information was missing" or "had the information but failed to use it." So the authors built an environment in which they control exactly what is missing from the descriptions. They compared the AI's scores with the "expected upper bound" that can be calculated from the missing information.
Method: synthesize tools with information removed and compare against the upper bound
There are two kinds of databases. One is a fully synthetic database of zoo animals and enclosures (Zoo); the other is a subset of the U.S. Federal Reserve's economic time series data (FRED)[1].
Each database is split into eight sections, and one data-retrieval tool is built for each section. Every tool has constraints such as "only female animals" or "only non-seasonally-adjusted series." Only some of those constraints are included in the description, probabilistically.
- Low: each constraint appears in the description with 25% probability (the vaguest)
- High: each constraint appears with 55% probability
- Full: all constraints are stated in boilerplate text (for reference)
Because the tools are auto-generated, the AI cannot have memorized from its training data which tool is correct.
For the upper bound, the authors used a simple heuristic: randomly pick one tool from among those whose constraints match the query most often in the query and description, excluding tools that contradict the query. The authors prove in an appendix the conditions under which this rule is optimal. Fifteen models solved 800 questions at each disclosure level.
What the study found
1. Top models nearly reached the upper bound achievable with the remaining information
The average accuracy of the top third of models reached at least 95% of the upper bound at 9 of the 13 disclosure levels tested, and never fell below 90% at any level[1]. At Low, 10 of the 15 models had scores statistically indistinguishable from the upper bound.
| Low (25% disclosure) | High (55% disclosure) | |
|---|---|---|
| Heuristic upper bound | 43.5% | 71.3% |
| gpt-6-astra (best) | 43.6% | 68.5% |
| claude-sonnet-4-5 (worst) | 33.4% | 53.3% |
Accuracy in choosing the correct tool out of eight. 800 questions per level, zero-shot. Created by ScienSeeds based on Table 6 of the original paper.
Source: Created by ScienSeeds
At High, however, no model could be said to be indistinguishable from the upper bound. Even the closest, gpt-6-astra, is 2.8 points below. The authors explain it this way: the frequency with which models deviated from the upper-bound rule was about 12% at both levels. But at High, the candidate with the most matches is usually narrowed to a single tool (mostly the correct one), so a deviation costs more. The deviations also showed a pattern. Mainly on FRED at Low, models avoided tools that looked generic and chose tools that looked specific. Yet those tools narrowed the relevant item down to the wrong value.
Supplying the missing information raises the upper bound itself. When each of the eight tools was given one usage example, gpt-5.6-sol's accuracy rose from 43.1% to 91.0% at Low and from 67.6% to 94.9% at High[1]. The authors also note, however, that it is hard in practice to assemble examples that fill in the missing information well.
2. A result against the hypothesis: complex tools and "passing too many arguments"
In the second experiment, the authors mapped dependencies among the arguments of real Web APIs onto their own database and prepared functions with complex argument constraints. The model was gpt-5.4. The query does not state argument names; the usable values are passed separately as a list of "facts."
What stood out was a tendency to pass all the facts at hand as arguments. Consider a mutual-exclusion constraint, "A and B cannot be specified at the same time," where values for both A and B are at hand. Even when the constraint was written in the description, accuracy was 60%; when it was hidden, accuracy was 1%[1].
However, when the prompt merely added "there are arguments that cannot be used together" (without saying which ones), accuracy rose to 95% when the constraint was shown and to 91% even when it was hidden. The authors interpret this not as a lack of information but as an initial habit of the model.
On the other hand, the more deeply nested a function's constraints, the lower the accuracy, even when the constraints were explained. The authors acknowledge this as a result contrary to their hypothesis. They conclude that both improved model capability and improved tool design are still needed.
3. Automatic description refinement worked only when reasoning effort was raised
The third experiment is "documentation refinement," in which the AI makes trial calls to the tools and rewrites the descriptions based on the results. Exploration and rewriting were done with GPT-5.4, and the final evaluation with the rewritten descriptions was done zero-shot with GPT-5.6-luna.
First, a precondition. When a tool returned only results such as counts, there was no clue for inferring the hidden constraints, and refinement had almost no effect. So the authors changed the tools to also return the original records used in the computation.
| Condition | Low | High |
|---|---|---|
| No refinement (zero-shot) | 27.5% | 58.2% |
| REPL agent, no reasoning | 45.1% | 67.5% |
| REPL agent, high reasoning effort | 90.5% | 92.6% |
| Reference: high reasoning effort but no records in response | 27.0% | 59.5% |
Answer accuracy when answering with the rewritten descriptions (the share of cases where the correct tool was called with the correct arguments). The top three rows are settings in which the tool response includes the original records. Created by ScienSeeds based on Table 14 of the original paper.
Source: Created by ScienSeeds
The strongest was an agent that calls tools through a Python execution environment (REPL). Because it can aggregate responses in code, its context does not bloat even when it handles large numbers of records. With high reasoning effort, it solved nearly all the questions[1]. In contrast, the existing method DRAFT fell below zero-shot, and ToolObserver also stayed at or below zero-shot.
What is interesting is where the agents stumbled. The authors used a probabilistic model to estimate whether the collected records were sufficient to identify the hidden constraints. The REPL agent had gathered enough evidence to identify the correct constraint with an average probability of about 85%. Even so, it managed to write the constraints into the descriptions only when reasoning effort was high.
Furthermore, the REPL agent was told, without reasoning, "each tool may have filtering conditions not stated in its description; the goal is to write them out." As a result, answer accuracy at Low rose by 37.9 points. This corresponds to 83% of the gain seen when reasoning effort was set high[1]. The authors' view is that what was missing was not the ability to read the evidence but noticing "what to look for."
What to consider when using this
We separate what the experiments confirmed from what should be checked separately in your own setting.
What the experiments confirmed
- Top models can choose tools using the information written in the description in a nearly optimal way. If performance does not improve, it is worth first suspecting what is missing from the descriptions.
- Adding usage examples has a large effect.
- Models have a habit of "passing all the values at hand," and tend to fail on mutually exclusive arguments. Merely adding the remark "there are arguments that cannot be used together" improved results substantially.
- Automatically filling in descriptions presupposes that tool responses contain clues (such as the original records). Instead of raising reasoning effort, telling the agent what kinds of problems to look for could be a cheaper option, the authors state.
What should be checked separately in your own setting
- The experiments used synthetic data and simple data-retrieval tasks that end in a single call. Whether the same tendencies appear in business workflows that combine multiple steps is outside the scope of this study.
- Whether tool responses include the original records depends on API design. When they do not, the effect of automatic refinement may be limited. In the paper as well, in settings where the response did not include records, refinement had almost no effect even with high reasoning effort. However, adding a prompt saying "there are hidden filtering conditions" clearly raised accuracy even without records (34.8–41.3% at Low and 61.5–70.5% at High; this does not reach the level with records).
- The authors themselves list as a limitation that some information cannot be inferred even by making trial calls to tools, such as the difference between nominal GDP and real GDP.
Implementation guide
- Task: choose the correct one from eight similar data-retrieval tools (tool selection) and call it with the correct arguments (tool calling). Original paper §3, §4.1
- Comparison baseline: the expected accuracy of a heuristic that counts matching constraints (§4.1.1, Appendix C.2)
- Metrics: tool-selection accuracy, answer accuracy (the share of cases where the correct answer was obtained)
- Data: Zoo and a subset of FRED (Appendix C.1.1). Data statistics are in Appendix Table 3
- Compute environment and cost: the main experiments consumed 901 million input tokens and 106 million output tokens (Appendix B, Table 2). Hardware configuration not confirmed
- Code and license: according to Appendix B, the code and databases will be released upon peer-reviewed publication. Current release status not confirmed. The paper's license is also not confirmed
Conditions and limitations
- Scope checked: the main text of arXiv v1 and Appendices C and D (Tables 3, 6, 8, 11, 13, 14, and D.3, D.4). For Appendices E and F, only the key points were checked.
- Peer review: the main text of the paper does not state a venue of acceptance, so we treated it as a preprint.
- Conditions that make replication difficult: the code and data are not yet released. The tools and descriptions were generated with language models, and the authors themselves state that "a different implementation would raise different considerations" (Appendix B). Many of the models used in the evaluation are commercial APIs.
- Simplifications: the study covers only a synthetic environment, tasks that end in a single call, and differences in the range of data each tool covers. The upper bound is the optimum within the rule of "counting matching constraints" and can in principle be exceeded.