Skip to main content
Glama

Set Device Owner

ninjaone_set_device_owner
Idempotent

Assign an end user as the owner of one device; requires write mode and explicit confirmation to change live data.

Instructions

Assign an end user as the owner of one device. Needs NINJAONE_MODE=write 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>",
      "owner_uid": "<owner_uid>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_set_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).
owner_uidYesEnd user uid (from ninjaone_list_end_users).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true and destructive=false; the description adds a non-schema behavioral fact — the server must be running in write mode — which an agent could not otherwise infer. It does not restate the no-undo warning, but the schema's confirm parameter already carries that.

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 short sentences with zero filler, leading with what it does and following with the gating requirement. Nothing could be removed without losing information.

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 three-parameter mutation with no output schema, the definition covers action, scope, and the write-mode/confirm preconditions. A note on the removal sibling or on reassignment behavior would make it complete.

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 description coverage is 100%, so device_id, owner_uid and confirm are fully documented, including ID provenance and the no-undo consequence. The description only echoes the confirm requirement, adding no syntax or meaning beyond the schema.

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 ('Assign an end user as the owner of one device') and scopes it to a single device. It is clearly distinguishable from ninjaone_remove_device_owner by the verb, though it never names the counterpart explicitly.

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?

Gives prerequisites (NINJAONE_MODE=write and confirm: true) rather than when-to-use guidance. It never says when to prefer this over the removal sibling or what happens if a user is already assigned, leaving alternatives 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