Skip to main content
Glama
NKS osTicket MCP

NKS osTicket MCP

by nks-hub

osticket_get_parent

Retrieve the parent ticket for a child ticket number, returning null when no parent exists. This helps trace support ticket relationships and identify originating issues.

Instructions

Get the parent ticket of a child ticket (null if none).

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_get_parent"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesChild ticket number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.2
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; it does disclose one useful behavior, the '(null if none)' result for top-level tickets, which prevents a misinterpretation of an empty return. It says nothing about permissions, error behavior, or what fields the returned ticket object contains.

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?

One short sentence with the core purpose front-loaded and zero redundant wording. The null-case note is folded in parenthetically rather than bloating the text.

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 one-parameter read tool with a fully documented schema and no output schema, the description covers what it does and the important edge case. The remaining gap is what a returned parent ticket looks like, which is a minor omission at this complexity.

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% for the single 'number' parameter, so the baseline is 3. The phrase 'of a child ticket' reinforces that the number must identify a child, not any ticket, but adds no format or syntax detail beyond the schema.

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 and resource ('Get the parent ticket') and scopes it to a child ticket, which implicitly separates it from the sibling osticket_get_children. It is clear what the tool retrieves, though it never explicitly contrasts itself with the sibling that walks the opposite direction.

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 only implied: you have a child ticket and want its parent. There is no statement of when to prefer osticket_get_ticket, osticket_get_children, or osticket_link_subticket, and no prerequisites or exclusions are given. An agent can infer the call site but has no routing guidance.

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