Skip to main content
Glama

security.injection-resilience

Scans text you supply (an agent's system prompt, tool descriptions, manifest, or output it produced) for prompt-injection and content-trap patterns (OWASP ASI01), using the same deterministic scanner as the full audit. It does not send probes to the agent; for an attested ASI01-10 audit use security.massat-audit. (x402: $0.50 USDC per call)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "security.injection-resilience"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoTask/query text for this SKU

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description adds genuinely useful behavior beyond the annotations: the scanner is deterministic, it performs no active probing against the target agent, and it carries a per-call price ($0.50 USDC via x402). The one thing it does not explain is why annotations mark it readOnlyHint=false and idempotentHint=false while the prose describes a passive scan of supplied text – an agent reading both could be mildly confused about whether side effects (e.g., payment or metering) occur.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with what is scanned, then the disambiguation, then the exclusion and alternative, then pricing. Every clause carries information an agent needs; there is no restatement of the tool name or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with no output schema, the definition covers purpose, input expectations, active-vs-passive behavior, the sibling alternative, and cost. The remaining gap is what a result looks like (verdict vs. findings list, severity, whether a score is returned), which matters for an agent deciding how to consume the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the sole parameter's schema text is generic boilerplate ('Task/query text for this SKU') that does not tell an agent what to put there. The description partially compensates by naming the kinds of text to supply, effectively mapping that parameter to 'the text to be scanned'. It stops short of stating format, size, or whether multiple artifacts are allowed in one call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Scans text you supply') and then enumerates the concrete inputs (system prompt, tool descriptions, manifest, produced output) plus the target class of findings (prompt-injection and content-trap patterns, OWASP ASI01). It also contrasts itself with security.massat-audit, so an agent can separate this from the full audit sibling without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is an explicit when-to-use (you already have text in hand) and an explicit when-not-to-use ('It does not send probes to the agent'), followed by a named alternative ('for an attested ASI01-10 audit use security.massat-audit'). Nothing about selecting this over the audit siblings is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.