Skip to main content
Glama

Update domain contacts (WHOIS)

lw_domain_contacts_update
Idempotent

Replace registrant, admin, and tech contacts on a domain, previewing changes before applying and defaulting admin/tech to the registrant when omitted.

Instructions

Replace the registrant, admin and tech contacts on a domain (bleed Network/DNS/Domain/Contact/update). The API needs all three; admin and tech default to a copy of the registrant when omitted. Preview fetches the current contacts and shows before and after. A registrant change can trigger registrar verification email and a transfer lock. 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": {
      "registrant": "<registrant>"
    },
    "name": "lw_domain_contacts_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
techNoTech contact. Defaults to the registrant.
adminNoAdmin contact. Defaults to the registrant.
domainNoRegistered domain name, e.g. example.com. Give this or uniq_id.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
uniq_idNoSix-character Liquid Web uniq_id of the domain registration (from lw_domain_list or lw_domain_details).
registrantYesDomain contact (WHOIS) record. Field names match the Liquid Web API.
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.
sync_all_with_billingNoSync all contacts with the account billing contact (API flag sync_all_with_billing; exact effect Unverified).
use_lw_for_tech_contactNoUse Liquid Web as the tech contact (API flag use_LW_for_tech_contact).

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?

Adds substantial behavior beyond the annotations: the API requires all three contact sets, admin/tech default to copies of the registrant, preview fetches and shows before/after, and a registrant change can trigger a registrar verification email and a transfer lock. It also discloses the LW_ALLOW_WRITES gating and the two-step confirmation flow, which nothing in the annotations conveys.

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 action, then side effects, then the write/confirmation requirement — a sensible ordering for an agent deciding whether to call. The parenthetical internal path "(bleed Network/DNS/Domain/Contact/update)" is backend jargon that adds little for selection, and the closing "(preview first)" partially repeats the earlier preview sentence.

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 9-parameter nested mutation with an output schema, the description covers the essentials an agent needs: authorization prerequisite, mandatory confirmation flow, defaulting behavior, and the riskier side effects of a registrant change. Return-value details are rightly 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 100%, so the baseline is 3; the description earns above that by explaining that although only registrant is required, the API expects all three and silently copies the registrant into admin/tech when omitted. It also clarifies the preview/confirm_token round-trip conceptually, though the schema already documents that field thoroughly.

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: "Replace the registrant, admin and tech contacts on a domain." The internal API path in parentheses confirms the operation, and the read-only sibling lw_domain_contacts is implicitly distinguished by the explicit "Replace" semantics and the following write/preview discussion.

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 clear operational context: needs LW_ALLOW_WRITES, then a confirmation step with preview first. It explains the preview-vs-execute sequencing explicitly. It stops short of naming a sibling alternative (e.g., lw_domain_contacts for reading current contacts), so it is not a full when/when-not routing statement.

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