Skip to main content
Glama
Topsail

Topsail

by AidanZealley

restart_klipper

Destructive

Restart Klipper after a shutdown or run a firmware restart to reset MCUs, restoring printer control through Moonraker.

Instructions

Restart Klipper, for example after a shutdown. A firmware restart also resets the MCUs.

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_klipper"
  }
}

Input Schema

NameRequiredDescriptionDefault
printerNoPrinter name from list_printers. Optional when only one is configured.
firmwareNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutating nature is known. The description adds real value by disclosing that a firmware restart resets the MCUs, a behavioral consequence not present in structured fields. It still omits whether an in-progress print or heaters are affected, which matters 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.

Conciseness5/5

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

Two short sentences, zero filler, with the core action front-loaded and the clarifying detail second. Every sentence earns its place.

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?

For a simple two-parameter tool with annotations covering the destructive profile, the essentials are present. Gaps remain around preconditions (must the printer be idle, is an active print aborted) and what the call returns, though the absence of an output schema means return values need not be described.

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?

Schema coverage is 50%: the 'printer' parameter is documented in the schema itself, but the boolean 'firmware' has no schema description. The description partially compensates by explaining that a firmware restart resets the MCUs, giving the agent a sense of what toggling that flag does, though it never names the flag or states the default host-only behavior.

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 Klipper') and adds scope by noting that a firmware restart also resets the MCUs, which separates it from generic restart behavior. It does not, however, explicitly distinguish itself from nearby siblings such as emergency_stop or cancel_print, leaving the agent to infer that this is a service-level restart rather than a print-control action.

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 'for example after a shutdown' gives one concrete usage context, which is more than nothing. But there is no when-not guidance and no naming of alternatives, so an agent cannot tell from the description alone whether this is the right recovery action versus emergency_stop or a firmware-specific path.

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