How it works
One assistant message can contain several tool calls, each with its own id, name, and arguments. The harness may run them together when they only read, or one after another when they would race on the same record. It then appends one tool message per id before the next model call. The model sees the batch as siblings. The second call cannot use the first result, because both arguments were chosen before either function ran. A dependent call belongs on the following step, after the first tool message exists.
Partial failure is normal and has to stay visible. One id can return a price while another id times out. The harness writes the price body on the successful id and an error on the failed id. Dropping the failed id makes the next completion talk as if that lookup had been done. Two writes emitted together can also land out of order.
A worked example
Timber, lead time, and diaries in one step
User: Price European oak for a 4 metre worktop, tell me the lead time, and say which fitter can come next Tuesday.
One model step emits three tool calls in a single assistant message:
id c1, price_timber {"species":"european oak","length_m":4}
id c2, lead_time {"sku":"oak-4m"}
id c3, fitter_diary {"day":"tuesday"}
The harness runs all three. c1 returns {"gbp":640,"sku":"oak-4m"}. c2 returns {"days":12}. c3 times out.
Harness appends three tool messages: c1 with the price, c2 with 12 days, c3 with {"error":"timeout","retry":true}.
Next model step, seeing the gap, calls only the diary tool again and then answers: the worktop is GBP 640, lead time 12 days, and no fitter is confirmed yet because the diary did not respond.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- The harness drops timed-out ids and the model states a complete quote. The missing diary is invisible in the reply the homeowner reads.
- Two calls in the same step both update the same order. They race, and the later write in wall time is the earlier one in the model's argument list.
- The harness retries the entire batch after one timeout, including a sibling that charges a deposit. The deposit runs twice. Only the failed id was a candidate for retry.
How to measure it
Store the assistant step id, each tool call id, and the result status side by side. A step with mixed statuses is a partial batch. The fault is a user-facing sentence that asserts a fact only the failed id could have supplied.
Check whether a retry repeated sibling ids that had already succeeded, and whether those tools were safe to run again. In the conversation, a homeowner who accepts the timber price and still asks who is coming is pointing at the missing id.
Further reading
How Abracadabra helps
The homeowner who accepts the oak price and then asks who is coming on Tuesday is showing a parallel batch where the diary call failed and the reply still sounded finished.
Tool events are searchable even when the person never wrote a complaint. Abracadabra keeps the task outcome next to those calls, because a tool can return success while the task is unfinished. MCP analytics, which would group calls by server and tool, is in early access.
Request access to read this on your own agent.