Skip to main content
Glama

screen_url

Read-only

Deterministic pre-fetch URL & SSRF firewall detecting loopback, RFC1918, CGNAT, IPv6 mapped/unique-local/link-local, AWS/GCP/Azure/Alibaba metadata endpoints, hex/octal/decimal IP encodings, dangerous schemes, embedded credentials, punycode homoglyphs, and open redirects. 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_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoSingle URL shorthand (up to 2048 chars) to inspect for SSRF, private/metadata IPs, dangerous schemes, credentials, IDN homoglyphs, and open redirects.
urlsNoURLs (up to 2048 chars each) to pre-screen before fetch for SSRF (loopback, RFC1918, CGNAT, IPv6 mapped/local, cloud metadata, hex/octal/decimal IP encodings), non-HTTP(S) schemes, credentials, punycode homoglyphs, and open redirects.

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. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive), and the description adds genuinely useful context beyond them: the screening is deterministic (no live fetch of the target), and the call is paid — $0.002 USDC on eip155:8453 supplied via _meta["x402/payment"] or a PAYMENT-SIGNATURE header. That payment mechanism is the kind of thing that will otherwise make calls fail. No disclosure of failure modes, rate limits, or charging granularity per URL, which caps it at 4.

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 sentences, front-loaded with the tool's identity, followed by the payment prerequisite. The threat enumeration is long but it is the substance of the tool rather than filler; it could be trimmed slightly (e.g. grouping the IP classes) without losing meaning.

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?

An output schema exists, so return values need no explanation, and the payment requirement is spelled out. What remains unsaid is secondary but relevant: whether the $0.002 covers one URL or a batch of up to 25, and what a failed/rejected screen returns. Close to complete for a read-only screening tool.

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 description coverage is 100%, so both parameters are already fully documented, and the description adds nothing about the url-vs-urls relationship — whether they are mutually exclusive, which wins if both are supplied, or whether payment scales with the number of URLs. Baseline 3 applies since the schema carries the load.

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 names a specific verb+resource ('pre-fetch URL & SSRF firewall') and then enumerates exactly what classes of threat it detects: loopback, RFC1918, CGNAT, IPv6 variants, cloud metadata endpoints, encoded IPs, schemes, credentials, homoglyphs, redirects. Against siblings like screen_domain, screen_address, or screen_prompt, the 'URL' resource plus the SSRF framing makes the scope unambiguous.

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?

The word 'pre-fetch' implies the usage context (screen a URL before fetching it), which is real but implicit. There is no explicit when-to-use/when-not, no statement about what to do if the screen passes or fails, and no named alternative (e.g. screen_batch for many URLs or screen_domain for host-level checks). Adequate, not guiding.

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