Parallel tool calls are fast, but only when the calls are truly independent. If the second call needs the first call’s result, running them together means the second call runs with a missing or guessed argument, and the run fails in a confusing way. Anthropic’s tool-use docs describe parallel calls as responses that call several tools at once, and the pattern only works when each call stands on its own. Before each batch, sort the calls: independent calls go together, dependent calls wait their turn. A fast wrong answer is worse than a slow right one.
What you need
- A task that needs at least three tool calls, some independent and some dependent
- The dependency between calls written down: which call needs which result
- A run log that shows the order calls actually ran in
Step 1: Sort the calls into independent and dependent
List the calls the task needs and mark each one: independent if it needs only the user request, dependent if it needs another call’s result. A call whose inputs are unclear is dependent until proven otherwise.
Step 2: Run the independent calls together, the dependent ones in order
Send the independent calls in one batch, then run each dependent call only after its input has arrived. Never batch a call with the call it depends on.
Step 3: Check the log for a call that ran too early
Read the run log after a test run and confirm no dependent call ran before its input existed. If one did, the dependency was missed in the sort.
Worked example: synthetic parallel call check
The table below is a synthetic example. It shows the expected result of dependency-aware batching; no agent was run.
| Call | Depends on | Ran |
|---|---|---|
| Search suppliers | Nothing | In batch |
| Fetch price list A | Search result | After batch |
| Fetch price list B | Search result | After batch |
| No call ran before its input | Yes | Pass |
Expected result (UNTESTED). the independent search runs in the batch, both price fetches wait for its result, and no call runs before its input exists. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- Parallel calls cost tokens at once, so a batch of bad calls is a batch of wasted calls.
- The model decides the batch, so a written dependency list guides it but does not force it.
- A dependent call batched too early fails with a confusing error, not a clear one.
- Parallelism saves wall-clock time, not model cost: the same calls still run.
