Skip to main content
Glama
NKS osTicket MCP

NKS osTicket MCP

by nks-hub

osticket_reply_ticket

Posts a customer-facing reply to an osTicket ticket and emails it to the ticket user, with optional attachments and recipient targeting.

Instructions

Post a customer-facing reply to a ticket. This is emailed to the ticket's user.

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>",
      "response": "<response>"
    },
    "name": "osticket_reply_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
alertNoEmail the user (default true)
titleNoOptional reply title
numberYesTicket number to reply to
replyToNoRecipients: all (owner + collaborators, default), user, collabs
staffIdNoAgent the reply is sent as (default: the configured API agent)
responseYesReply body, sent to the customer
attachmentsNoFiles attached to the reply and to its email. Each file is limited by osTicket's max_file_size.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.3.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / attachments / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / staffId / maximum
      Added value: +9007199254740991
  2. Changed3 schema fields changedv1.2.0
    • addedInput schema / properties / attachments
      Added value: +{
      +  "description": "Files attached to the reply and to its email. Each file is limited by osTicket's max_file_size.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "description": "File name shown to the customer (default: file name from path)",
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Local file path, read by this server",
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "MIME type (default: guessed from the extension)",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "path"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / replyTo
      Added value: +{
      +  "description": "Recipients: all (owner + collaborators, default), user, collabs",
      +  "enum": [
      +    "all",
      +    "user",
      +    "collabs"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / staffId
      Added value: +{
      +  "description": "Agent the reply is sent as (default: the configured API agent)",
      +  "exclusiveMinimum": 0,
      +  "type": "integer"
      +}
  3. 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, the description carries the full burden, and it does disclose the most consequential trait: the reply is emailed to the ticket's user, an externally visible and non-retractable side effect. It says nothing about permissions, whether the email can be suppressed (left to the schema's alert parameter), or what happens on failure, so the disclosure is partial.

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, zero waste, with the externally visible email behavior front-loaded in the second sentence. Nothing needs to be trimmed.

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 a 7-parameter write tool with no annotations and no output schema, the description covers the essential outcome but omits permission requirements, failure behavior, and any indication of how the email and attachment limits interact. Adequate to call correctly, but thin for a mutation with an external side effect.

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; the description goes slightly beyond by characterizing the response as customer-facing and emailed, which clarifies the intent of the alert and replyTo parameters. It adds no syntax or format guidance beyond the schema itself.

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 ("Post a ... reply to a ticket") and adds the distinguishing trait "customer-facing ... emailed to the ticket's user," which separates it from a generic ticket update. It does not explicitly name a sibling for the internal-note case, so it falls 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 only implied: the phrase "customer-facing" and "emailed to the ticket's user" hints that this is the tool for communicating with the requester rather than internal notes. There is no explicit when-to-use/when-not-to-use statement and no named alternative such as osticket_update_ticket for non-customer-visible changes.

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