Skip to main content
Glama

Reboot Device

ninjaone_reboot_device
Destructive

Reboot a single NinjaOne device now with NORMAL mode to let users save work or FORCED mode to override; requires write access and explicit confirmation.

Instructions

Reboot one device now. NORMAL lets users save work where the OS allows; FORCED does not. Never retried automatically. Body (object) per NinjaOne rebootDevices. Fields: reason (string). Optional {"reason": "..."} shown in the activity log. Destructive tier: needs NINJAONE_MODE=write, NINJAONE_ALLOW_DESTRUCTIVE=true and confirm: true.

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_id": "<device_id>",
      "mode": "<mode>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_reboot_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body as NinjaOne documents it for rebootDevices. Field names are NinjaOne's (camelCase).
modeYesReboot mode.
confirmYesMust be exactly true. States that this call changes live data. There is no undo from this server.
device_idYesDevice id (from ninjaone_list_devices or ninjaone_search_devices).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, yet the description adds substantial context beyond them: FORCED may lose unsaved user work, there is no automatic retry, and it enumerates the exact gating requirements (NINJAONE_MODE=write, NINJAONE_ALLOW_DESTRUCTIVE=true, confirm: true). It is consistent with, not merely duplicative of, the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Front-loaded with the action, then the mode distinction, then operational constraints — no filler sentences. Some phrasing is telegraphic ("Body (object) per NinjaOne rebootDevices") and relies on an external reference the agent may not have access to.

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 destructive, non-idempotent mutation with no output schema, it covers the critical agent needs: safety gating, confirm requirement, mode consequences, and retry behavior. It omits what a successful call returns and whether the reboot is asynchronous, which would help an agent reason about follow-up.

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 100%, so the baseline would be 3, but the description adds genuine meaning: mode semantics (NORMAL vs FORCED with respect to saving work) and that body.reason surfaces in the activity log. The opaque "Body (object) per NinjaOne rebootDevices" phrasing defers detail to external docs, which is a mild weakness for a nested object parameter.

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?

"Reboot one device now" gives a specific verb (reboot), resource (device) and scope (one, immediate), which is unambiguous. It does not name or contrast with any sibling (e.g. ninjaone_run_device_script or ninjaone_retire_device), so it stops short of full sibling differentiation.

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?

It clearly frames the usage decision that matters most here: NORMAL lets users save work where the OS allows, FORCED does not — that is real guidance for choosing a mode. It gives no explicit when-not or alternative-tool routing (e.g. prefer a script or request user action instead of forcing a reboot).

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