Skip to main content
Glama

Register a domain

domain_register

Registers a domain for a chosen duration with owner and optional admin, tech, and billing contacts after checking availability and confirming the price.

Instructions

Buy a domain for a duration, with its owner (and optional admin, tech, billing) contacts, which only the user provides. Check the availability first with domain_check_availability. 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>",
      "duration": "<duration>",
      "owner": "<owner>"
    },
    "name": "domain_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
billNo
techNo
adminNo
ownerYes
domainYesDomain name, e.g. example.com (Unicode accepted).
accountNoAccount name; the default account when omitted.
durationYesDuration in years.
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.6/5.0
Behavior4/5

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

Annotations only declare readOnly=false, openWorld=true, idempotent=false, destructive=false; the description adds the far more important behavior — a real purchase where the price is fetched from Gandi and confirmed by the user outside the conversation, producing a pending-confirmation state. The only gap is that it doesn't state what happens on failure or whether a duplicate registration can occur if the flow is abandoned.

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?

Three sentences, front-loaded with purpose then prerequisite then confirmation mechanics; every sentence carries actionable content. The final sentence is long and slightly run-on, but no clause is disposable.

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 nine-parameter mutating purchase tool with an output schema, the description covers the things the schema cannot: the ordering dependency, the out-of-band user confirmation, and the meaning of the pending result. Return-value details are correctly left to the output schema.

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 56%, and the description compensates by explaining the contact roles (owner required, admin/tech/bill optional), that contact data must come only from the user, and the confirmation_id's meaning ('Never invent one'). It leaves account and paying_organization defaults entirely to the schema, which is a minor residual gap.

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 concrete verb and resource ('Buy a domain') and immediately scopes it with duration and the owner/admin/tech/bill contact roles. It also names the sibling it must not be confused with ('Check the availability first with domain_check_availability'), so an agent can route between the two without inspecting schemas.

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 an explicit prerequisite (availability check first) and a precise re-invocation protocol for the confirmation_pending case: call again with the same arguments plus the returned confirmation_id once the user has answered. This is exactly the when/how guidance an agent needs for a multi-step tool.

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