Skip to main content
Glama
NKS osTicket MCP

NKS osTicket MCP

by nks-hub

osticket_assign_ticket

Assign an osTicket ticket to an agent, logging the assignment and optionally adding an internal note and alerting the assignee. Blocks reassignment of already-assigned tickets unless explicitly allowed.

Instructions

Assign a ticket to an agent, like the staff panel: logs the assignment, optionally posts an internal note and alerts the assignee. Fails (409) if the ticket already has an assignee, unless reassign is 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": {
      "number": "<number>",
      "assigneeId": "<assigneeId>"
    },
    "name": "osticket_assign_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoInternal note logged with the assignment
alertNoSend the assignment alert to the assignee (default true)
numberYesTicket number to assign
staffIdNoAgent recorded as the one who assigned (default: the configured API agent)
reassignNoAllow replacing an existing assignee (default false)
assigneeIdYesStaff id of the new assignee

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.2

TDQS

A3.9/5.0
Behavior4/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 real work: it discloses the side effects (logging the assignment, optional internal note, alerting the assignee) and the 409 failure when an assignee already exists, plus the reassign override. It omits permission requirements and whether anything is returned.

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 sentences, front-loaded with the action and effect, then the failure and override condition. No filler and nothing repeated from the schema.

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 six-parameter mutation tool with no annotations and no output schema, the description supplies the safety-relevant behavior (conflict on existing assignee, reassign escape hatch) and side effects. The remaining gap is the response shape and permission model, which is acceptable to omit but not ideal.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema does not: reassign exists specifically to bypass the 409 conflict, and note/alert are framed as side effects of the assignment rather than mere flags.

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?

States a specific verb and resource ('Assign a ticket to an agent') and anchors it to the familiar staff-panel behavior. It does not explicitly differentiate from osticket_update_ticket, which an agent might guess could also change the assignee, so it stops short of a 5.

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 'like the staff panel' and by the failure condition, which tells the agent this is the dedicated assignment path. There is no explicit when-to-use vs. update_ticket guidance and no stated prerequisites such as required permissions.

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