Skip to main content
Glama

lookup_registration

Read-onlyIdempotent

Look up a domain's registration via RDAP: registrar, expiry, EPP status, nameservers, DNSSEC, abuse contact. Confirms if registered, not_registered, or unknown with reason.

Instructions

Use this when the user asks who owns a domain, when it expires, which registrar or nameservers it has, whether it is registered, or whether a transfer or delete lock is set — the WHOIS question. Read a domain's registration from the registry over RDAP: registrar (with IANA id), registration/last-changed/expiry dates, EPP status codes verbatim, nameservers, whether the delegation is DNSSEC-signed, and an abuse contact where one is published — redacted: true is the post-GDPR norm, not a failure. Observation only: no record is composed, and pendingDelete or a near expiry is something to REPORT, never advice to buy. status is registered | not_registered | unknown, and unknown is NOT absence — the registry did not answer, and reason says whether that was a rate limit, a timeout, a registry error, or a TLD with no RDAP service. Never tell anyone a name is free unless status is exactly not_registered.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesThe domain to check, e.g. example.com. Bare registrable names and subdomains both work; scheme, path or port do not belong here. Unicode names are accepted and normalized to punycode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description aligns by stating 'Observation only: no record is composed.' It then adds substantial context beyond the annotations: redacted:true is the normal post-GDPR outcome rather than a failure, unknown means the registry did not answer (not absence) with a reason field distinguishing rate-limit/timeout/error/no-RDAP-service, and the instruction to report rather than advise. No contradiction with annotations.

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?

A single dense paragraph, but every clause earns its place: the front-loaded trigger, the RDAP field inventory, the redacted-normal caveat, and the critical guardrails about status semantics and buy-advice. It is long but information-dense with no filler; a slightly more structured layout would push it to a 5, but the density is justified for a decision-relevant lookup tool.

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?

With no output schema, the description carries the full burden of explaining the return semantics, and it does so thoroughly: enumerates the returned fields (registrar with IANA id, dates, EPP status codes, nameservers, DNSSEC delegation, abuse contact), defines all three status values, and covers failure modes (rate limit, timeout, registry error, TLD without RDAP). Nothing an agent needs to interpret the response correctly is missing.

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% — the schema already documents the domain parameter thoroughly (format, bare names and subdomains accepted, punycode normalization, exclusion of scheme/path/port). The description adds no parameter-specific detail beyond what the schema provides; its extra information concerns response semantics (status values, reason), which belongs to behavioral transparency rather than parameter semantics. 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?

Opens with a precise trigger condition ('Use this when the user asks who owns a domain... the WHOIS question') and names the specific operation: read a domain's registration from the registry over RDAP. The verb+resource is unmistakable, and no sibling tool performs WHOIS/registration lookup, so it distinguishes itself clearly without needing to name an alternative.

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?

Gives an explicit when-to-use with a concrete list of triggering questions (ownership, expiry, registrar, nameservers, registration status, transfer/delete locks). It also adds strong post-call behavioral guidance — never advise buying on pendingDelete, never claim a name is free unless status is exactly not_registered. It stops short of naming specific sibling alternatives or when-not conditions, which keeps it at a 4 rather than a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.