Skip to main content
Glama

Cancel a scheduled reboot

mesh_cancel_reboot

Cancels a pending shutdown or reboot initiated by mesh_graceful_reboot, stopping an unwanted restart before it occurs.

Instructions

Abort a pending shutdown/reboot started by mesh_graceful_reboot. Needs MESH_MCP_ALLOW_POWER=1.

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": {
      "device": "<device>"
    },
    "name": "mesh_cancel_reboot"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare destructiveHint=false, and the description adds genuinely non-structured information: the target must be a reboot that is still pending, and the server-side env flag MESH_MCP_ALLOW_POWER=1 must be enabled (presumably authorization fails otherwise). It is silent on failure/return behavior when no reboot is queued, which keeps it from a 5. Nothing contradicts the annotation: cancelling a pending action is a non-destructive reversal.

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 sentences, front-loaded action first, no filler or restatement of the name. Every clause carries actionable information (counterpart tool and env prerequisite).

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 single-purpose cancel tool with no output schema, the main operational gaps are the device identifier format and what happens on failure (no pending reboot, missing env flag). The env-var prerequisite helps, but an agent can still guess wrong about the device value.

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?

The sole parameter 'device' has 0% schema description coverage and the description says nothing about it — no hint whether it takes a device ID, name, hostname, or MAC, or how to obtain it. With one undocumented parameter the description must compensate and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb (abort) plus specific resource (a pending shutdown/reboot), and it names the sibling mesh_graceful_reboot as the origin of the operation, so an agent can distinguish it from mesh_power and the reboot starter without opening schemas.

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?

Makes the trigger condition explicit: use this to undo a reboot that mesh_graceful_reboot scheduled, and states the MESH_MCP_ALLOW_POWER=1 prerequisite. It does not cover edge cases such as calling when no reboot is pending, but the core use context is unambiguous.

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