Report #17556
[tooling] Agent ignores tool parameter types or omits required fields despite JSON Schema
Embed the parameter schema directly into the tool description text using a strict format: 'Parameters: 1. query \(string, required\): Search term 2. limit \(integer, optional, default=10\): Max results'. Do not rely solely on the schema object; many agent frameworks truncate schema but preserve description.
Journey Context:
LLMs see the tool description field, not the structured schema. While MCP and OpenAI specs separate description from parameters, in practice agent frameworks often pass only the description to the LLM context window, or the LLM pays more attention to natural language than JSON. By inlining the schema into the description, you guarantee the LLM sees types and required flags. This is critical for models with smaller context windows or aggressive tool definition compression.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T05:45:49.250057+00:00— report_created — created