Skip to main content
Glama

Email a domain's auth (EPP) code

lw_domain_send_epp_code
Idempotent

Requests that Liquid Web email a domain's auth/EPP code to the registrant contact for transfer-out; preview first, then confirm. The API never returns the code.

Instructions

Ask Liquid Web to send a domain's auth/EPP code (bleed Network/DNS/Domain/Transfer/sendEPPCode by uniq_id). The code is emailed, never returned by the API or this tool. Per Liquid Web docs, transfer mail goes to the registrant email; the exact recipient of this method is Unverified. Preview lists the contact emails on file. Does not unlock the domain; for a full transfer out use lw_domain_transfer_out. Write: needs LW_ALLOW_WRITES, then a confirmation step (preview first).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lw_domain_send_epp_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, openWorldHint=true, so the safety profile is supplied structurally. The description nonetheless adds real context beyond them: the code is never returned in the response, the recipient is 'Unverified' per Liquid Web docs, a write-permission flag is required, and the call is two-phase via a confirmation token. That is meaningful added disclosure for a non-read-only tool.

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 core action and the key surprise (code is emailed, not returned), then prerequisites and the sibling alternative. It is dense but nearly every clause carries information; the garbled API path fragment and the terse 'Unverified' phrasing are the only wasted/fuzzy bits.

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?

An output schema exists, so return-value documentation is unnecessary, and the description covers what the schema cannot: delivery channel, recipient uncertainty, write-flag gating, confirmation flow, and the transfer-out alternative. An agent has everything needed to invoke it correctly without a trial call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all four parameters (domain, uniq_id, context, confirm_token) are already documented, including the preview-then-repeat pattern for confirm_token. The description's mentions of 'by uniq_id' and 'Preview lists the contact emails on file' largely restate what the schema says, adding little new parameter meaning. Baseline 3 applies.

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 ('Ask Liquid Web to send a domain's auth/EPP code') and immediately clarifies the output medium ('emailed, never returned by the API or this tool'). It also names the sibling it is not (lw_domain_transfer_out) for full transfers, so an agent can distinguish it without opening a schema. The embedded API path fragment is noisy but does not obscure the purpose.

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 (retrieve the EPP code for a transfer), an exclusion ('Does not unlock the domain'), and a named alternative ('for a full transfer out use lw_domain_transfer_out'). It also spells out the operational precondition chain: LW_ALLOW_WRITES, then preview, then confirmed execution.

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