Skip to main content
Glama

Restart service

restart_service
Destructive

Restarts a VPS using its service order number and returns an event ID to track completion with wait_for_event.

Instructions

Restart a VPS. Returns a numeric event id; follow it with wait_for_event. Requires services:manage and a full-access API key.

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": {
      "orderNo": "<orderNo>"
    },
    "name": "restart_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (destructiveHint=true, idempotentHint=false), but the description adds context annotations cannot: the operation is asynchronous and yields a numeric event id, and it demands services:manage plus a full-access API key. That auth requirement is genuinely useful and non-derivable from structured data.

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?

Two tight sentences with zero filler: the action first, then the async follow-up and the auth prerequisite. Every clause carries information an agent needs before calling.

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 destructive, non-idempotent, single-param mutation with no output schema, the description covers the async handoff (event id → wait_for_event) and the access requirements. It could note downtime/disruption implications of a restart, but the destructiveHint annotation partially covers that.

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?

One parameter with 100% schema description coverage, including pattern, length limits and an example. The description adds no further meaning about orderNo, so the baseline 3 applies – the schema already does all the work.

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?

States a specific verb+resource: 'Restart a VPS'. This is unambiguous and clearly distinct from restart_application, though it doesn't explicitly contrast itself with the other lifecycle siblings (start_service, stop_service, resume_service, suspend_service).

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 a concrete follow-up directive ('follow it with wait_for_event') and states prerequisites ('Requires services:manage and a full-access API key'). It doesn't say when to prefer this over stop_service/start_service or when not to restart, so it stops short of the top score.

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