Skip to main content
Glama

gateway_restart

Restart the Ignition Gateway, disconnecting all client sessions. Use dry_run to preview impact first and confirm set to True to execute the restart.

Instructions

Restart the gateway. Disconnects every client session.

Args: confirm: Must be True to execute the restart. dry_run: Preview the impact without restarting.

Returns: Restart acknowledgement or a guard payload.

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": "gateway_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
dry_runNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does solid work: it declares the destructive side effect (all client sessions dropped) and explains that confirm gates execution and dry_run previews impact. It stops short of stating whether configuration survives the restart, how long the outage lasts, or what credentials are required.

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 impact sentences followed by a compact Args/Returns block. Nothing is padded, and the most consequential fact (disconnecting every client) is front-loaded before the parameter details.

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 two-parameter destructive mutation with no annotations, the definition covers impact, the safety guard, and a preview mode. The Returns section is arguably redundant given an output schema exists, and permission requirements are unstated, but nothing essential to a correct call is missing.

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?

Schema description coverage is 0%, so the description must define both parameters, and it does: confirm is mandatory-True for execution and dry_run previews without restarting. That is meaningfully more than the schema's bare boolean types, though it omits what the confirming flag protects against when omitted.

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 opens with a specific verb and resource ("Restart the gateway") and immediately states the blast radius ("Disconnects every client session"). That makes it clearly distinct from the read-oriented siblings like gateway_status or gateway_info, though it never names or contrasts any of them explicitly.

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?

It defines the confirm guard and offers dry_run as a preview path, which implies a preview-then-execute workflow, but it never says when this tool should be chosen over a mitigation alternative, nor does it state prerequisites such as required permissions or expected downtime.

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