Skip to main content
Glama

Close support ticket

close_support_ticket
Destructive

Close a support ticket from the customer's side, the same action as ankra support close: the ticket is marked closed and a 'closed by the customer' note is added to the thread. Use it only when the user says the matter is resolved or no longer needed; do not close on support's behalf. Identify the ticket by ticket_number or ticket_id. Note the support team's own board is not moved by this close (a known gap): if support is still expected to act, reply with comment_support_ticket instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "close_support_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticket_idNoThe support ticket UUID. Optional when ticket_number is given.
ticket_numberNoThe per-organisation support ticket number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real context: a thread note is written, the close is scoped to the customer, and the support team's board is not moved (disclosed as a known gap). That last point is exactly the kind of behavioral caveat annotations cannot convey. It does not address reversibility or what happens on a repeat call, which keeps it off a 5.

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?

Front-loaded with the action and its effects, then constraints, then the sibling routing — a sensible order. Nearly every clause carries information; the reference to `ankra support close` is the only mildly expendable token, and the parenthetical "(a known gap)" is slightly conversational but earns its place by flagging a limitation.

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 destructive, non-idempotent mutation with no output schema, the description covers effects, authorization scope, a behavioral caveat, and the correct alternative. What is missing is whether the close can be reopened and what the caller gets back, but with annotations carrying the safety profile and no output schema to explain, this is close to complete.

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 coverage is 100% and both parameters are documented in the schema, including that ticket_id is optional when ticket_number is given. The description restates the either/or identification but adds no tie-breaking rule for when both are supplied, nor any format or validation guidance beyond the schema. Baseline 3 is appropriate.

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 ("Close a support ticket") and immediately pins the perspective ("from the customer's side"), distinguishing it from support-side status changes. It also spells out the two concrete effects — ticket marked closed and a 'closed by the customer' note appended to the thread — so the agent knows exactly what the action does.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger ("only when the user says the matter is resolved or no longer needed") and an explicit exclusion ("do not close on support's behalf"). It names the alternative tool and the condition that selects it: use comment_support_ticket if support is still expected to act.

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.