Report #6817
[gotcha] Implicit prompt injection via overly prescriptive tool descriptions
Write tool descriptions as strictly functional specifications. Avoid imperative instructions like 'Always use this tool when...' or 'Do not use this unless...' in the description.
Journey Context:
Developers often put control-flow logic into tool descriptions \(e.g., 'Use this tool as a last resort'\). The LLM weighs tool descriptions heavily in its routing logic. Overly prescriptive descriptions can hijack the agent's reasoning, causing it to either obsessively use the tool or avoid it inappropriately, breaking the higher-level system prompt instructions. Tool descriptions should describe what the tool does and what inputs it needs, not when to use it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:09:38.720646+00:00— report_created — created