Skip to main content
Glama

server_action

Start, stop, reboot, pause, unpause, lock, or unlock a Nova server. Disruptive actions require confirm=true to protect the guest.

Instructions

Start, stop, reboot, pause, unpause, lock, or unlock a Nova server.

Service: Nova (compute). Mutates state. stop, reboot, pause, and lock require confirm=true because they disrupt the guest. start, unpause, and unlock do not require confirm. reboot_type is SOFT or HARD. Rebuilding a server is a separate tool: rebuild_server.

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": {
      "server_id": "<server_id>",
      "action": "<action>"
    },
    "name": "server_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
confirmNo
server_idYes
reboot_typeNoSOFT
locked_reasonNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the key trait: this mutates state and four named actions disrupt the guest and require confirmation. It does not state permission requirements, whether a stopped server's state is reversible with unsaved data, or failure modes, which keeps it below 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?

Front-loaded with the action list, then service and mutation trait, then the confirm rule and reboot_type values, with the rebuild exclusion last. Every sentence carries operational information and there is no padding.

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 values need not be explained, and the mutation/confirm policy is the critical missing piece from structured fields, which is supplied. The remaining gap is locked_reason's purpose and the semantics of locking, which an agent would have to guess.

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 coverage is 0%, so the description must compensate. It usefully explains confirm's conditional requirement per action and constrains reboot_type to SOFT or HARD, but leaves locked_reason and server_id unaddressed, so two of five parameters remain undocumented.

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?

Names a specific verb set and resource (start/stop/reboot/pause/unpause/lock/unlock a Nova server), states the service and that it mutates state, and explicitly excludes rebuild via the sibling named. An agent can distinguish this from rebuild_server, delete_server, and get_server without opening any schema.

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 usage context: which actions are disruptive and need confirm=true versus which do not, and directs rebuilding elsewhere. It does not cover when to prefer stop over pause or when locking is appropriate, so exclusions are present but action-selection guidance is only partial.

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