Skip to main content
Glama

Reset Device Policy Overrides

ninjaone_reset_device_policy_overrides
DestructiveIdempotent

Removes every local policy override on one device, restoring its inherited policy and returning the overrides as they were. Requires write mode and explicit confirmation.

Instructions

Remove every local policy override on one device, returning it to its policy. Returns the overrides as they were. 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_reset_device_policy_overrides"
  }
}

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

A4.2/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true and idempotentHint=true, and the description still adds meaningful value: the environment flags and confirm gate needed for this tier, and the fact that the removed overrides are returned so they can be restored manually. It does not explain how the policy is reapplied (e.g., whether the device must check in), which keeps it from a 5.

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: the action comes first, then the return value, then the safety gate. Every sentence carries information the agent needs, and nothing is padded.

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 destructive tool with full annotation coverage and no output schema, the description covers the action, the effect on the device, the return value, and the safety gates. Only the post-reset mechanics (how or when the policy takes effect on the device) are left implicit.

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%, and the schema already documents both device_id (where to find the id) and confirm (must be exactly true, no undo). The description only restates the confirm requirement, adding no syntax or format detail beyond the structured fields, so the baseline of 3 applies.

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?

The description names a specific verb and resource with scope: 'Remove every local policy override on one device, returning it to its policy.' This clearly separates it from read-only siblings such as ninjaone_list_device_policy_overrides and ninjaone_report_policy_overrides, since it is the only one that removes the overrides.

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?

The description gives a clear context and prerequisites for use: it is a destructive tier operation requiring NINJAONE_MODE=write, NINJAONE_ALLOW_DESTRUCTIVE=true, and confirm: true. It does not explicitly tell the agent to inspect current overrides first via ninjaone_list_device_policy_overrides, but the usage context is unambiguous.

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