Skip to main content
Glama

Doichain

Check when names expire

check_name_expiry
Read-onlyIdempotent

Check up to 25 names at once: status (active, expiring_soon, expired, not_registered), blocks left, an estimated expiry date for active names (from the measured block interval) and the real expiry date for expired names. Names expire 36,000 blocks after their last update and are renewed by updating them from the owning wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesYesUp to 25 full names, for example ['d/example', 'poe/<sha256>']
warn_daysNoNames expiring within this many days are flagged expiring_soon

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive behavior. The description adds meaningful behavioral detail: the 36,000-block expiry rule, the distinction between estimated and real expiry dates, and the renewal mechanism. This goes well beyond the annotation surface.

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 compact and front-loaded, with the core capability ('Check up to 25 names at once') stated first. The second sentence earns its place by explaining the expiry mechanism necessary for interpreting the results. No filler or redundant wording.

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 presence of an output schema and strongly informative annotations, the description covers what the tool does, its batch limit, its status vocabulary, and the underlying expiry rule. Nothing essential for selecting or invoking this tool 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%, so the schema already explains both names and warn_days. The description adds context about the statuses and expiry calculation, but it does not materially enhance parameter-level understanding beyond what the schema supplies. A 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?

The description states a specific verb ('Check') and resource ('names expiry'), and enumerates concrete outputs (status, blocks left, estimated/real expiry dates). It distinguishes itself from siblings by emphasizing the batch capability of up to 25 names at once, which lookup_name and search_names do not offer.

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?

The description clearly indicates this is for checking multiple names in one call and provides the expiry rule context. It does not explicitly name alternatives or say when not to use it, but the batch-oriented wording and sibling names make the intended use clear.

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.