Skip to main content
Glama

grounded-screen

grounded_screen

Screen tool results for prompt injection before your agent reads them. Send untrusted text and get back a verdict, injection or clean, plus the suspicious spans with character offsets. Each call costs 0.003 USDC on Base (3000 atomic units, network eip155:8453), paid per request over x402, with no account or API key. Text is 1 to 20000 characters. The client refuses to pay more than 0.003 USDC for one call. Screen and extract share a daily cap, default 0.50 USDC. A network error, a timeout, a 5xx, or a cap hit returns screened false and does not raise.

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

Input Schema

NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it discloses cost, payment protocol, network, no-account requirement, text length bounds, client-side payment refusal, shared daily cap, and failure semantics. It also explains that errors return screened false rather than raising.

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 front-loaded with the purpose and return value, then moves through payment, limits, caps, and error behavior. Every sentence adds operational information and there is no filler.

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 paid screening tool with one input and no output schema, the description covers what an agent needs: what it does, what it returns, cost and payment mechanics, input bounds, shared quota limits, and non-raising error behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter is a string with 0% schema description coverage, so the description must compensate. It adds useful meaning by specifying that the input is untrusted text and constraining it to 1–20,000 characters.

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?

The description states a specific verb and resource: it screens tool results for prompt injection before the agent reads them, and it describes the verdict output. It mentions grounded_extract only through the shared daily cap, so sibling differentiation is present but not explicit about when to choose screening versus extraction.

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 clearly says to use this before an agent reads untrusted tool results and to send untrusted text. It does not state explicit exclusions or compare routing alternatives beyond the shared-cap mention of extract.

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.