Skip to main content
Glama
NKS osTicket MCP

NKS osTicket MCP

by nks-hub

osticket_update_ticket

Update a support ticket by changing its status, due date, or help topic, and add an internal staff-only note.

Instructions

Update a ticket: change status, set/clear due date, change help topic, and/or add an internal staff note.

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": {
      "number": "<number>"
    },
    "name": "osticket_update_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoInternal note (staff-only, not emailed)
numberYesTicket number to update
statusNoNew status (open/closed/... or id)
dueDateNoDue date (ISO); null clears it
staffIdNoAgent the note is posted as (default: the configured API agent)
topicIdNoNew help topic id
noteTitleNoTitle for the internal note
statusCommentNoOptional comment logged with a status change

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.3.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / staffId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / topicId / maximum
      Added value: +9007199254740991
  2. Changed1 schema field changedv1.2.0
    • addedInput schema / properties / staffId
      Added value: +{
      +  "description": "Agent the note is posted as (default: the configured API agent)",
      +  "exclusiveMinimum": 0,
      +  "type": "integer"
      +}
  3. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one meaningful behavioral trait — the note is internal and staff-only, not emailed — which tells the agent this is not a customer-facing communication. However, it says nothing about permissions required, whether a status change triggers notifications, whether unspecified fields are left untouched, or what the call returns.

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?

A single front-loaded sentence with the verb and resource first, then the optional operations. Every clause maps to a real parameter group and there is no filler.

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

Completeness3/5

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

For an 8-parameter mutation tool with no annotations and no output schema, the definition is adequate but thin: it never states that only 'number' is required and the rest are optional partial updates, nor what the response contains. The rich schema compensates for parameter-level detail, but the behavioral envelope of a write operation remains under-described.

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 every parameter already carries its own documentation, including 'null clears it' for dueDate and 'staff-only, not emailed' for note. The description only restates those capabilities at a higher level and adds no syntax, defaults, or interaction rules beyond the schema; baseline 3 applies.

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?

The description names a specific verb (update) and resource (ticket) and enumerates the four mutation surfaces: status, due date, help topic, and internal note. That enumeration implicitly separates it from osticket_reply_ticket and osticket_assign_ticket, though no sibling is named 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?

Usage is implied by the listed capabilities rather than stated: an agent can infer this is the tool for status/due-date/topic changes, and the 'internal staff note' phrasing hints that customer-visible replies belong elsewhere. There is no explicit when-to-use, when-not-to-use, or named alternative, so the agent must infer routing from the sibling list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.