Skip to main content
Glama

Get a server's root password

lw_server_password
Read-onlyIdempotent

Retrieve the stored root or Administrator password for a specific server by six-character asset ID when explicitly needed; requires secret access enabled.

Instructions

Return the stored root/Administrator password for a server (v2 server/password). Only use when the user explicitly needs it. Do not repeat it in later messages or logs. Returns credentials: needs LW_ALLOW_SECRETS.

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_password"
  }
}

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.

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.4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses the authorization requirement ('needs LW_ALLOW_SECRETS') and a handling constraint about not re-emitting the secret — exactly the kind of context annotations cannot carry. It also makes clear the return is sensitive credential material, which shapes how an agent should treat the result.

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?

Three short sentences, front-loaded with what is returned, followed by the usage gate and the sensitivity warning. No filler or restatement of the title.

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?

An output schema exists so return shape need not be described, and the permission prerequisite plus sensitivity warning cover the key behavioral risks. Only minor gaps remain, such as what happens when LW_ALLOW_SECRETS is absent or whether the credential can rotate between calls.

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 uniq_id, accnt, and context are already fully documented including where to obtain uniq_id and how to omit the defaults. The description adds no parameter-level meaning on top of that, making the baseline 3 correct.

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 concrete verb and resource ('Return the stored root/Administrator password for a server') and even cites the underlying API endpoint (v2 server/password), which pins down exactly which credential is retrieved rather than leaving it ambiguous against lw_server_credentials or lw_asset_password.

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 a clear restrictive gate ('Only use when the user explicitly needs it') plus handling guidance not to repeat the value in later messages or logs. It does not name an alternative tool for the non-secret credential case, so the when-not-to-use side is implied rather than 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