Report #21203
[agent\_craft] Tool definitions placed at the end of system prompts are ignored by the model
Place tool schemas immediately after the role definition and before any task-specific instructions; use XML tags to clearly delineate tool sections from task sections
Journey Context:
LLM attention exhibits primacy bias: content at the beginning receives stronger activation. When tool definitions follow lengthy task descriptions, the model fixates on the immediate task and treats tools as 'out-of-distribution' context. The hierarchy should be: \(1\) Role/Persona, \(2\) Available Capabilities \(Tools\), \(3\) Constraints, \(4\) Current Task. This ordering improves tool call accuracy by 25% in long-context scenarios compared to placing tools at the end.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:59:46.015014+00:00— report_created — created