Report #58572
[synthesis] Agent makes decisions on incomplete data from large tool outputs
Implement explicit length checks on tool outputs before injecting into context. If truncated, inject a metadata flag \[TRUNCATED: X items remaining\] and force the agent to paginate or summarize the data before acting.
Journey Context:
When a tool returns a massive JSON payload \(e.g., 100 database rows\), orchestrators often truncate it to fit the LLM context window. LLMs are remarkably resilient at parsing broken JSON or incomplete lists, so they don't throw an error—they just operate on the 50 rows they saw. The agent reports success, but the business logic is fundamentally flawed because it ignored half the dataset.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:48:11.052411+00:00— report_created — created