Skip to main content
Glama

cancelEvent

Destructive

Cancel an event: it stays listed as canceled and its attendees are notified. Canceling cannot be undone and does not refund tickets; cancel a ticket with deleteEventTicket to refund it. Returns the canceled event. Get eventId from getEvents. 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": {
      "eventId": "<eventId>"
    },
    "name": "cancelEvent"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventIdYesThe id of the event.

Output Schema

NameRequiredDescriptionDefault
eventYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation by disclosing that the event remains visible as canceled, that attendees are notified, that the action is irreversible, and that no refund is issued. It also states the return value and warns against fabricating UUIDs, which are exactly the failure modes for a destructive tool.

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?

Four short sentences, each front-loading a distinct fact: what canceling does, irreversibility and refund policy, the alternative tool, and id sourcing. No repetition of the name or schema content.

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 annotations and an output schema, the definition covers consequences, irreversibility, refund semantics, return value, and id sourcing. Nothing an agent needs in order to call this safely 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 eventId parameter, so the baseline is 3; the description adds real value by specifying the provenance of a valid id (getEvents) and forbidding invented UUIDs, which the schema's format/pattern cannot convey.

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 ('Cancel an event') and immediately differentiates what canceling means versus deletion: the event stays listed as canceled rather than being removed. An agent can distinguish this from deleteEvent or deleteEventTicket without opening any schema.

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?

Explicitly routes ticket refunds to deleteEventTicket and tells the agent to source the eventId from getEvents, which covers the two most likely points of confusion. It does not contrast with deleteEvent, the obvious sibling for permanently removing an event, so one meaningful alternative is left unaddressed.

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