Skip to main content
Glama

Cancel a transfer or resend its email

lw_domain_transfer_manage

Cancel a pending domain transfer, resend its authorization email, or delete the transfer record; preview the transfer status and confirm writes before execution.

Instructions

Act on an existing transfer (bleed Network/DNS/Domain/Transfer/cancelTransfer, resendEmail or delete). cancel stops a pending transfer if is_cancellable; resend_email resends the authorization email for an incoming transfer; delete_record removes the transfer record. cancel and delete_record need the transfer uniq_id from lw_domain_transfers, so the approved target cannot change; resend_email also accepts the domain (its most recent transfer). Preview shows the transfer's current status. 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_transfer_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do with the transfer.
domainNoDomain, to use its most recent transfer. Give this or uniq_id.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
uniq_idNoTransfer uniq_id from lw_domain_transfers (the transfer record, not the domain registration).
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.3/5.0
Behavior4/5

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

Beyond the annotations, it discloses the LW_ALLOW_WRITES permission gate, the two-step preview/confirm_token protocol, and the is_cancellable precondition — none of which the annotations convey. The one tension is that delete_record 'removes the transfer record' while destructiveHint is false; this reads as the annotation scoping destruction to the domain rather than the record, and the description is the more informative of the two.

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 set, then the per-action semantics, then the write/confirmation constraint. Mostly efficient, though the parenthetical CLI-style API path ('bleed Network/DNS/Domain/Transfer/cancelTransfer') is implementation detail that adds little for an agent and slightly crowds the opening sentence.

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?

Given an output schema exists, the description need not document return shape, and the one line about preview returning current status suffices. It covers all three actions, the auth surface, and the mutation safety protocol; only the precise meaning of a successful cancel or delete (e.g. post-state) is left implicit.

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 a 3 is the baseline, but the description adds real meaning: uniq_id must come from lw_domain_transfers and pins the target so it cannot change mid-flow, and domain resolves to the most recent transfer. The first-call-empty/confirmed-call-token pattern is also explained rather than left to the schema text.

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 class and resource ('act on an existing transfer') and enumerates the three concrete actions (cancel, resend_email, delete_record) plus the upstream API path. It also distinguishes itself from the sibling lw_domain_transfers, which is where the uniq_id comes from, so an agent can tell the read/list tool from this act-on-it tool without opening schemas.

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?

Each action carries a condition: cancel applies only when is_cancellable, resend_email is for an incoming transfer, delete_record removes the record. The 'preview first' prerequisite further scopes correct invocation. There is no explicit exclusion of a nearby alternative, which keeps this just short of a 5.

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