Skip to main content
Glama

EventPass

Delete draft event

delete_draft_event
DestructiveIdempotent

Permanently delete a DRAFT event with zero orders — the cleanup for a test draft. Only drafts with no orders can be deleted (anything with an order is refused; archive it from the dashboard instead). 'Orders' means ticket orders and vendor food orders — both cascade-delete with the event, so both count. Call once to preview (confirm defaults to false): the preview shows the event title, date, and that it has zero orders and will be permanently deleted. Show the preview to the user, then call again with confirm=true and the same idempotency_key to delete it. The idempotency key is bound to this event: reusing it for a different event_id is refused. A retry with the same key for the same event returns the already-deleted result instead of erroring.

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": {
      "event_id": "<event_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "delete_draft_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoSet to true ONLY after showing the preview to the user and getting their approval. Default false: returns a preview of exactly what would happen and changes nothing.
event_idYesEvent ID from list_my_events
idempotency_keyYesA unique key for this write (e.g. a UUID). REQUIRED. Reuse the exact same key if you retry this call — a replay returns the original result instead of executing again. A retry with a different key (or none) may create a second event or send a second broadcast.
organization_idNoOrganization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one.

Output Schema

NameRequiredDescriptionDefault
eventNo
previewYes
summaryNo
replayedNo
already_deletedNo
confirm_requiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=true, but the description adds substantial context beyond them: both ticket and vendor food orders cascade-delete and therefore count, permanent deletion, preview contents (title, date, zero orders), and precise idempotency-key semantics including the refusal on cross-event reuse and the replay-returns-result behavior.

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?

Six sentences, front-loaded with the core purpose and the refusal rule, then the two-step flow, then idempotency edge cases. Dense but each sentence carries operational information; no filler or repetition.

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 destructive mutation with an output schema, it covers everything an agent needs: eligibility, refusal behavior, preview-then-confirm sequence, and retry/idempotency semantics. Return values are rightly left to the output schema.

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%, so the baseline is 3. The description still adds meaning beyond the field docs: it explains the preview/confirm handshake and that the idempotency key is bound to a specific event, clarifying practical usage of both required parameters.

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 ('Permanently delete a DRAFT event') plus the qualifying condition ('with zero orders') and a use case ('cleanup for a test draft'). This distinguishes it clearly from siblings like create_event or list_my_events without ambiguity.

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?

Explicitly states when the tool applies (drafts with no orders), when it does not ('anything with an order is refused'), and names the alternative path ('archive it from the dashboard instead'). It also spells out the two-call preview-then-confirm workflow in order.

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