Skip to main content
Glama
welthus-mcp

welthus-mcp

Official
by welthusai

check_url_ssrf

Detect SSRF risks in a URL by checking whether it targets loopback, link-local metadata, or private IP ranges before execution.

Instructions

Check whether a URL targets loopback, link-local metadata, or private IP ranges.

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": {
      "url": "<url>"
    },
    "name": "check_url_ssrf"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to validate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only lists target categories. It doesn't disclose whether the check resolves DNS or is a purely syntactic parse (critical for DNS-rebinding), whether it returns a boolean or a report, or that it is a read-only/no-network operation.

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?

One front-loaded sentence with no filler; the detection categories sit immediately after the verb. It is efficient, though its brevity leaves the noted gaps elsewhere.

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

Completeness2/5

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

For a security-gate tool with no annotations and no output schema, an agent still cannot tell what a successful result looks like (boolean, findings list, thrown error) or whether hostnames are resolved. That missing return/behavior contract is material to how the agent would branch on the result.

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% for the single url parameter, so the baseline is 3. The description adds a little framing by indicating the URL is being evaluated as a target host, but no format, scheme, or normalization guidance beyond what the schema already states.

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 ("Check") and resource (URL) and enumerates precisely what it detects: loopback, link-local metadata, and private IP ranges. It is easily distinguishable from the sibling verify_*/scrub_secrets tools, though it doesn't explicitly name a contrasting alternative.

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 — an agent can infer this is a pre-flight safety check before fetching a user-supplied URL, but the description never states when to call it, when not to, or what the caller should do with the result. No prerequisites or call-ordering guidance are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.