Skip to main content
Glama

Update Ticket

ninjaone_update_ticket
Idempotent

Modify a ticket's status, assignee, priority, tags, or attributes in NinjaOne and get the ticket state before and after the change, with write mode and confirmation enforced.

Instructions

Updates a ticket (status, assignee, priority, tags, attributes). Returns the ticket before and after the change. Body (object) per NinjaOne update_2. Fields: version (integer, required), clientId (integer, required), ticketFormId (integer, required), subject (string, required), status (string, required), requesterUid (string, required), locationId (integer), nodeId (integer), type ("PROBLEM"|"QUESTION"|"INCIDENT"|"TASK"|"CHANGE_REQUEST"|"SERVICE_REQUEST"|...), cc (object), assignedAppUserId (integer), severity ("NONE"|"MINOR"|"MODERATE"|"MAJOR"|"CRITICAL"), priority ("NONE"|"LOW"|"MEDIUM"|"HIGH"), parentTicketId (integer), tags (string[]), attributes (object[]), additionalAssignedTechnicianIds (integer[]), followupTime (number). 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": {
      "ticket_id": "<ticket_id>",
      "body": "<body>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_update_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body as NinjaOne documents it for update_2. Field names are NinjaOne's (camelCase).
confirmYesMust be exactly true. States that this call changes live data. There is no undo from this server.
ticket_idYesTicket id.

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 non-read-only, idempotent, non-destructive behavior, and the description adds genuinely new context: it returns the ticket both before and after the change, and it requires write mode plus a confirm flag. What it omits is the consequence of a full-body update — several body fields are marked required, implying omitted optional fields may be cleared, which is the most important behavioral risk for a PUT-style update.

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

Conciseness3/5

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

The lead sentence and the return-value sentence are well front-loaded, but the middle is a flat comma-separated field dump that reads like a schema excerpt rather than guidance. It is dense rather than padded, yet the field list would be better structured or deferred to the schema.

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 tool with no output schema, the definition covers purpose, return shape (before/after ticket), and the write-mode/confirm gate, which is most of what an agent needs. The main gap is the absence of any statement about partial versus full replacement semantics or what happens to fields not supplied.

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?

The input schema leaves body as an unconstrained object with additionalProperties and a one-line description, so the description's enumeration of camelCase body fields, required markers, and enum values for type, severity, and priority is real added meaning. It loses a point because the type enum trails off with '...' and there is no explanation of how attributes/cc nested objects should be shaped.

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?

Opens with a specific verb and resource plus an enumeration of what can change (status, assignee, priority, tags, attributes), so an agent knows immediately this is a mutation of an existing ticket. It does not explicitly contrast itself with ninjaone_create_ticket, but the absence of creation language plus the required ticket_id makes the distinction clear enough.

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 by the verb and the gating note 'Needs NINJAONE_MODE=write and confirm: true', which tells the agent a prerequisite exists. There is no explicit when-to-use/when-not guidance relative to siblings such as ninjaone_create_ticket or ninjaone_add_ticket_comment, nor any warning about which changes are safer than others.

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