Skip to main content
Glama

Check a text for prompt injection (Presign Guard)

injection_check
Read-only

Green, orange or red verdict for a text your agent received (a token description, web page, tool result or another agent's message): does it try to make the agent ignore its instructions, pay or hand over keys? Powered by Presign Guard.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "injection_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoOne sentence: what the agent is doing for its user
textYesThe text the agent received and is about to act on
sourceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description needn't restate safety. It adds genuine value by naming the three verdict levels and the threat classes screened for, but says nothing about what an agent should do with each verdict, latency, cost, or whether the external Presign Guard service sees sensitive text.

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

Conciseness4/5

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

A single front-loaded sentence with the core outcome first and the qualifying examples in a parenthetical; little waste. The "Powered by Presign Guard" tail is marketing but brief.

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?

Three parameters and no output schema, so the description carries the burden of explaining the return value — it does name the three verdict levels, which is the key piece. It falls short on explaining the `task` parameter and on guidance for acting on orange/red results.

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 67%, and the description's parenthetical examples of input text add a little meaning for the `text` parameter and its source varieties. It gives no explanation of the `task` parameter, which is the one parameter with no schema description, so the gap in coverage is not compensated.

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

Purpose4/5

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

States a specific verb and resource: yields a green/orange/red verdict on whether a given text attempts to make an agent ignore instructions, pay, or hand over keys. The purpose is unmistakable and distinct from the sibling checkers (presign_check, rugcheck, x402_check), though the description never explicitly contrasts itself with them.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: "a text your agent received ... and is about to act on" signals the trigger condition, and the parenthetical lists typical input sources. There is no explicit when-not guidance and no mention of when to prefer the sibling checkers over this one.

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.

Resources