Skip to main content
Glama

restart_service

Restarts a service or application on a Google Cloud VPS after configuration changes, applying updates without recreating the instance.

Instructions

Restart a service or application on the VPS. Useful after configuration changes.

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": {
      "projectId": "<projectId>",
      "instanceName": "<instanceName>",
      "serviceName": "<serviceName>"
    },
    "name": "restart_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandNoCustom restart command
projectIdYesGoogle Cloud project ID
serviceNameYesService or process name to restart
instanceNameYesVPS instance name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral load for a mutating operational tool. It says nothing about expected downtime, whether the restart is graceful, required permissions, idempotency, or what happens to a running instance if the restart fails. It also exposes a free-form "custom restart command" parameter without warning that this may run arbitrary shell input on the target host.

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 with the action front-loaded and no filler. The second sentence is thin but does contribute a usage cue, so almost nothing is wasted. The brevity comes close to under-specification rather than verbosity, which is penalized elsewhere.

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?

This is a mutation tool with no annotations and no output schema, so the description is the only source of behavioral context. It omits what the tool changes, which failure modes are relevant, and what the caller receives after the restart. For a restart operation against a named VPS and service, that leaves important gaps.

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?

Input schema description coverage is 100%, so all four parameters, including projectId, instanceName, serviceName, and command, are already documented in the schema. The description adds no extra meaning beyond that, such as the expected format of serviceName or the risk profile of the optional command override. Baseline 3 applies when the schema does the heavy lifting.

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?

The description names a specific verb and resource: "Restart a service or application on the VPS." That is clear enough for an agent to recognize the operation. However, it draws no boundary against operational siblings such as execute_command or redeploy, so an agent still has to infer which tool is appropriate when both could restart a process.

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

Usage Guidelines3/5

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

The phrase "Useful after configuration changes" implies a usage context, which is more than nothing. It does not state when this tool should be avoided (for example, if the goal is to run an arbitrary command), nor does it reference any sibling as an alternative, leaving the selection decision mostly implicit.

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