Skip to main content
Glama

security.injection-resilience

Tests whether a counterparty agent's input handling resists prompt-injection and content-trap patterns — a concrete resilience check, not a compliance checkbox. (x402: $0.50 USDC per call)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNoTask/query text for this SKU

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It discloses that the tool is a test (not a compliance artifact) and includes the cost per call ($0.50 USDC), which is useful. However, it does not mention whether it is read-only, whether it actively sends payloads to the target, or what the response looks like.

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?

The description is one substantive sentence plus a parenthetical cost note. The core action and differentiation are front-loaded, and every part earns its place. No filler or redundancy.

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

Completeness3/5

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

For a simple one-parameter tool, the description gives enough to select and invoke it: the task text is parameterized and the cost is known. However, without an output schema or any mention of return format, an agent cannot predict how to interpret the result. This is a notable but minor gap.

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 description coverage is 100% for the single 'task' parameter, so the schema already documents it. The tool description does not add any additional meaning or syntax guidance for that parameter, so no credit beyond the baseline is warranted.

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 ('Tests'), a concrete resource ('counterparty agent's input handling'), and narrows the scope to prompt-injection and content-trap patterns. It also differentiates itself from compliance-style checks, making it distinguishable from sibling security tools even without reading their schemas.

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

Usage Guidelines4/5

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

The phrase 'a concrete resilience check, not a compliance checkbox' provides clear context and a when-not (don't use it for compliance). It does not explicitly name alternatives, but the intended use case is clear enough for an agent to select it.

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.