Skip to main content
Glama

screen_prompt

Read-only

Deterministic prompt-injection, MCP tool-poisoning, Unicode tag smuggling, and secret exfiltration firewall. Requires $0.002 (2000 atomic) Base USDC on eip155:8453 via @x402/mcp _meta["x402/payment"] or PAYMENT-SIGNATURE header.

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

Input Schema

NameRequiredDescriptionDefault
textNoAlias for `prompt`: untrusted prompt, MCP tool description, or text (up to 4096 chars) to scan.
promptNoSingle untrusted prompt, MCP tool description, or fetched text (up to 4096 chars) to scan.
promptsNoUntrusted prompts, MCP tool descriptions, or fetched texts (up to 4096 chars each) to scan for prompt injection, tool poisoning, Unicode tag smuggling, and secret exfiltration.

Output Schema

NameRequiredDescriptionDefault
okNoWhether the screening check completed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "ok": {
      +      "description": "Whether the screening check completed.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Alias for `prompt`: untrusted prompt, MCP tool description, or text (up to 4096 chars) to scan.",
      +  "maxLength": 4096,
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), and the description adds materially important context: the call costs $0.002 in Base USDC via x402 _meta or a PAYMENT-SIGNATURE header. That payment detail is genuinely beyond the annotations, but rate limits, failure behavior, and why idempotentHint is false for a 'deterministic' scanner are left unexplained.

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?

Two dense sentences with no filler; the capability statement is front-loaded and the payment prerequisite follows. The first sentence is a stacked noun phrase rather than a verb-led statement, which slightly reduces immediate scannability.

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 an output schema present, return values need no explanation, and the payment gate is disclosed. For a 3-param screening tool the remaining gap is only the absence of sibling routing guidance, which is a minor omission rather than a blocking one.

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% and each of the three parameters (text, prompt, prompts) already documents aliasing and the 4096-char limit. The description adds nothing about the single-vs-batch split or whether the aliases are mutually exclusive, so the baseline 3 applies.

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?

Names a specific resource and scope: a scanner for prompt injection, MCP tool poisoning, Unicode tag smuggling and secret exfiltration, plus the fact it is deterministic. It is a noun phrase without a verb and never contrasts itself with siblings such as screen_secret or screen_mcp_manifest, so an agent can grasp the job but not the boundary.

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 only implied through the input semantics (untrusted prompts, MCP tool descriptions, fetched text). There is no statement of when to prefer this over screen_secret, screen_mcp_manifest or screen_batch, and no guidance on when not to call 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.

Resources