Skip to main content
Glama

services_restart

Destructive

Restart a running service by its ID through the Aeza API, optionally forcing the restart to recover a stopped or unresponsive service.

Instructions

Restart service POST /services/{id}/ctl/restart

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": {
      "id": "<id>",
      "body": "<body>"
    },
    "name": "services_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the risk profile is known from structured data. The description adds nothing beyond the endpoint path — no mention of downtime, service interruption, whether state is preserved, or what happens when the service is already stopped, which are the meaningful unknowns for a destructive restart.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded with the action, with no filler sentences. However, the brevity is under-specification rather than efficiency: the endpoint line consumes space that could have carried the missing behavioral and parameter context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent mutation with a nested object parameter, 0% schema coverage, and no output schema, the description is well short of what an agent needs. It does not explain the force flag, the outcome, or side effects, leaving the caller to act on annotations alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden, and it only partially delivers: the URL template implies {id} is the service identifier. The nested boolean body.force — the one parameter whose semantics actually matter for a restart — is never mentioned, so its effect is undocumented in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("Restart service"), which is unambiguous on its own, but it adds only an HTTP endpoint line rather than distinguishing this tool from related lifecycle siblings like services_goto, services_leave_rescue_mode, or services_edit. An agent can guess the purpose but gets no framing of how this fits within the service-control family.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives or when not to use a restart (e.g., versus editing configuration first). The agent is left to infer the appropriate situation entirely.

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