Skip to main content
Glama

Domain Lookup

domain_lookup
Read-onlyIdempotent

Get full registration details for a domain. Returns registrar (with IANA id and abuse email/phone), registrant name/organisation/country where the registry publishes them (registrant_status says published / redacted / not_published_by_registry), registration/expiration dates, nameservers, DNSSEC status, status flags and the RDAP server consulted. An unregistered name returns registered:false; an unreachable registry returns registered:null with a note, never an empty body. Works for any TLD with a public RDAP service.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "google.com"
    },
    "name": "domain_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name to look up (e.g., "google.com", "bbc.co.uk")

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "domain": "google.com"
      -  },
      -  {
      -    "domain": "bbc.co.uk"
      -  }
      -]New value: +[
      +  {
      +    "domain": "google.com"
      +  },
      +  {
      +    "domain": "bbc.co.uk"
      +  },
      +  {
      +    "domain": "web.dev"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "oneOf": [
      +    {
      +      "properties": {
      +        "domain": {
      +          "description": "Domain name queried",
      +          "type": "string"
      +        },
      +        "error": {
      +          "description": "Error message when domain not found",
      +          "type": "string"
      +        },
      +        "registered": {
      +          "description": "Domain registration status",
      +          "enum": [
      +            false
      +          ],
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "domain",
      +        "registered",
      +        "error"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "dnssec": {
      +          "description": "DNSSEC delegation signed status",
      +          "type": "boolean"
      +        },
      +        "domain": {
      +          "description": "Domain name (LDH form)",
      +          "type": "string"
      +        },
      +        "expiration_date": {
      +          "description": "ISO 8601 expiration date",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "last_changed": {
      +          "description": "ISO 8601 last change/update date",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "nameservers": {
      +          "description": "Authoritative nameserver hostnames",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "registered": {
      +          "description": "Domain is registered",
      +          "enum": [
      +            true
      +          ],
      +          "type": "boolean"
      +        },
      +        "registrant": {
      +          "description": "Registrant name or organization",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "registrar": {
      +          "description": "Registrar name or organization",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "registration_date": {
      +          "description": "ISO 8601 registration date",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "status": {
      +          "description": "Domain status flags (e.g., active, clientHold)",
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "unicode_name": {
      +          "description": "Unicode/IDN representation of domain",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "domain",
      +        "unicode_name",
      +        "registered",
      +        "status",
      +        "registrar",
      +        "registrant",
      +        "registration_date",
      +        "expiration_date",
      +        "last_changed",
      +        "nameservers",
      +        "dnssec"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "domain": "google.com"
      +  },
      +  {
      +    "domain": "bbc.co.uk"
      +  }
      +]
  4. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description still adds real value by disclosing failure semantics: registered:false for unregistered names, registered:null plus a note for unreachable registries, and a guarantee of never returning an empty body.

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 purpose, then a compact enumeration of return fields and edge-case behavior. Dense but every clause carries information; no filler 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?

Covers purpose, return contents, and the two non-obvious outcomes (unregistered vs unreachable registry) that an agent must handle. With an output schema present, the description need not do more.

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?

Only one parameter, and schema description coverage is 100%, so the schema already documents the domain argument with examples. The description adds no syntax or format detail beyond what the schema provides, making the baseline 3 appropriate.

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?

States a specific verb and resource ('Get full registration details for a domain') and enumerates the returned fields, so the agent knows exactly what it retrieves. It does not explicitly differentiate itself from the sibling domain_status, leaving that distinction to inference.

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 implied by the purpose (look up registration data for a domain) and the note that it works for any TLD with a public RDAP service. There is no explicit when-to-use/when-not guidance and no named alternative such as domain_status.

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.