Skip to main content
Glama

capabilities

Check domain expiry date and days remaining (RDAP)

domain_expiry
Read-onlyIdempotent

Registry expiry date for a domain read live from the authoritative registry RDAP server, with whole days remaining, the registry status codes, the registrar name and the registry's own last-update timestamp. A focused, cheaper subset of domain.registration for renewal monitoring and portfolio checks. Use when: When does this domain expire? Not for: You also need nameservers, DNSSEC, the creation date or the registrar's abuse contact - use domain.registration. Related: domain_registration. Price: USD 0.002/call (x402), 0.0015 (account key).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesBare domain name such as example.com or bbc.co.uk. Internationalised names are converted to punycode (IDNA). URLs, paths, ports and single-label names are rejected.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesCapability output; full JSON Schema at https://api.eckari.com/v1/capabilities/domain.expiry
metaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedOutput schema / properties / data / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / data / description
      Added value: +"Capability output; full JSON Schema at https://api.eckari.com/v1/capabilities/domain.expiry"
    • removedOutput schema / properties / data / properties
      Removed value: -{
      -  "days_until_expiry": {
      -    "description": "Whole days from now to expires_at, floored; negative when already past expiry.",
      -    "type": [
      -      "integer",
      -      "null"
      -    ]
      -  },
      -  "domain": {
      -    "description": "ASCII (punycode) domain name as recorded by the registry.",
      -    "type": "string"
      -  },
      -  "expires_at": {
      -    "description": "Registry expiry date (RDAP expiration event); null when the registry does not publish one.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "registered": {
      -    "description": "True when the registry returned a record; false when the registry has no record.",
      -    "type": "boolean"
      -  },
      -  "registrar_name": {
      -    "description": "Registrar name from the RDAP registrar entity.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "status": {
      -    "description": "RFC 9083 status values (the RDAP spelling of EPP status codes), lower-cased and sorted.",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "terms_url": {
      -    "description": "Link to the first notice the registry published with this response - normally its terms of service. Those terms govern your use of this data. Null when the registry published no notice link. domain.registration returns the full notices list.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / data / required
      Removed value: -[
      -  "domain",
      -  "registered",
      -  "expires_at",
      -  "days_until_expiry",
      -  "status",
      -  "registrar_name",
      -  "terms_url"
      -]
    • addedOutput schema / properties / meta / properties / attribution_url
      Added value: +{
      +  "format": "uri",
      +  "type": "string"
      +}
    • addedOutput schema / properties / meta / properties / retrieved_at / format
      Added value: +"date-time"
    • addedOutput schema / properties / meta / required
      Added value: +[
      +  "capability",
      +  "version",
      +  "retrieved_at",
      +  "source",
      +  "freshness",
      +  "request_id"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and no destruction. The description adds that the tool reads 'live from the authoritative registry RDAP server' and includes pricing details (USD 0.002/call). This provides useful behavioral context beyond annotations, though it could mention rate limits or authentication needs if any.

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?

The description is a single paragraph with clear front-loading: first sentence states the core functionality and outputs, second sentence outlines usage boundaries. Every sentence adds value with no redundancy or fluff.

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?

Given the low tool complexity (1 parameter, output schema present), the description fully covers what the tool returns, when to use it versus alternatives, and pricing. No gaps are evident for effective agent invocation.

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 description coverage is 100% for the single parameter 'domain'. The schema already thoroughly describes the parameter format (bare domain, punycode conversion, rejection of URLs/paths). The tool description does not add new parameter-level semantics beyond stating it accepts a domain name. Baseline score of 3 is appropriate given high schema coverage.

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 clearly states the tool's purpose: check domain expiry date and days remaining using RDAP. It lists specific outputs (registry status codes, registrar name, last-update timestamp). It also distinguishes itself from the sibling tool 'domain_registration' by noting it is a cheaper subset focused on renewal monitoring, thereby avoiding ambiguity.

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?

The description explicitly states when to use ('When does this domain expire?') and when not to ('Not for: You also need nameservers, DNSSEC... - use domain.registration'). It also mentions a related tool (domain_registration), providing clear guidance on alternatives.

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