Skip to content

Measuring the Serving Stack Instead of the Model: Hidden Confounds in Local Tool-Use Evaluation

Sep 2026 · 0 citations · 14 references
Computer Science

TL;DR

It is shown that measured outcomes can depend on the serving layer rather than model behavior alone rather than model behavior alone, and a checklist for treating serving behavior as part of the evaluation protocol is concluded.

Abstract

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.

View source

Similar papers

Preprint Aug 2026

Tunable Tool-Call Rates in LLM Agents via Representation Steering

Whether an instruction-tuned model calls a tool can be controlled by a single linear direction in its residual stream, extracted without any training from the model's own tool-use preference signal and turned into an inference-time intervention with no prompt change.

Yu-Qiang Chen, Vincent Siu, Yang Liu et al. · 2 citations · ⚡1
#machine learning Preprint Aug 2026

The Calls are Coming from Inside the Model: Investigating Probe-based Detection of Tool-Calling Errors in LLMs

Overall, it is found that probing is an effective means to catch a range of different tool-calling errors, including errors arising from using an argument that has the wrong value but the correct type, which might not be recorded by standard logging frameworks.

Eric C. Yeats, Brendan Kennedy, Loc Truong et al. · 0 citations
Preprint Aug 2026

ToolRobustBench: Stage-Wise Perturbation Evaluation and Failure Diagnosis for Tool-Calling Agents

ToolRobustBench provides a deterministic and cascade-aware benchmark for diagnosing robustness beyond clean tool-calling accuracy, where a tool-calling agent is an LLM system that selects a tool, supplies structured arguments, and interprets its returned feedback.

YiShan Zheng, Yuan Wu, Yi Chang · 4 citations
#artificial intelligence Preprint Sep 2026

Interface-Induced Trajectory Censoring

The observed tool-call rate is not a property of the model alone; it is a property of the model-interface stack that measures it, and the two scales separately are reported.

Wen-Bo Wang · 2 citations · ⚡1
Book Open access Oct 2026

Technē: A Deterministic Craft Layer for Model Context Protocol Servers, Grounded in LLM-Authored X3D

When a language model builds 3D content by calling tools through the Model Context Protocol (MCP), the JSON Schema ensures each call is well-formed—but not that the result will render correctly. A texture placed in the wrong slot vanishes. A humanoid skeleton routed to the wrong parent field is invisible. The schema pa...

Alexander Hoffman · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.