Skip to main content
Glama

deleteEventTicket

Destructive

Cancel an event ticket. Canceling cannot be undone. What the ticket was paid with is refunded only while the event's refund policy allows it, and a ticket whose external payment is still pending cannot be canceled. Returns the canceled ticket. Get eventTicketId from getEventTickets. Never invent UUIDs; only use values from prior tool responses.

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": {
      "eventTicketId": "<eventTicketId>"
    },
    "name": "deleteEventTicket"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventTicketIdYesThe id of the event ticket.

Output Schema

NameRequiredDescriptionDefault
ticketYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / ticket / properties / payment / properties / method / properties / paymentGateway / properties / inPerson
      Added value: +{
      +  "description": "Present and true when an administrator took the payment in person with Tap to Pay on their phone, which has no checkout page to complete.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond destructiveHint=true, the description discloses irreversibility ("Canceling cannot be undone"), the conditional refund behavior tied to the event's refund policy, and a hard blocking condition for pending external payments. It also states the return value ("Returns the canceled ticket"). This is exactly the kind of consequence and failure-mode detail annotations cannot carry.

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?

Five short sentences, front-loaded with the action and its irreversibility, then the refund and blocking conditions, then provenance. No filler or repetition; every sentence carries a distinct constraint.

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?

For a single-parameter destructive tool with full annotation coverage and an output schema, the description covers consequence, preconditions, ID sourcing, and return value. Nothing an agent needs in order to decide or call correctly is missing.

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% for the single eventTicketId parameter, so the baseline is 3. The description adds provenance guidance — source the ID from getEventTickets and never invent UUIDs — which is meaningfully beyond the schema's type/format constraints.

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?

The first sentence pairs a specific verb and resource: "Cancel an event ticket." It is unambiguous and immediately separable from sibling readers like getEventTickets or getEventTicket. It stops just short of distinguishing itself from the other mutating siblings such as deleteEvent or cancelEvent.

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?

The description states real preconditions: refunds only while the event's refund policy allows it, and tickets with pending external payment cannot be canceled. It also routes the agent to getEventTickets for the ID. It does not explicitly contrast with cancelEvent or deleteEvent, so it falls short of a full when/when-not/alternatives map.

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