Report #60557
[frontier] Where to put behavioral instructions for AI agents - system prompt vs tool descriptions
Move decision logic, edge-case rules, and tool-selection criteria into tool descriptions. The system prompt should contain identity and global constraints; tool descriptions should contain when-to-use and how-to-use rules. The model attends to tool descriptions more reliably than distant system prompt content at the moment of tool selection.
Journey Context:
Common pattern: write a long system prompt with all instructions, give tools minimal descriptions like 'Searches the web.' In practice, when the model is deciding which tool to call, it attends heavily to the tool descriptions and less to system prompt content that may be thousands of tokens away. Production teams report dramatic improvements in tool selection accuracy when decision rules are moved INTO tool descriptions: 'Only call this tool when the query requires real-time data. For historical or factual questions, use the knowledge tool instead.' This feels wrong—it mixes interface docs with behavioral logic—but it works because tool descriptions are the most local context to the decision point. Analogy: inline code comments are read more often than the README. The system prompt is the README; tool descriptions are inline comments at the call site.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:07:51.551545+00:00— report_created — created