Skip to main content
Glama

Add Ticket Comment

ninjaone_add_ticket_comment

Add an internal note to a NinjaOne ticket that requesters cannot see; include plain text or HTML and optionally log tracked time.

Instructions

Add an internal note to a ticket (never visible to the requester), as plain text or HTML, optionally with time tracked. To reply to the requester, use ninjaone_send_ticket_reply. Read the log with ninjaone_list_ticket_log_entries. NinjaOne may reject ticket writes from client-credentials apps (405); see the README. 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_add_ticket_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesComment text.
confirmYesMust be exactly true. States that this call changes live data. There is no undo from this server.
html_bodyNoHTML version of the comment.
ticket_idYesTicket id (from ninjaone_list_board_tickets).
time_tracked_secondsNoTime to log against the ticket, in seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly=false, destructive=false, idempotent=false); the description goes well beyond them by disclosing visibility semantics (internal only, requester never sees it), an environment/authentication prerequisite (NINJAONE_MODE=write), and a real failure mode (405 rejection for client-credentials apps). These are the operational facts an agent cannot get from structured fields.

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?

Five short sentences, each carrying distinct payload: purpose and visibility first, then alternatives, then environment prerequisite, then failure mode. No filler and nothing redundant with the title or schema.

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 non-idempotent mutation tool with full schema coverage and no output schema, the description supplies the missing pieces: visibility, prerequisites, alternative tools, and a known rejection mode. An agent has everything needed to decide to call it and to interpret failure.

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%, so every parameter is already documented, giving a baseline of 3. The description adds a little meaning by framing the body as 'plain text or HTML' and time tracking as optional, but it does not spell out how body and html_body relate when both are supplied, so it does not clearly exceed the schema.

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?

States a specific verb and resource ('Add an internal note to a ticket') and immediately pins the scope with 'never visible to the requester', which is exactly the distinction an agent needs against the adjacent reply tool. It then explicitly names that sibling, so the two tools are separable without opening either 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 explicit routing rules: use ninjaone_send_ticket_reply to reply to the requester, and ninjaone_list_ticket_log_entries to read the log, plus the prerequisites NINJAONE_MODE=write and confirm: true. It lacks an explicit 'do not use this for' negative case beyond the reply pointer, keeping it just under 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