Skip to main content
Glama

reboot_router

Destructive

Restart a TP-Link router or ISP modem to recover from network or internet outages. Requires explicit confirmation; connected devices disconnect briefly.

Instructions

Reboot the router. The whole network and the internet drop for a minute or two. Needs confirm=true.

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

Input Schema

NameRequiredDescriptionDefault
deviceNoName of a device from devices.toml (see the 'devices' command); omit for the default device.
confirmNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.0
    • addedInput schema / properties / device
      Added value: +{
      +  "default": "",
      +  "description": "Name of a device from devices.toml (see the 'devices' command); omit for the default device.",
      +  "title": "Device",
      +  "type": "string"
      +}
  2. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, and the description adds concrete behavioral context beyond them: the whole network and internet drop for one to two minutes, and confirm=true is mandatory. It does not discuss auth requirements or failure behavior, keeping it short of full disclosure.

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?

Three short sentences with the action first and the impact second; nothing is wasted and the most important warning is front-loaded before the confirm requirement.

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 disruptive action with an output schema, the description supplies the outage impact and the required flag, which is what an agent needs to call it safely. Minor gaps (failure behavior, which device is defaulted to) are tolerable given the schema documents 'device' and the annotations mark it destructive.

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 coverage is 50%: 'device' is documented in the schema, but 'confirm' is not. The description compensates by stating 'Needs confirm=true', giving the agent the meaning of the undocumented parameter, though it does not spell out what happens if confirm is omitted or false.

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?

Names a specific verb and resource ('Reboot the router') and immediately states the consequence, which makes it unambiguously distinct from siblings like router_change or router_status. An agent knows exactly what action is performed without opening the schema.

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?

Usage is implied — restart the router when a reboot is desired — but there is no explicit when-to-use vs alternatives guidance, no mention of diagnosing when a reboot is preferable to other recovery actions, and no prerequisites beyond the confirm flag.

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