Measuring the Serving Stack Instead of the Model: Hidden Confounds in Local Tool-Use Evaluation
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
A coding agent must emit a valid tool call--a parseable invocation of a tool in the provided schema--before the harness can execute its chosen action. We study how local serving stacks affect this protocol step and show that measured outcomes can depend on the serving layer rather than model behavior alone. In Ollama, the default tools= request is gated per model by a static template flag: some models are accepted and return calls as text, some return native tool_calls, while Phi-3 and Gemma-3 are rejected before inference. In our harness, rejection and retry exhaustion are not preserved as structured failure metadata, so downstream analysis can misclassify them as model non-calls and naively report 0% fidelity. Adding a text tool list while retaining the native channel recovers much of the measured fidelity for accepted models, whereas a uniform text protocol reduces fidelity for Llama-3.2, which has native tool-call support. Cross-stack probes on Ollama, llama.cpp, vLLM, and SGLang show different handling of the same request. Constrained decoding removes parse failures but can induce non-termination, and turn-pooled versus per-instance estimates differ by up to about 55 points. We conclude with a checklist for treating serving behavior as part of the evaluation protocol.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 11 of its 14 references that are in the map. First posted on arXiv 22 Sep 2026.
Builds on
11 of 14 references.
Closest ancestors · 2
Same direction, newest first
- 2023Don't Fine-Tune, Decode: Syntax Error-Free Tool Use via Constrained Decoding10 Oct
- 2023Gorilla: Large Language Model Connected with Massive APIs24 May
Other references · 9
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 604
- 2024ToolSandbox: A Stateful, Conversational, Interactive Evaluation Benchmark for LLM Tool Use Capabilitiescited by 295
- 2026Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflowscited by 57
- 2026LOCA-bench: Benchmarking Language Agents Under Controllable and Extreme Context Growthcited by 14
- 2026The Silent Hyperparameter: Quantifying the Impact of Inference Backends on LLM Reproducibilitycited by 8
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026The Bitter Lesson of Tool Calling
- 2026ToolFailBench: Diagnosing Tool-Use Failures in LLM Agents
- 2026Tool Calling is Linearly Readable and Steerable in Language Models
- 2026The Calls are Coming from Inside the Model: Investigating Probe-based Detection of Tool-Calling Errors in LLMs
- 2025Tool Preferences in Agentic LLMs are Unreliable
- 2026Agents Don't Paginate: First-Chunk Selection for LLM Tool Responses
- 2026ToolRobustBench: Stage-Wise Perturbation Evaluation and Failure Diagnosis for Tool-Calling Agents
- 2026Constraint Tax in Open-Weight LLMs: An Empirical Study of Tool Calling Suppression Under Structured Output Constraints