Skip to main content
Glama

Cancel My Event Registration

cancel_my_event_registration
Destructive

Cancels one of the authenticated user's own event tickets (ticket_id from list_my_event_registrations). Releases the reserved seats; for paid tickets the full amount is refunded to the user's wallet at that school. Only the ticket owner or a coordinator can cancel. DESTRUCTIVE - confirm with the user before cancelling. Collect each required input one at a time and confirm the details with the user before calling.

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": {
      "ticket_id": "<ticket_id>"
    },
    "name": "cancel_my_event_registration"
  }
}

Input Schema

NameRequiredDescriptionDefault
ticket_idYesTicket ID from list_my_event_registrations - must belong to the caller and still be cancellable

Output Schema

NameRequiredDescriptionDefault
idNoCancelled ticket ID
statusNoTicket status (cancelled)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and non-idempotent, and the description adds real value on top: reserved seats are released, paid tickets trigger a full refund to the user's school wallet, and there is an authorization rule (owner or coordinator). It also instructs the agent to confirm with the user before calling, which is the right interaction pattern 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.

Conciseness4/5

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

Front-loaded with the core action and side effects, then permissions, then the safety instruction. The closing sentence ('Collect each required input one at a time and confirm the details') overlaps with the earlier 'confirm with the user before cancelling' and could be merged, a minor redundancy.

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 one-parameter destructive tool with an output schema and full annotation coverage, the description covers everything an agent needs: provenance of the ID, authorization, side effects (seat release, wallet refund), and confirmation protocol. Return values are handled by the output schema.

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?

With a single parameter at 100% schema coverage, the schema already explains ticket_id, its source, ownership requirement, and cancellability constraint. The description reinforces the provenance but adds no format, syntax, or edge-case detail beyond the schema, so this is baseline.

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 scoped resource: 'Cancels one of the authenticated user's own event tickets.' The 'own' and 'event tickets' framing separates it cleanly from cancel_program_registration and cancel_my_volunteer_signup, and it names the sibling that supplies the ticket_id.

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 operating context: the ticket must come from list_my_event_registrations, must belong to the caller, must still be cancellable, and only the owner or a coordinator may act. It stops short of explicitly saying when to prefer it over the other cancel_* siblings, but the event-ticket scope makes that largely self-evident.

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