Skip to main content
Glama

Delete ticket

delete_ticket
DestructiveIdempotent

Permanently delete a ticket (and its messages/attachments via cascade). Admin only. Irreversible — use for test/sample tickets or genuine removals.

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": {
      "id": "<id>"
    },
    "name": "delete_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTicket UUID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so safety posture is covered structurally. The description does add value beyond that with the cascade scope (messages and attachments are destroyed) and the admin-only authorization requirement. It stops short of covering failure behavior, such as what happens when the id does not exist.

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?

Three short sentences with the destructive scope and the word 'Permanently' front-loaded, zero filler. Slightly dense punctuation on the parenthetical, but every clause earns its place.

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 one-parameter destructive tool with no output schema, the definition covers the essentials: what gets destroyed, who may call it, and that it cannot be undone. The only real omission is post-conditions on missing or already-deleted tickets, which is a minor gap given the annotations already carry the safety profile.

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?

Single required parameter at 100% schema coverage, with the schema itself stating 'Ticket UUID to delete.' The description adds no format, validation, or lookup detail beyond that, so the baseline of 3 applies.

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 (delete) and resource (ticket) and adds precise scope: permanent, cascading to messages and attachments. It is unambiguous about what is being removed, though it never distinguishes itself from sibling lifecycle tools such as update_ticket, 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 Guidelines4/5

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

Gives clear usage conditions: admin-only, irreversible, appropriate for test/sample tickets or genuine removals. It does not name an alternative for the 'soft' cases (e.g., closing or updating a ticket instead of deleting), so the when-not routing is only implied.

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