Skip to main content
Glama

ai_ticket_triage

Read-only

Support ticket triage (AI) — Triage a customer support ticket in one call: category (from your own list if given), priority P1-P4 with a reason, sentiment, what the customer wants, key details such as order ids and error messages, whether a human and escalation are needed, suggested team, tags, risk flags from keyword rules (legal threat, security, outage, payment dispute, churn risk, privacy request) and a short polite draft reply. Price: $0.008 USDC (Base, via x402).

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": {
      "text": "<text>"
    },
    "name": "ai_ticket_triage"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesthe ticket or customer message
subjectNooptional subject line
categoriesNooptional comma list, e.g. billing,bug,account,feature-request

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that risk flags come from keyword rules rather than model judgment, that priority comes with a reason, and that a draft reply is appended. It also surfaces a cost of $0.008 USDC on Base via x402, which is material behavior an agent cannot learn from readOnlyHint/openWorldHint alone. It stops short of stating latency, failure modes, or whether the draft reply is safe to send unedited.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, and the cost is correctly deferred to a trailing sentence. The long parenthetical enumeration is dense but each item is a distinct output the caller must plan around, so little is wasted; the sentence could be split for scannability.

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

Completeness5/5

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

With no output schema, the description carries the full return-value burden and does so thoroughly: it lists every field the caller can expect and distinguishes rule-derived flags from model output. Inputs, cost, and side-effect profile are all covered, leaving nothing an agent needs before a first call.

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

Parameters5/5

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

Schema coverage is already 100%, and the description still adds meaning: 'category (from your own list if given)' tells the agent the categories parameter overrides the model's default taxonomy, which the schema's 'optional comma list' wording does not make explicit. The reference to extracting 'order ids and error messages' also clarifies what free-form ticket text should contain.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Triage a customer support ticket in one call') and enumerates exactly what it returns: category, P1-P4 priority with reason, sentiment, customer intent, extracted details, escalation need, team, tags, risk flags, and a draft reply. That breadth (classification + extraction + drafting + safety flags) clearly separates it from narrow siblings like ai_classify or ai_reply_suggest.

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 tool is for customer support tickets, and 'category (from your own list if given)' hints at passing your own taxonomy. There is no explicit when-to-use vs. when-not guidance, no statement of alternatives for sub-tasks (e.g. use ai_reply_suggest for drafting alone, ai_classify for pure classification), and no prerequisites beyond the ticket text.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources