Skip to main content
Glama

ScorpTech x402 Tools

Prompt Injection Scan

prompt_injection_scan
Read-onlyIdempotent

Offline prompt-injection / jailbreak / exfiltration scanner: 10 rule families (ignore-instructions, reveal-system, role-hijack, delimiter-escape, tool/secret dump, encoding smuggle, policy bypass, authority claim, continuation trap, multilingual) plus hidden-Unicode and long-base64 heuristics. Returns verdict (clean|suspicious|critical), 0-100 score and match spans. Batch up to 20 texts. Returns JSON with: verdict, score, bytes, chars, hitCount, hits, model, disclaimer. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/prompt-injection-scan

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

Input Schema

NameRequiredDescriptionDefault
textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds genuinely non-structured context: it is a paid x402 endpoint at $0.005 USDC per successful call on Base or Solana, has a per-call batch limit of 20 texts, and returns a verdict/score/span structure. Missing are failure/refund semantics and what happens when a payment is refused, which matters for a metered tool.

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?

Front-loaded with purpose and detection coverage, then return shape, then pricing and endpoint. The rule-family list is long but functional; the HTTPS URL line is arguably redundant with the title/metadata but is useful for fallback access. No filler sentences.

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?

With no output schema, the description compensates by naming the returned fields (verdict, score, bytes, chars, hitCount, hits, model, disclaimer) and the verdict enum values, and it discloses cost and batch limits. The unresolved batching/parameter-shape ambiguity is the one thing an agent still needs before calling correctly.

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 0% for the single `text` parameter, so the description carries the burden; it implies the input is the text to scan but never names or types it. Worse, "Batch up to 20 texts" conflicts with a schema that declares `text` as a single string, leaving the agent unsure whether to pass an array or one string per 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?

States a specific verb+resource ("prompt-injection / jailbreak / exfiltration scanner") and immediately enumerates the detection families it covers (ignore-instructions, role-hijack, delimiter-escape, encoding smuggle, multilingual, etc.) plus heuristics. An agent knows exactly what this tool does and what it will catch without opening the schema.

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 is implied by the domain (scan a piece of text before trusting it), but there is no explicit when/when-not guidance and no routing to alternatives such as secret_scan for credential leakage or osv_scan for dependency vulnerabilities, despite those siblings covering overlapping security-check intents. The agent must infer the boundary itself.

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