Skip to main content
Glama

Rename or relabel an asset

lw_asset_update
Idempotent

Update an asset's custom name, description, or Liquid Web-recorded domain. Preview the before/after first, then confirm; domain changes affect records only, not the server hostname.

Instructions

Change an asset's custom name, custom description or the domain (hostname) Liquid Web has on file (v2 asset/update). Changing domain only updates Liquid Web records; it does not change the hostname on the server. Preview shows before and after. 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": {
      "uniq_id": "<uniq_id>"
    },
    "name": "lw_asset_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
accntNoAccount number to act on, for users with access to more than one account. Omit for your own account.
domainNoHostname/FQDN to record for the asset, e.g. host.example.com.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
uniq_idYesSix-character asset id (uniq_id), e.g. "ABC123". Get it from lw_asset_list or lw_server_list.
custom_nameNoNew display name.
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.
custom_descriptionNoNew free-text description.

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
Behavior4/5

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

Going beyond annotations, it discloses the two-phase write flow (preview, then repeat with a token), the required write-scope flag, and the limited blast radius of a domain change. It doesn't address whether omitting custom_name/custom_description/domain leaves those values untouched, which matters for a partial-update mutation with destructiveHint=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?

Four dense sentences, front-loaded with the mutating capability and followed by the scope caveat and the write workflow. The telegraphic 'Write: needs LW_ALLOW_WRITES, then a confirmation step (preview first)' is efficient but slightly compressed in style.

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 values need no explanation, and annotations already cover read-only/write, idempotency, and destructiveness. The description supplies the remaining essentials an agent needs: permission scope, the token confirmation loop, and the caution that domain edits are record-only.

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 the parameters (including the preview/confirm_token loop) are already documented in structured form. The description's mention of the fields and the preview behavior largely restates that, adding little syntax or edge-case meaning 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?

The description names a specific verb and resource ('Change an asset's custom name, custom description or the domain') and enumerates the exact mutable fields, including the parenthetical API endpoint (v2 asset/update). The caveat that 'Changing domain only updates Liquid Web records; it does not change the hostname on the server' separates it from a server-hostname mutation like lw_server_update.

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?

It clearly states preconditions and workflow: 'needs LW_ALLOW_WRITES' and 'a confirmation step (preview first)', plus the negative guidance that this tool won't rename the hostname on the server. It stops short of naming an alternative tool for the server-side hostname change, so the exclusions are informative but not fully routed.

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