Skip to main content
Glama

Start or reboot a server

lw_server_power

Start a stopped server or do a clean reboot and get the queued task status to poll; execute after preview and confirmation.

Instructions

Start a stopped server or do a clean reboot (v2 server/power/start or reboot). For shutdown, stop or a hard reset use lw_server_power_hard. Returns the queued task status; poll lw_server_power_status to follow it. 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>",
      "action": "<action>"
    },
    "name": "lw_server_power"
  }
}

Input Schema

NameRequiredDescriptionDefault
accntNoAccount number to act on, for users with access to more than one account. Omit for your own account.
actionYesstart or reboot.
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.
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.9/5.0
Behavior5/5

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

Annotations only declare the non-read-only, non-destructive, non-idempotent profile; the description adds the crucial operational context: it is a write requiring LW_ALLOW_WRITES, it enforces a preview-then-token confirmation step, and it returns a queued task rather than a completed action. This is exactly the extra context annotations cannot convey.

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 compact sentences, front-loaded with the action, followed by sibling routing, then the async/confirmation mechanics. No filler and no repetition of the title.

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?

Despite an output schema existing, the description still explains the async return (queued task) and the polling follow-up, plus the write-enablement and confirmation prerequisites. Every prerequisite an agent needs before a first call is present.

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 would be 3, and the enum values are already documented. The description nonetheless reinforces the two-step confirm_token workflow ('preview first'), which is the parameter most likely to be misused, earning a modest bump above baseline.

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 specific verbs (start, reboot) and the resource (server power) and even names the underlying API endpoints. It distinguishes itself from the sibling lw_server_power_hard by naming that tool as the one for shutdown/hard reset, so an agent can differentiate without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use this for graceful start/reboot, use lw_server_power_hard for shutdown/stop/hard reset, and poll lw_server_power_status to follow the queued task. When-to-use, when-to-use-something-else, and follow-up sequencing are all stated.

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