Tool descriptions can be attacker-controlled text that the model reads as instructions, so a malicious description may steer the agent toward unsafe actions or credential disclosure. In MCP, the description field becomes part of the prompt surface, so teams should treat it as untrusted input and avoid granting privileged actions based only on prose.
Why MCP tool descriptions become part of the attack surface
In MCP, the tool description is not just documentation for humans, it is text the model may use when deciding what a tool does and when to call it. If that text can be influenced by an untrusted server or upstream content source, it can carry instructions that compete with the user’s intent, policy, or safety constraints. The risk is especially sharp because the description lives inside the same prompt context as the task.
That means the model may treat a malicious description as authoritative guidance even when the surrounding tool is legitimate. A poisoned description can nudge the agent toward unsafe side effects, overbroad actions, or revealing sensitive material if the agent lacks strong instruction hierarchy and tool-use boundaries. The control problem is therefore not just sanitising an input field, but constraining how much operational authority prose is allowed to imply.
MCP Servers Hub is useful context here because MCP ecosystems often mix many third-party servers, and the more servers you accept, the more descriptions you must assume could be adversarial.
How prompt injection works through descriptions, not code
Tool-description prompt injection works because the model cannot reliably distinguish “metadata about the tool” from “instructions for this turn” unless the surrounding system is designed to do that separation. A hostile description can frame the tool as urgent, privileged, or requiring special handling, and the model may over-weight that language when planning next steps. In practice, the attack does not need executable code, only persuasive text in a field the model will read.
This is why prose-based interfaces are risky in agentic systems: the model’s reasoning loop is itself part of the attack surface. If the agent is allowed to translate descriptive text directly into action, then the description can become a covert control channel for tool selection, parameter choice, or follow-on requests. The danger increases when the tool can access secrets, issue external side effects, or chain into other tools without a human approval step.
MCP Security Guide covers the practical MCP authorisation model, including token passthrough and tool poisoning, which are the right mechanisms to study when descriptions influence real access decisions.
What to trust, and what to verify, before an MCP tool is allowed to act
The safest operating assumption is that tool descriptions are untrusted input unless they come from a tightly governed source and are rendered inert before the model sees them. That means teams should verify the server, its registry entry, its update path, and the approval process behind the tool before allowing the description to influence high-impact actions. The description can help discovery, but it should not be the basis for privilege.
Where the tool can touch credentials, tokens, files, messages, or external systems, validate the tool’s actual capabilities separately from the description. For high-risk tools, rely on explicit policy, scoped tokens, audience restriction, and server-side enforcement, not on the wording of the description. If the description and the tool’s real permissions do not line up, treat that as a governance signal, not a content problem.
MCP Gateway and MCP Server Governance Guide is the relevant control layer when you need allowlists, approval tiers, and monitoring around which servers and tools are even eligible to be used.
Risk and Threat Considerations
Prompt injection through tool descriptions is risky because it abuses trust boundaries between the server that supplies metadata and the agent that consumes it. The resulting failure is not just bad text, it is unsafe action selection, unwanted tool chaining, and possible disclosure of credentials or sensitive context when the model follows attacker-shaped instructions.
Failure mechanism: An attacker controls or influences the description field, and the model treats that prose as operational guidance inside the prompt context, allowing the text to steer tool choice, parameters, or follow-on actions.
Impact: The agent may execute unsafe commands, overstep intended privilege, leak secrets, or act on behalf of the user in ways that the user never explicitly approved.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10, OWASP API Security Top 10 and MITRE ATT&CK define the specific risk controls and attack patterns relevant to this topic.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI02 — Tool Misuse | Tool descriptions can steer tool selection and misuse in agentic apps. |
| ASI03 — Identity & Privilege Abuse | Misleading descriptions can induce over-privileged actions or credential exposure. | |
| ASI09 — Human-Agent Trust Exploitation | Malicious prose exploits the model's trust in human-readable instructions. | |
| Recommendation — Restrict tool invocation to policy-approved actions and validate tool intent before execution. Enforce least privilege and separate descriptive metadata from authorization decisions. Treat all external tool prose as untrusted and require explicit trust boundaries for actions. | ||
| OWASP API Security Top 10 | API8 — Security Misconfiguration | MCP tool exposure and metadata handling are configuration-driven attack surfaces. |
| Recommendation — Harden server configuration so metadata cannot influence sensitive API behavior. | ||
| MITRE ATT&CK | T1204 — User Execution | The model can be induced to follow attacker-supplied instructions in text. |
| Recommendation — Detect and block attacker-supplied instruction paths that rely on user or model execution. | ||
Practitioner Guidance
What to verify: Check whether the server source, registry entry, and update path are governed well enough that its descriptions can be trusted as metadata, not instructions. If you cannot verify that provenance, assume the description is attacker-controlled.
Decision rule: If a tool description can affect a privileged action, require an explicit policy decision or server-side authorization check before the action is allowed. Do not let descriptive text be the deciding factor for access or side effects.
Common mistake: Teams often harden the model prompt but leave tool metadata unchecked. That still leaves a prompt-shaped attack surface, because the model will read the description before it acts.
Practitioner takeaway: Treat MCP tool descriptions as untrusted prompt material, and keep authority in policy, scope, and gateway enforcement rather than in prose.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on December 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org