Report #49614
[cost\_intel] JSON Schema verbosity in tool definitions consuming more tokens than the tool saves
Use strict mode with simplified schemas, prefer enums over descriptions, compress property names to <3 chars
Journey Context:
A complex tool with nested objects can easily consume 500-1000 tokens in its JSON Schema definition. If the tool is called once and returns only 100 tokens of useful data, you've net lost 400 tokens per call. Teams often over-describe properties \(adding description fields that repeat the property name\) or use verbose property names. With OpenAI's structured outputs \(strict mode\), you can minimize descriptions since the model follows schema exactly. Measure tool definition tokens vs average return tokens.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:45:29.497232+00:00— report_created — created