Skip to main content
Glama

Restore a domain

domain_restore

Restore an expired domain that is still within its restore period, with the price shown for confirmation before completion.

Instructions

Restore an expired domain still in its restore period (see domain_restore_info). The price is checked with Gandi and shown to the user, who confirms outside the conversation; if the result is confirmation_pending, call again with the same arguments and the returned confirmation_id once the user answered.

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

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name, e.g. example.com (Unicode accepted).
accountNoAccount name; the default account when omitted.
confirmation_idNoIdentifier returned by a pending confirmation, once the user has answered on the page opened in their browser. Never invent one.
paying_organizationNoOrganization paying this order (from list_organizations); the account's paying organization when omitted.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only flag it as a non-read-only, open-world, non-idempotent, non-destructive write. The description adds genuinely new behavior: a Gandi price lookup surfaced to the user and a two-step out-of-band confirmation handshake, which explains why the tool is not idempotent. It stops short of naming failure modes (domain no longer in restore period, price change) or what a non-pending terminal result means.

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 tight sentences; the eligibility constraint and the domain_restore_info pointer come first, then the confirmation flow. Nothing is repeated from the schema or annotations.

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?

For a mutation with 4 params, full schema coverage, an output schema, and existing safety annotations, the description covers the one thing structured fields cannot: the cross-turn confirmation protocol. An agent has everything needed to call it correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description supplies the workflow semantics of confirmation_id that the schema alone does not: it is only relevant on a retry following a confirmation_pending result, and must be paired with identical arguments.

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+resource (restore an expired domain) with a hard scope constraint (still in its restore period) and explicitly routes to domain_restore_info for eligibility checking, distinguishing it from that sibling.

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?

Gives explicit when-to-use (expired domain, still restorable) and a full follow-up protocol: user confirms outside the conversation, and if the result is confirmation_pending the agent must re-call with the same arguments plus the returned confirmation_id. No inference required.

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

Deploy Server

Other Tools