Skip to main content
Glama

Update server login on file

lw_server_update

Updates the stored username and/or password for a Liquid Web server via v2, with a preview-and-confirm step. Use lw_asset_update to change the recorded hostname.

Instructions

Update the username and/or password Liquid Web stores for a server (v2 server/update). The v2 method takes only username and password; to change the recorded hostname use lw_asset_update with domain. The password is never echoed back in previews or results. 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_server_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
accntNoAccount number to act on, for users with access to more than one account. Omit for your own account.
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.
passwordNoNew password to store. Sensitive; it is never shown in output.
usernameNoLogin username to store.
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
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, openWorldHint=true and idempotentHint=false, so the safety profile is already known. Repeating 'Write:' adds little, but the two pieces of real context are the LW_ALLOW_WRITES gate and the fact that the password is never echoed in previews or results, which is genuinely useful for a credential-mutating call. The confirm-token preview flow is described here too, but the schema's confirm_token description already carries that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the verb and resource, then the sibling disambiguation, then the write/confirmation requirement. No filler and no repetition of schema content.

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 not be described, and annotations cover the mutability profile. The description still supplies the write gate, the preview-then-execute requirement and the credential-handling caveat, which is everything an agent needs to call a 6-parameter mutation safely.

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, and the description adds meaning by scoping the mutable payload to username and password only, which tells the agent the remaining parameters are targeting/plumbing rather than fields being changed. It also clarifies that the password value will not appear in output, which affects how the agent should treat the parameter.

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 ('Update the username and/or password Liquid Web stores for a server') and anchors it to the underlying API method (v2 server/update). It also explicitly carves out the neighboring case, telling the agent that hostname changes belong to lw_asset_update with domain, so this tool is distinguishable from siblings 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?

Gives clear routing guidance for the closest confusable case (hostname) by naming lw_asset_update, and describes the required confirmation workflow. It does not distinguish this from other password-adjacent siblings such as lw_server_password or lw_server_credentials, so an agent still has to infer which of those to pick.

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