Skip to main content
Glama

Restart Self

restart_self

Gracefully hot-restart the MCP server process so code changes and newly installed tools take effect immediately without manual restart.

Instructions

Gracefully hot-restart the MCP server process so code changes or newly installed tools take effect immediately.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "restart_self"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully conveys that the restart is graceful and hot (no hard kill) and that the effect is immediate, but it omits the practically critical behavior: whether this call returns before the process restarts, whether the client connection drops, and whether in-flight requests or in-memory state are lost. Those omissions matter a lot for a self-terminating operation.

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?

A single front-loaded sentence with the action first and the rationale second; no filler, no redundancy.

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

Completeness3/5

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

An output schema exists, so return values need no explanation, and the zero-parameter schema needs no documentation. But for an operation that restarts the very process hosting the agent's connection, the description should say what disruption to expect — that is the meaningful missing piece.

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?

The schema has zero parameters and the tool takes no arguments, so there is nothing additional for the description to disambiguate. Baseline 4 applies.

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 pairs a specific verb and resource ("hot-restart the MCP server process") with the outcome ("code changes or newly installed tools take effect immediately"), so the action is unmistakable. It does not, however, distinguish this from self-management siblings such as apply_self_update or backup_self, leaving the agent to infer which self-maintenance operation applies.

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?

The trigger condition is stated clearly: use it after code changes or when newly installed tools need to take effect. There are no exclusions and no named alternative for cases like applying an update, which is the one gap keeping this below a 5.

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