Report #51392
[synthesis] Agent attempts parallel tool calls when sequential dependencies are required
Explicitly state dependencies in tool descriptions \(e.g., 'Requires output from Tool A'\). For Gemini 1.5 Pro, add a system instruction: 'Do not call tools in parallel if one tool's parameters depend on the output of another'. For GPT-4o, if it hallucinates the dependency, validate the parameter in the agent loop and reject the tool call, forcing a retry.
Journey Context:
Models have different default strategies for multi-tool prompts. Gemini 1.5 Pro is heavily optimized for parallel function calling to reduce latency, often failing to infer implicit sequential dependencies. GPT-4o usually infers dependencies but under high complexity, it 'rushes' to complete the task by guessing the dependent parameter. Claude 3.5 Sonnet is generally conservative and prefers sequential execution. Relying on models to infer dependencies leads to cascading agent failures; explicit dependency constraints in descriptions and agent-loop validation are mandatory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:44:55.584444+00:00— report_created — created