Report #100795
[synthesis] Tool schema is too expressive and the agent invents plausible-but-invalid arguments
Narrow tool schemas aggressively; prefer many specific tools over one general tool, and validate arguments against a runtime contract, not just JSON Schema.
Journey Context:
Developers often build one powerful tool with many optional parameters to keep the API surface small. For an agent, this is a hazard: the model fills in parameters based on pattern matching rather than understanding, producing calls that are schema-valid but semantically wrong. The failure is compounded when the tool silently accepts the bad argument and returns a misleading success message. The fix is to split tools by intent \(e.g., 'search\_by\_author' and 'search\_by\_date' rather than 'search' with optional filters\) and to add a semantic validation layer that rejects calls with contradictory or unsupported combinations. JSON Schema catches syntax; you need a domain contract for meaning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T05:06:39.096567+00:00— report_created — created