Skip to main content
Glama

url_safety_check

Read-only

Phishing check / url safety / scam detection: is this link safe to open, click or pay? Checks MetaMask + Phishing.Database blocklists on every redirect hop, domain age (RDAP), DNS, HTTPS, punycode and brand lookalikes, password forms and scam wording. Returns risk low/medium/high, safe_to_open and reasons. Costs $0.005 USDC on Base via x402; only charged on success.

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

Input Schema

NameRequiredDescriptionDefault
urlYesLink to check (http/https; scheme optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description discloses the specific checks performed, including redirect-hop blocklist checks, domain age, DNS, HTTPS, punycode, lookalikes, password forms, and scam wording. It also states the return shape (risk level, safe_to_open, reasons) and the pricing model ($0.005 USDC on Base via x402, charged only on success), which is unusually transparent for an agent selecting and invoking the 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?

The description is front-loaded with the purpose and then moves efficiently through checks, outputs, and cost. It is dense but well structured; the opening keyword list ('Phishing check / url safety / scam detection') is slightly repetitive but not wasteful enough to undermine clarity.

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 one-parameter tool with no output schema and annotations already covering read-only/open-world behavior, the description supplies what an agent needs: what is checked, what is returned, and what it costs. Nothing material is missing for correct selection and invocation.

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%, and the single url parameter is already documented in the schema as a link to check with optional scheme. The description does not add syntax or format detail beyond that, so the schema carries the parameter semantics.

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 operation on a specific resource: it checks whether a URL is safe by running phishing/scam/blocklist and technical checks. It is immediately clear what the tool does, but it does not explicitly distinguish itself from the sibling tool safe_read.

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?

The description gives clear usage context by asking whether a link is safe to open, click, or pay, which frames the intended decision. It does not explicitly state when not to use it or name safe_read as an alternative, so it stops short of full routing guidance.

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