Report #76775
[frontier] Writing tool descriptions as minimal API documentation—brief, technical, focused only on parameter types
Craft tool descriptions as carefully engineered prompts that include when to use the tool, when NOT to use it, common pitfalls, and examples of good usage—the description is the most impactful prompt for steering agent behavior
Journey Context:
Agents select tools based on their descriptions. A description like 'Searches the database' tells the agent what the tool does but not when to use it versus another tool, what queries work well, or what failures to expect. The emerging pattern is writing tool descriptions as rich prompts: include decision criteria \('Use this tool when the user asks about recent events; use the knowledge base tool for historical facts'\), failure modes \('Returns empty results for queries shorter than 3 words'\), and usage examples. Anthropic's tool use documentation emphasizes that tool descriptions are the primary way to steer agent behavior—more impactful than system prompts for tool selection because the model reads them at the exact moment of decision. The cost is longer descriptions consuming context tokens, but the ROI in reduced tool misuse is significant.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:27:08.573002+00:00— report_created — created