Skip to main content
Glama
NKS osTicket MCP

NKS osTicket MCP

by nks-hub

osticket_get_ticket

Retrieve a single support ticket by public number or internal ID, with full details, message thread, and attachment metadata for support workflows.

Instructions

Get one ticket with full detail including the message thread. Each thread entry may include an "attachments" array (fileId, name, type, size, inline, cid); pass an attachment's numeric fileId to osticket_download_attachment. Provide number or id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "osticket_get_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoInternal ticket id (alternative to number)
numberNoPublic ticket number, e.g. "CH00072469"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / id / maximum
      Added value: +9007199254740991
  2. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden, and it does disclose something substantive: the response includes a message thread whose entries may carry an attachments array with fileId, name, type, size, inline and cid. It leaves unstated that this is a read-only, single-ticket lookup and says nothing about permission requirements or behavior when the ticket is not found or the id is invalid.

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?

Three short sentences, front-loaded with what the tool returns, then the attachment handoff, then the parameter hint. Nothing is repeated and no sentence is filler.

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?

There is no output schema, so the description is right to sketch the return shape (thread plus attachments), and it does so with concrete field names. It is not fully complete for a read tool with zero annotations — the full ticket field set and not-found/lookup-failure behavior remain unexplained.

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% and both properties already document themselves, including that id is an "alternative to number". "Provide number or id" restates that both are optional alternatives without adding format, precedence, or error guidance beyond the schema, so the 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?

"Get one ticket with full detail including the message thread" gives a specific verb (get), resource (ticket) and scope (one, full detail, with thread), which cleanly separates it from the plural listing tools. It stops short of naming a sibling such as osticket_search_tickets or osticket_list_tickets, so the differentiator is implied rather than stated.

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?

The description usefully routes the agent forward: attachment fileIds should be passed to osticket_download_attachment, which is a concrete next-step rule. However, it never says when to call this tool rather than osticket_search_tickets, osticket_list_tickets or osticket_get_children, and gives no prerequisites or exclusions for retrieval.

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