Skip to main content
Glama

Get a server console address

lw_server_console
Read-onlyIdempotent

Retrieves a server's remote console address and access token, with options for secure SPICE or SPICE proxy connections so you can connect to the console.

Instructions

Get the remote console address for a server (v2 server/consoleaddress): hostname, ip, port, type and an access token. The token grants console access, so treat it as a secret and do not repeat it. secure_spice and spice_prx pick the SPICE connection style. 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_console"
  }
}

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.
spice_prxNoRequest the SPICE proxy address.
secure_spiceNoRequest a TLS SPICE connection.

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 annotations, the description discloses that the result includes an access token, that the token must be treated as a secret, and that returning credentials requires LW_ALLOW_SECRETS. These are important behavioral and authorization details that the annotations do not cover.

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?

The description is compact and front-loads the main purpose, return fields, and secret-handling warning. The SPICE-style sentence is useful but slightly vague, and the final credentials sentence is terse but important.

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?

For a read-only credential-returning tool with an output schema and fully described parameters, the description covers the essential gaps: what is returned, how secrets must be handled, and the LW_ALLOW_SECRETS requirement.

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 are already well documented. The description adds only a light explanation that secure_spice and spice_prx choose the SPICE connection style, while accnt, context, and uniq_id are left to 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 states a specific verb and resource: get the remote console address for a server. It also names the underlying endpoint and enumerates the returned fields, making the purpose unambiguous against siblings like server details or credentials.

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?

The context for use is clear: retrieve a server's remote console connection details. It also explains that secure_spice and spice_prx select SPICE connection styles, but it does not explicitly contrast this tool with alternatives such as lw_server_credentials or lw_server_details.

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