Skip to main content
Glama

Get an asset's login

lw_asset_password
Read-onlyIdempotent

Retrieves the stored username and password for a Liquid Web asset by its six-character ID when you explicitly need the credential for access or configuration.

Instructions

Return the stored username and password for an asset (v2 asset/password). Only use when the user explicitly needs the credential. Do not repeat the password 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_asset_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/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts beyond that: the call requires LW_ALLOW_SECRETS and its output is a secret with associated handling obligations. It doesn't say what happens when LW_ALLOW_SECRETS is unset, which keeps it off a 5.

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 with zero filler: purpose and scope first, then the usage gate, then the security constraint. Every sentence carries actionable information, and the most important routing condition is front-loaded.

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 the description needn't explain the return shape, and the auth prerequisite plus secret-handling rule cover the main risks of a credential-reading tool. The only minor gap is the absence of failure guidance when the LW_ALLOW_SECRETS environment variable is absent.

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% — accnt, context and uniq_id are each documented, including where to obtain the six-character uniq_id. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ("Return the stored username and password for an asset") and even pins the API version (v2 asset/password). It implicitly separates itself from the server-credential sibling, but it never names lw_server_password, so an agent must infer the asset-vs-server distinction from the resource word alone.

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 gives a clear gating condition: "Only use when the user explicitly needs the credential," which prevents casual credential pulls. It also states a post-call handling rule ("Do not repeat the password in later messages or logs"). It stops short of naming the alternative tool for non-asset credentials, so this is strong context without full alternative routing.

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