Skip to main content
Glama

Check a domain registration expiry

check_domain_expiry
Read-onlyIdempotent

Looks up a domain registration over RDAP at the registry for its TLD: when it expires, the registrar, the statuses (flagging a hold, redemption, pending delete or pending transfer) and the nameservers. Subdomains are looked up by their registered domain (www.example.co.uk becomes example.co.uk).

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": "check_domain_expiry"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesA public domain name, like example.com. A URL also works: only its host name is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered; the description adds real value by naming the RDAP protocol, registry-per-TLD routing, and the status flags it surfaces (hold, redemption, pending delete, pending transfer). It stops short of describing failure behavior for unregistered or unsupported TLDs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tightly packed sentences with no filler; the core purpose leads and the subdomain normalization rule follows as the practical caveat.

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?

No output schema exists, yet the description enumerates the return fields (expiry, registrar, statuses, nameservers), which is exactly what an agent needs to decide whether to call it. Combined with annotations, nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 domain format and URL tolerance. The description still adds meaning the schema lacks: subdomains are resolved to their registered domain before lookup.

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?

States a specific verb and resource ('looks up a domain registration over RDAP at the registry for its TLD') and enumerates the exact data returned. The focus on registration/expiry cleanly separates it from the sibling check_certificate, which covers certificates.

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?

Implied usage is clear from the expiry/RDAP framing, and the subdomain rule ('www.example.co.uk becomes example.co.uk') tells the agent how to prepare input. However, it never explicitly says when to use this versus check_certificate, nor whether lookups for private or non-registered domains are supported.

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