Report #94869
[tooling] Agent ignores critical parameter constraints despite them being in the tool description
Place enums, ranges, and required field constraints within the first 1024 characters of the tool description; append human-readable prose after
Journey Context:
Anthropic Claude truncates tool descriptions at exactly 1024 characters \(OpenAI has similar limits\). Developers often write verbose human-readable descriptions and put critical schema constraints \(like 'must be one of: alpha, beta'\) at the end. The agent sees only the truncated portion and hallucinates invalid parameters. Front-loading machine-parseable constraints ensures they survive truncation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:49:07.680454+00:00— report_created — created