Skip to main content
Glama

Top-level domain facts

get_tld_info
Read-onlyIdempotent

Facts about one top-level domain from local datasets: whether it is delegated in the root zone, its type (country-code or infrastructure when derivable), the registry's RDAP server, root-zone name servers, whether the root zone publishes a DS record (DNSSEC) and which DS algorithms, and any Web3 namespace that claims the same label (for example .eth, .crypto, .bnb, or a collision such as .xyz).

Use it to answer where to send an RDAP query for a TLD, whether a TLD is signed, or whether a name under it could mean something else on a blockchain. For one domain use lookup_target instead.

Behavior: offline and instant, answered from synced IANA and root-zone data; makes no network call. A field without data is omitted, never guessed. Registry operator and delegation date are not included.

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": {
      "tld": "<tld>"
    },
    "name": "get_tld_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
tldYesone top-level domain with or without the leading dot, e.g. com, .de, xn--p1ai or рф. A full domain name is not accepted

Output Schema

NameRequiredDescriptionDefault
tldYesthe TLD in ASCII (punycode) form
typeNocountry-code or infrastructure, when derivable
dnssecNothe root zone publishes a DS record for the TLD
changesNorecent entries of this instance's dataset change log about the TLD (newest first); a difference between two of its downloads, dated by the download
summaryNothe human-readable fact sheet, the same text as the text content
unicodeNo
collisionNodelegated in the root zone and also a Web3 namespace
delegatedYesdelegated in the root zone
descriptionNoa short paragraph built from the other fields (kind, operator, name servers, DNSSEC, zone size); every sentence is backed by a field, and it never says whether a TLD is a closed brand
details_urlNothe TLD page
nameserversNoroot-zone name servers
rdap_serverNo
ns_addressesNoroot-zone name servers that have glue, with each address and the RIR registry and country of its block (where the block was allocated, not where an anycast server runs)
ds_algorithmsNo
web3_namespacesNoWeb3 namespaces that claim this label

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / description
      Added value: +{
      +  "description": "a short paragraph built from the other fields (kind, operator, name servers, DNSSEC, zone size); every sentence is backed by a field, and it never says whether a TLD is a closed brand",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / changes
      Added value: +{
      +  "description": "recent entries of this instance's dataset change log about the TLD (newest first); a difference between two of its downloads, dated by the download",
      +  "items": {
      +    "properties": {
      +      "at": {
      +        "type": "string"
      +      },
      +      "dataset": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "type": "string"
      +      },
      +      "subject": {
      +        "type": "string"
      +      },
      +      "summary": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "at",
      +      "dataset",
      +      "kind",
      +      "subject",
      +      "summary"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
    • addedOutput schema / properties / ns_addresses
      Added value: +{
      +  "description": "root-zone name servers that have glue, with each address and the RIR registry and country of its block (where the block was allocated, not where an anycast server runs)",
      +  "items": {
      +    "properties": {
      +      "addresses": {
      +        "items": {
      +          "properties": {
      +            "country": {
      +              "type": "string"
      +            },
      +            "ip": {
      +              "type": "string"
      +            },
      +            "registry": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "ip"
      +          ],
      +          "type": "object"
      +        },
      +        "type": [
      +          "null",
      +          "array"
      +        ]
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "addresses"
      +    ],
      +    "type": "object"
      +  },
      +  "type": [
      +    "null",
      +    "array"
      +  ]
      +}
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is settled. The description still adds real value by stating it is offline and instant, makes no network call, sourced from synced IANA and root-zone data, that absent fields are omitted rather than guessed, and that registry operator and delegation date are deliberately excluded. The only gap is data freshness or how often the local dataset syncs.

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 three-paragraph structure is front-loaded correctly: what it returns, when to use it, then behavior and exclusions. The first sentence is long, but every clause maps to a distinct returned field, and the usage and behavior sections carry non-redundant information. Slightly dense, no wasted sentences.

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?

An output schema exists, so return values need no prose explanation. The description still covers the offline/no-network trait, the omission policy, and explicitly states what is not included, which is exactly what an agent needs to avoid misreading an empty result as an error or as proof of non-existence.

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?

With a single parameter at 100% schema coverage, the schema already documents the accepted formats (leading dot optional, IDN/Punycode, full domain rejected). The description contributes no syntax or validation detail beyond the schema; its 'for example .eth, .crypto' examples illustrate output categories rather than input handling. Baseline 3 is appropriate.

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 resource (one top-level domain) and enumerates exactly what is returned: delegation status, type, RDAP server, root-zone name servers, DS/DNSSEC algorithms, and Web3 namespace collisions. It also explicitly routes domain-level questions to lookup_target, so an agent can distinguish it from the sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives three concrete question types the tool answers (where to send an RDAP query, whether a TLD is signed, whether a label collides with a blockchain namespace) and names the alternative for the adjacent case: 'For one domain use lookup_target instead.' Both when-to-use and when-not-to-use are covered.

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