Skip to main content
Glama

Public Suffix (eTLD+1) parse (paid: 0.003 RLUSD / 0.003 USDC on XRPL / 0.003 USDC on Base / 0.003 RLUSD on Base via x402)

public_suffix
Read-only

Paid: 0.003 RLUSD or 0.003 USDC per call via x402 on XRPL mainnet (xrpl:0), or 0.003 USDC on Base (eip155:8453). Pay per call, solves one question: What are the public suffix and registrable domain (eTLD+1) of this hostname? Parses one bare hostname against a pinned snapshot of the Public Suffix List (publicsuffix.org, MPL-2.0): public suffix, registrable domain, subdomain, matched rule, ICANN or private section, with the list version. IDN accepted (returned in ASCII and Unicode). Local only; no DNS, WHOIS or RDAP lookup; not an ownership, availability or trust statement. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.

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": {
      "host": "<host>"
    },
    "name": "public_suffix"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesbare hostname, e.g. www.example.co.uk (no scheme, path or port)
include_privateNo1 (default) or 0 to ignore the PRIVATE section of the list
payment_signatureNoOptional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the paid x402 flow, supported networks and prices, the unpaid-call error behavior with a fresh invoiceId, and the retry path using _meta["x402/payment"] or payment_signature. It also states the parsing is local-only and does not perform DNS, WHOIS, or RDAP lookups.

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 purpose and payment context are front-loaded and the content is mostly relevant. It is somewhat dense and repeats the paid price context already present in the title, but the details about payment retry and output fields generally earn their place.

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?

There is no output schema, but the description enumerates the returned pieces: public suffix, registrable domain, subdomain, matched rule, ICANN or private section, and list version. It also covers the paid-call lifecycle and error behavior thoroughly enough for an agent to invoke it correctly.

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 the schema already documents host, include_private, and payment_signature. The description adds limited parameter-specific meaning, mainly that IDN is accepted and that payment_signature is the fallback for hosts that cannot set _meta["x402/payment"].

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 states a specific computation: public suffix and registrable domain (eTLD+1) for one hostname. It also scopes the operation by saying it is local-only and not a DNS, WHOIS, RDAP, ownership, availability, or trust check, which distinguishes it from related tools such as dns_records.

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 clearly frames the use case as answering exactly one question about a hostname and gives explicit exclusions for what the tool is not for. It does not name a specific alternative sibling, but the when-to-use context and boundaries are clear.

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