Skip to main content
Glama

service_restart

Restart a Service's containers. May stop to ask a human to approve.

Input Schema

NameRequiredDescriptionDefault
serverNoOnly on this server.
projectNo
serviceYes
approvalNoThe ID of an approval a person granted. Send it when calling this tool again after it answered approval_required.
environmentNo
request_keyNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, so the agent knows this is a non-read, non-destructive mutation. The description adds one genuinely useful trait beyond that: the call may pause and require human approval, which is a behavioral characteristic not visible in the annotations. It omits downtime impact, restart semantics (rolling vs full), and rate/queueing behavior.

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

Conciseness4/5

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

Two short sentences, front-loaded with the action. Nothing is wasted, though the phrasing "May stop to ask a human to approve" is slightly awkward and could be tightened.

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 7-parameter mutation tool with 29% schema coverage and no output schema, the description is thin. It covers the action and the approval gate but leaves scoping, idempotency, and timing parameters undocumented anywhere.

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 coverage is only 29% across 7 parameters, so the description must compensate and does not. It never mentions environment/project/server scoping, request_key idempotency, or wait_seconds, and only alludes indirectly to the approval parameter via the approval-request flow.

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 and resource: "Restart a Service's containers." This is unambiguous and distinguishable in principle from service_start/service_stop, but the description never actually contrasts itself with those siblings, so it stops short of a 5.

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?

No guidance on when to restart versus service_stop + service_start, no prerequisites, no exclusions. The only contextual remark is about human approval, which describes mechanics rather than selection criteria.

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.