Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

Prompt-injection scan for untrusted text ($0.0021/call)

prompt_injection_scan
Read-onlyIdempotent

$0.0021 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Screens text an agent is about to read (web page, email, tool output, document) for prompt injection: instruction overrides ("ignore previous instructions"), role hijacks and jailbreak modes, fake chat delimiters (<|im_start|>, [INST], "system:" lines), requests to reveal the system prompt or send secrets, Markdown-image exfiltration URLs, hiding things from the user, coerced tool calls, payments or shell one-liners, and text hidden from humans (zero-width, bidi and Unicode tag characters, HTML comments, display:none blocks, base64), which is decoded and scanned too. Returns verdict likely_injection / suspicious / no_injection_found, a 0-100 score, findings with excerpt and line, and hidden-content counts. Rule-based and offline: not a model and not a guarantee. Input: text (POST for long text), optional format, max_findings, clean. Limit: 200,000 characters.

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": "prompt_injection_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesUntrusted text, HTML or Markdown to scan, 1-200,000 characters (POST JSON {"text": "..."} for long text)
cleanNoyes: also return cleaned_text with invisible characters (zero-width, bidi, Unicode tags) removedno
trialNoOptional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms.
formatNoauto (default, detected), text, html or markdown; html and markdown also read HTML comments and hidden elementsauto
max_findingsNoFindings returned, 1-200 (default 50)50

Output Schema

NameRequiredDescriptionDefault
toolNo
cacheNo
linesNo
notesNo
scoreNo
_trialNoPresent when the call was a free trial call.
formatNo
verdictNo
findingsNo
providerNo
price_usdNo
categoriesNo
confidenceNo
text_lengthNo
cleaned_noteNo
cleaned_textNo
finding_countNo
hidden_contentNo
recommendationNo
findings_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms."New value: +"Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms."
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations, the description discloses pricing mechanics (x402, USDC on Base), a trial quota (3 per IP per UTC day), the 200,000-character limit, and critically frames the engine as rule-based and offline, explicitly "not a model and not a guarantee" — context an agent needs to weigh the verdict correctly.

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

Conciseness3/5

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

It is front-loaded with price and purpose, which is good, but the middle is a dense run-on enumeration of detection categories in a single paragraph. The price is also duplicated in the title, and the return-value list overlaps an existing output schema, so some content does not earn its place.

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

Completeness5/5

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

For a five-parameter screening tool with a full output schema, the definition covers what an agent still needs: cost, quota, size limit, engine limitations, and the meaning of the three verdicts. Nothing required to call it correctly or interpret results is missing.

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%, so all five parameters are already documented. The description restates the parameter list (text, format, max_findings, clean) and the POST-for-long-text convention, but adds no semantics the schema does not already carry. Baseline 3 applies.

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 gives a specific verb and resource — screening untrusted text (web page, email, tool output, document) for prompt injection — and enumerates the concrete threat classes it detects (instruction overrides, fake delimiters, exfiltration URLs, hidden Unicode). An agent can distinguish this from generic scanners like security_scan_lite by the injection-specific taxonomy.

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?

It states a clear trigger condition: text an agent is about to read. It also names the free-trial path ("trial": true or try_free), which is a genuine routing hint. However, it never states when NOT to use it or how it relates to sibling scanners such as security_scan_lite.

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