Skip to main content
Glama

deleteEvent

Destructive

Delete an event so it no longer appears anywhere. Deleting is permanent and cannot be undone, and it cancels every ticket of the event. To call an event off and keep it on record, use cancelEvent instead. Returns the event as it was before the delete. 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": "deleteEvent"
  }
}

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.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description goes well beyond them: it states the deletion is permanent and irreversible, that it cascades to cancel every ticket of the event, and that the pre-delete event is returned. The irreversible cascade to tickets is exactly the consequence an agent needs before calling this.

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 carrying distinct payload: effect, permanence/cascade, the alternative, and the identifier-sourcing rule. The destructive nature is front-loaded ahead of the routing advice, with no filler.

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, everything needed is present: consequence, irreversibility, sibling alternative, and identifier provenance. An output schema exists and the description still notes that the prior event state is returned, so nothing an agent needs 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% and the single parameter is documented as "The id of the event," so the baseline is 3. The description adds real operational value beyond that: it tells the agent to source eventId from getEvents and warns against inventing UUIDs, which constrains a common failure mode for a destructive call.

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?

The description states a specific verb and resource ("Delete an event") plus the scope of effect ("no longer appears anywhere"), and explicitly distinguishes itself from the nearby sibling cancelEvent. An agent can tell exactly what this does without opening the schema.

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?

It gives an explicit when-not: "To call an event off and keep it on record, use cancelEvent instead," naming the alternative and the condition that selects it. It also routes the agent to getEvents for obtaining the required identifier, so both the selection and the prerequisite are covered.

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