Skip to main content
Glama

Phishing URL Heuristics

security_phishing_heuristics

Score a URL for phishing patterns: homoglyph/IDN look-alikes, brand tokens in subdomains, IP-literal hosts, @-tricks, excessive length/hyphens/depth, high-abuse TLDs, punycode and non-standard ports. Pure analysis of the string itself — the pre-click check for links from emails, QR codes or chat. Use this when an agent needs to risk-score a URL before clicking or calling it. x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden, and it handles the most important trait well: "Pure analysis of the string itself," which tells the agent nothing is fetched, resolved, or executed. It also discloses the payment model and price ($0.01/call, USDC, eip155:8453). It stops short of describing the shape of the response (e.g. a numeric score plus contributing signals).

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?

Front-loaded with the scoring verb and the heuristic inventory, then the usage condition, then pricing. Three sentences with no filler, though the pattern enumeration is long enough that the key routing information (when to use) arrives last.

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?

No annotations and no output schema exist, so the description should ideally describe the return shape, which it does not beyond the verb "score." Everything else an agent needs to decide to call it – what it analyzes, that it is offline-only, what it costs – is present.

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?

There is one parameter with full schema description coverage, so the schema does the documenting and a 3 is the baseline. The description adds no input-level detail beyond the implicit notion that the value is treated as an opaque string, e.g. whether a scheme is required, whether it can be a bare domain, or how malformed input is handled.

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 opens with a specific verb+resource ("Score a URL for phishing patterns") and enumerates the exact heuristics applied (homoglyph/IDN, brand tokens in subdomains, IP-literal hosts, @-tricks, TLD abuse, punycode, ports). This makes it immediately distinguishable from adjacent sibling tools such as dev_url_parser, dev_page_verify and live_url_metadata.

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 gives a clear usage context: "the pre-click check for links from emails, QR codes or chat" and "when an agent needs to risk-score a URL before clicking or calling it." However, it never names a when-not condition or an alternative tool (e.g. a live fetch/verification tool) for cases where static string analysis is insufficient.

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