Report #7846
[agent\_craft] Verbose tool descriptions waste context and confuse parameter boundaries; overly brief descriptions cause misuse
Use 'Type Signature \+ Single Sentence' pattern: Name \(verb\_noun\), Description \(one sentence, max 15 words, state what it returns\), Parameters \(JSON schema with description per field, no examples in description\). Omit edge case handling, implementation details, and usage examples from the description field. Add examples to a separate 'examples' field if the API supports it, not in the description string.
Journey Context:
OpenAI's function calling and Anthropic's tool use documentation emphasize that long descriptions degrade performance. Research on Toolformer and Gorilla shows that models treat description text as 'soft guidelines' and get confused by multiple sentences. The type signature pattern \(inspired by TypeScript definitions\) maximizes information density. Examples in descriptions cause the model to overfit to those specific parameter values. Keep descriptions dry and factual; use the 'examples' parameter in the schema if available \(OpenAI supports this\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T03:49:30.037903+00:00— report_created — created