Skip to main content
Glama
NKS osTicket MCP

NKS osTicket MCP

by nks-hub

osticket_search_tickets

Search support tickets by subject text, then filter by status or paginate through matching results.

Instructions

Full-text search tickets by subject. Optional status filter and pagination.

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": {
      "query": "<query>"
    },
    "name": "osticket_search_tickets"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
limitNo
queryYesSearch text matched against ticket subjects
offsetNo
statusNoOptional status filter

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3.4/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 and does disclose that the search matches subjects only and that pagination is supported. However, it does not describe read-only safety, return format, pagination defaults, or search behavior such as case sensitivity.

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?

Two short sentences with the primary search scope front-loaded and no wasted wording. The description is compact and easy to scan.

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

Completeness2/5

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

For a five-parameter search tool with no annotations, no output schema, and only 40% schema description coverage, the description is too sparse. It leaves the sort parameter and the shape of the search results unexplained, which an agent would need in order to invoke the tool confidently.

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?

The description clarifies that query is matched against ticket subjects and that status filtering and pagination are supported, adding meaning beyond the schema for those parameters. It omits any explanation of the sort parameter, which is undocumented in the schema and opaque from its enum alone.

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 states a specific verb and resource: full-text search of tickets, scoped to subjects. This clearly separates it from a general list operation, though it does not explicitly name the sibling osticket_list_tickets as the alternative.

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 phrase 'full-text search tickets by subject' implies when to use it, but there is no explicit guidance on when to choose search versus listing all tickets. No exclusions or alternative tools are mentioned.

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