Skip to main content
Glama

WHOIS / RDAP Lookup

whois_lookup
Read-only

Look up a domain's registration over RDAP, or WHOIS where allowed: registrar, dates, status, name servers and DNSSEC. A name under a registered domain asks about that domain. No registrant data.

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": {
      "domain": "<domain>"
    },
    "name": "whois_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name, such as example.com; www.example.com asks about example.com

Output Schema

NameRequiredDescriptionDefault
domainYesThe registrable domain the server asked about.
reasonNoPresent only when available is false. It is no_registry_server when no registry server is known for the TLD, or quota_exhausted when the server reached its request limit for the registry server.
statusNoIt lists the first 16 status values.
creditsYes
availableYesfalse when the registry could not be asked. Then registered is null, and only reason and retry_after_seconds follow. It does not tell whether the domain is free to register.
created_atNoAn RDAP date as the server wrote it. A WHOIS date is YYYY-MM-DD or a UTC time. null when none can be read.
expires_atNoAs created_at.
registeredYestrue when the answer holds the registration. null when available is false. A domain that is not registered is an error, so it is never false.
updated_atNoAs created_at.
rdap_serverNoIt is the base URL of the RDAP server that was asked. null when a WHOIS server was asked.
name_serversNoIt lists the first 16 name servers.
status_countNoIt counts every status value, past the first 16 too.
whois_serverNoIt is the host of the WHOIS server that was asked. null when an RDAP server was asked.
dnssec_signedNoWhether the delegation is signed with DNSSEC. null when the answer does not say.
registrar_nameNo
name_server_countNoIt counts every name server, past the first 16 too.
registrar_iana_idNonull when the registration names none.
retry_after_secondsNoSeconds to wait before the server sends that request again. Present only when available is false. null unless reason is quota_exhausted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds substantive behavior on top: RDAP is tried first with WHOIS as a conditional fallback ('where allowed'), signaling that results and availability can vary by registry. It also discloses the exclusion of registrant data, which prevents misreading a sparse response as a failure.

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?

Two compact sentences, front-loaded with the action and returned fields, followed by scope notes. The middle sentence partially duplicates the schema's domain description, which is the only waste.

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 explanation; the description covers the protocol fallback, the acceptable input interpretation, and the data exclusion. For a single-parameter read-only tool this is everything an agent needs to call it and interpret an empty result.

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 coverage is 100% and the schema itself already explains the www.example.com → example.com normalization, so the description's 'a name under a registered domain asks about that domain' largely restates it. It adds a generalizes-to-parent-domain rule but no format or edge-case detail beyond the single parameter.

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 names a specific verb and resource ('Look up a domain's registration') and enumerates the returned data (registrar, dates, status, name servers, DNSSEC). It implicitly separates the tool from dns_lookup/ip_lookup via the registration framing, but never explicitly distinguishes registration data from DNS resolution data, which overlap on name servers and DNSSEC.

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 resource type rather than stated: no explicit when-to-use guidance or named alternative (e.g., dns_lookup for resolution). The one clear boundary given is scope-based — 'No registrant data' — which tells the agent what this tool will not return.

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.