Skip to main content
Glama

WHOIS privacy: enable, disable or purchase

lw_domain_privacy

Enable, disable, or purchase WHOIS privacy for a registered domain, with a preview and confirmation step before changes are applied.

Instructions

Change WHOIS privacy on a registration (bleed Network/DNS/Domain/enablePrivacy, disablePrivacy or purchasePrivacy by uniq_id). action=purchase orders privacy for a domain that does not have it and COSTS MONEY (price not exposed by the API; check the portal). enable/disable toggle privacy the domain already has. Preview shows privacy, has_privacy and privacy_allowed. 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": {
      "action": "<action>"
    },
    "name": "lw_domain_privacy"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesenable or disable existing privacy, or purchase it.
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).
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.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that purchase incurs a charge not returned by the API, that writes require LW_ALLOW_WRITES, and that execution needs a confirm_token obtained from a preview call. Minor gap: it does not say whether enable/disable are free or immediately reversible, which matters given idempotentHint=false.

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-loads the operation and the three actions, then layers cost, permission and confirmation details efficiently. The opening contains a garbled fragment ('bleed Network/DNS/Domain/enablePrivacy') that adds noise, though the rest of the text is dense with useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the essential pieces for a billable mutation: cost warning, write permission, two-step confirmation flow, and preview fields (an output schema exists, so return shape needs no explanation). It could still say what happens if the domain is not privacy-eligible or how a failed confirmation manifests, but the core is complete.

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 already 100%, so the baseline is 3; the description earns extra credit by attaching real cost and precondition semantics to the action enum values (purchase = billable, enable/disable = toggle existing privacy) and by explaining that the preview surfaces the privacy, has_privacy and privacy_allowed fields. It does not add format or sourcing detail for context or confirm_token beyond the schema.

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 — changing WHOIS privacy on a registration — and enumerates the three action variants (enable, disable, purchase) with the identifier they operate on. An agent can distinguish this from sibling tools like lw_domain_details or lw_domain_price without opening the schema.

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 conditional routing: purchase is only for domains that do NOT already have privacy and costs money, while enable/disable toggles privacy the domain already has. It also states the prerequisite (LW_ALLOW_WRITES) and the required preview-then-confirm workflow, so the agent knows the correct call sequence.

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