Skip to main content
Glama

PrivateByte

Start, stop or restart a server

server_power

Start, stop or restart a server. stop asks the operating system to shut down cleanly. force_stop cuts power at once and can lose unsaved data: it needs confirm set to the server id. Needs a key with vm:power.

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

Input Schema

NameRequiredDescriptionDefault
actionYes
confirmNoOnly for force_stop: repeat the server id
server_idYes
request_idNoAn id you choose for this one action, 8 to 64 characters. Send the same id again when retrying, so nothing is done twice. Use a new id for a new action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the authorization scope ('Needs a key with vm:power'), the clean-shutdown versus hard-cut distinction, and a concrete data-loss risk. Note the tension with destructiveHint=false: force_stop 'can lose unsaved data', so the annotation is optimistic, but the description itself honestly surfaces the risk rather than hiding it.

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 tight sentences, each carrying distinct information: purpose, safety distinction, and auth requirement. The most consequential warning (power cut, data loss) is front-loaded rather than buried.

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?

For a four-action mutation tool with no output schema, the definition covers the risky path, the confirmation gate, auth scope, and relies on the schema for retry idempotency. Slightly missing is what the caller gets back (e.g., an operation handle to poll) or whether restart carries similar risk to stop.

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 50%, and the description compensates by explaining the non-obvious half: it says confirm must be the server id for force_stop and describes the semantics of the action values (clean shutdown versus power cut). server_id's meaning is obvious from its name, and request_id's idempotency contract is already documented in 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 first sentence states the exact verb set and resource ('Start, stop or restart a server'), and the enumeration of four actions makes the scope unambiguous and separable from siblings such as reset_server_password or reinstall_server, which are not power operations.

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 explicitly distinguishes stop (clean OS shutdown) from force_stop (immediate power cut with unsaved-data loss) and states the precondition for force_stop ('needs confirm set to the server id'). It does not, however, say anything about when a caller should prefer a sibling tool over this one.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources