Skip to main content
Glama

Remove Device Owner

ninjaone_remove_device_owner
DestructiveIdempotent

Removes the owner from a single device and returns prior owner details for restoration, requiring explicit confirmation for this destructive change.

Instructions

Remove the owner from one device. Returns the device as it was, including the owner to restore. 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>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_remove_device_owner"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds real value beyond them: the required environment/flag prerequisites and the fact that the response returns the device as it was, including the owner, so the caller can restore it. It does not restate the schema's warning that no undo exists server-side, but that is a minor omission rather than a conflict.

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?

Three short sentences, front-loaded with the action, then the return value, then the guardrails. Nothing is redundant, though the prerequisites sentence is dense and could be broken out for faster scanning in a long tool list.

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?

With no output schema, the description usefully explains what comes back ('the device as it was, including the owner to restore'), and it covers the preconditions an agent must satisfy before calling. For a two-parameter destructive mutation, the only real gap is the absence of explicit guidance versus the set-owner sibling.

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 100%, with confirm documented as const true and device_id pointing at the discovery tools, so the schema does the heavy lifting. The description only echoes the confirm requirement and adds no syntax or format detail beyond it, which is the expected baseline when the schema is complete.

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 with scope ('Remove the owner from one device'), which cleanly separates it from ninjaone_set_device_owner and from the many read-only device siblings. It stops short of naming the complementary set tool explicitly, so the contrast is implied rather than declared.

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 description gives gating conditions (NINJAONE_MODE=write, NINJAONE_ALLOW_DESTRUCTIVE=true, confirm: true) that tell an agent when the call will be permitted, which is useful. It does not say when to prefer this over the sibling that sets an owner, nor when removal is inappropriate, so the routing guidance is only implicit.

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