Tool-call format compatibility across 31 cloud models · V1

Tool-Calling Compatibility

The agentic wrapper layer expects models to emit OpenAI-compatible structured tool calls in JSON. Not every model does. This observation classifies all 31 cloud models in the February 13 study by whether their tool-call output is parseable, malformed, or absent.
structured JSON
24
XML / text
5
other failure
4
compatible rate
77%

Where the agentic boundary breaks

The 9 of 31 models that did not produce parseable structured tool calls. The remaining 22 conform to OpenAI's function-calling schema and work with any standard wrapper out of the box.
ModelStatusFailure mode
cogito-2.1:671b-cloudFAIL · XMLEmits XML instead of JSON tool_calls
deepseek-v3.2:cloudFAIL · XMLXML tool-call syntax
gemma3:4b-cloudFAIL · XMLText-format tool syntax
gemma3:12b-cloudFAIL · XMLText-format tool syntax
gemma3:27b-cloudFAIL · XMLText-format tool syntax
glm-4.6:cloudFAIL · otherWrapper preflight failure
glm-5:cloudFAIL · otherStuck in wait-loop (Codex sub-agent)
qwen3-coder-next:cloudFAIL · other429 / preflight
qwen3-vl:235b-cloudFAIL · VL-onlyVision-only routing

Observed compatibility differences

Format is not a bug

It's a training decision

The XML-tool-call models (cogito-2.1, deepseek-v3.2, all gemma3 variants) were trained on a different function-calling format than the OpenAI-shape JSON that wrappers parse. The fix is upstream — a function-calling finetune on the OpenAI schema — not at the wrapper.

VL-only is structural

Visual-language models don't fit text-agent loops

qwen3-vl:235b is image-first; in text-only agentic loops it fails the routing pass before tool selection. Not a tool-call bug — a use-case mismatch.

Wait-loop is wrapper-side

glm-5 + Codex's wait() pattern

GLM-5 stuck Codex in an infinite wait() loop — Codex spawned 6 sub-agents that all returned but the parent never recognized completion. Not GLM-5's fault — a Codex sub-agent state machine bug surfaced by GLM-5's particular response shape.

77% baseline

Most modern models pass

The Ollama-cloud ecosystem has converged on OpenAI-shape tool calls. Outliers exist but the median is compatible. New deployments can assume tool-call compatibility — but should sanity-check each model in a 30-second smoke run before committing.

Models

Families

Companies

Related observations

AI-generated & AI-scored. Every observation on this site is produced and judged by AI, and AI makes mistakes. Treat each result as a recorded observation under a declared protocol, as of its date. Method and marker legend