# SPRING-5: Measuring Tool Documentation Repair for LLM Agents by Efficiency

DevFeed: [SPRING-5: Measuring Tool Documentation Repair for LLM Agents by Efficiency](<https://devfeed.tech/articles/spring-5-measuring-tool-documentation-repair-for-llm-agents-by-efficiency-125870.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.10040>)

Author: Guan Zheng Huang

Published: 2026-11-10T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [repair](<https://devfeed.tech/tags/repair.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

SPRING-5 evaluates tool documentation repair by cost across 20 tool families and 344 tasks, pairing degraded specifications with honest references, deterministic backends, and answer keys. Wrong answers incur the full call budget, so the cost index largely tracks completion; calls per correct task are also reported without that penalty. In 2,644 baseline sessions, 54% of wrong answers involved no rejected call, refusal, or retry. Validity checks include an honest-specification ceiling assertion, a rule that flags families a stronger model solves without repair, and a measured noise floor: identical specifications varied by a 95% factor of 0.64-1.56, making about one comparison in eight cross a conventional win threshold by noise alone. Schema-only repair closed 1% of the baseline-to-ideal cost gap, online self-evolution 13%, batch rewriting 33%, and a correctness-labeled variant 58%. The batch advantage over the loop was no longer detectable when both had equal evidence exposure. On BFCL, 62% of held-out queries were already answered by shipped documentation, explaining a pooled null result.

## Source excerpt

arXiv:2611.10040v1 Announce Type: cross Abstract: Methods that repair tool documentation automatically are mostly evaluated on task accuracy. We report a benchmark that scores them on cost. SPRING-5 is 20 tool families and 344 tasks, each with a deliberately degraded specification, a hand-written honest one, a deterministic backend and an answer key, scored on calls charged against the ideal call path. A wrong answer is charged the full call budget, so this cost index largely tracks the completion rate, and we report calls per correct task beside it, which carries no such charge. Over 2,644 baseline sessions, 54% of wrong answers arrive with no rejected call, no refusal and no retry. The benchmark carries three validity instruments. A build-time ceiling assertion requires the honest specification to reach the ideal path and fails systematically on only one family. A dud rule names the families a stronger model solves cold and catches four. A directly measured noise floor shows that two evaluations of a byte-identical specification differ by a 95% factor of 0.64 to 1.56, so about one comparison in eight crosses a conventional win threshold on noise alone, and the cheap way of estimating that floor is biased by which families happen to go unedited. Against these instruments, a schema-only method closes 1% of the baseline-to-ideal cost gap, an online self-evolution loop 13%, one batch rewrite over every training transcript 33%, and a variant given correctness labels 58%. The batch advantage over the loop is the evidence it reads: held to the loop's exposure it is no longer detectable. With five and ten tools in context the effect survives, the baseline cost does not change, and only machine-written descriptions sent calls to the wrong tool. On BFCL, 62% of held-out queries are already answered from the shipped documentation, which explains a pooled null there. Code, data and runs are released.