Skip to main content
Glama

Create Ticket

ninjaone_create_ticket

Creates a NinjaOne ticket from required client, form, subject, and status fields, returning the new ticket. Use it to log incidents, service requests, or tasks through the API.

Instructions

Creates a ticket. Requires clientId, ticketFormId, subject and status; find them with ninjaone_list_organizations, ninjaone_list_ticket_forms and ninjaone_list_ticket_statuses. Returns the new ticket; read it with ninjaone_get_ticket. Body (object) per NinjaOne create_2. Fields: clientId (integer, required), ticketFormId (integer, required), subject (string, required), status (string, required), locationId (integer), nodeId (integer), description (object), type ("PROBLEM"|"QUESTION"|"INCIDENT"|"TASK"|"CHANGE_REQUEST"|"SERVICE_REQUEST"|...), cc (object), assignedAppUserId (integer), requesterUid (string), 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": {
      "body": "<body>",
      "confirm": "<confirm>"
    },
    "name": "ninjaone_create_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body as NinjaOne documents it for create_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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the description's added value is the operational gate: NINJAONE_MODE=write and confirm: true. It also states the tool returns the new ticket and should be re-read via ninjaone_get_ticket, which is useful state-transition context. Missing are rate limits and any note on which side effects failure can leave behind.

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-loads the essentials: required fields, where to get them, the write-mode gate, then the field catalog. The long body-field list is justified because the schema is opaque, though the trailing '...' in the type enum and the terse 'per NinjaOne create_2' reference are slightly wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write tool with a nested free-form body and no output schema, the definition still tells the agent how to authenticate (write mode), how to confirm intent, what must be resolved first, and where to read the result. Nothing needed to invoke it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although top-level schema coverage is 100%, the schema defines 'body' only as a bare object with additionalProperties, so the schema itself conveys nothing about the payload. The description compensates by enumerating every body field with type and enum values (type, severity, priority, tags, attributes, etc.), which is exactly the meaning the schema omits.

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?

Opens with a specific verb and resource ('Creates a ticket') and immediately names the four required fields and the lookup tools that supply them, which separates it cleanly from ninjaone_update_ticket, ninjaone_add_ticket_comment and ninjaone_get_ticket. An agent can pick this tool without opening any schema.

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?

Gives concrete prerequisites (clientId, ticketFormId, subject, status) plus the exact sibling tools to obtain them (ninjaone_list_organizations, ninjaone_list_ticket_forms, ninjaone_list_ticket_statuses) and a follow-up read step. It lacks an explicit 'do not use this when...' exclusion versus update_ticket, which keeps it just short of a 5.

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