Skip to main content
Glama

Register domains (charges the account)

lw_domain_register

Register 1 to 5 new domains with a single WHOIS contact; first preview availability, price, limits, and nameservers, then confirm with a token to execute the paid registration.

Instructions

Register 1 to 5 new domains with one contact (one domain: v1 Network/DNS/Domain/register; 2 to 5: bleed multiRegister). COSTS MONEY. Preview checks availability and shows price, period limits, extended-attribute needs, the contact that will be used, and nameservers. The contact becomes registrant, admin and tech. The API has no field for TLD extended attributes, so TLDs that need them may fail here; use the portal for those. Write: needs LW_ALLOW_WRITES, then a confirmation step (preview first).

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": {
      "domains": "<domains>",
      "contact": "<contact>"
    },
    "name": "lw_domain_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoRegistration period in years, 1 to 10 (default 1).
contactYesDomain contact (WHOIS) record. Field names match the Liquid Web API.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
domainsYesDomains to register, e.g. ["example.com"].
privacyNoOrder WHOIS privacy (API default off; may cost extra).
auto_renewNoTurn auto-renew on (API default off).
nameserversNoNameservers to set, e.g. Cloudflare's pair. Omit for Liquid Web defaults.
confirm_tokenNoLeave empty on the first call to get a preview and a token. Repeat the call with identical parameters plus this token to execute.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the mutation profile; the description adds the material behavior an agent actually needs: the call costs money, requires LW_ALLOW_WRITES, and must be run twice via a confirm_token (preview then execute). It also discloses a real functional limitation (extended-attribute TLDs may fail) and the side effect that the contact becomes registrant, admin and tech.

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?

Front-loaded with the cost warning and scope, then the workflow and caveats; almost every sentence carries operational value. The parenthetical API-path asides ("v1 Network/DNS/Domain/register", "bleed multiRegister") are slightly noisy for an agent but do justify the 1-vs-many split.

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 money-spending, non-idempotent mutation with 8 parameters and a nested contact object, the description covers cost, auth gate, confirmation mechanism, side effects, and the one known failure mode. An output schema exists, so return values need not be explained.

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 adds meaning the schema cannot: a single contact object is reused as registrant, admin and tech for all listed domains, and confirm_token encodes the preview/execute two-phase pattern. It does not elaborate on years, privacy, auto_renew, or nameservers beyond what the schema already documents.

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 ("Register 1 to 5 new domains with one contact") and even names the two underlying API endpoints for the 1-domain vs 2-5-domain cases. This clearly separates it from sibling operations like renew, transfer_in, or domain_list.

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?

Gives explicit when-to-use and when-not-to-use guidance: run the preview first, and fall back to the portal for TLDs that require extended attributes the API cannot express. It also flags the LW_ALLOW_WRITES prerequisite and the confirmation step. It stops short of routing to specific sibling tools (e.g. price or transfer paths), so it is strong but not exhaustive.

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