Skip to main content
Glama

Delete gig

delete_event
DestructiveIdempotent

Delete a gig: it is hidden right away, crew are told it is cancelled, and it is permanently removed after 30 days unless restored with restore_event. Prefer cancel_event (keeps history) or archive_event (hides it) unless the gig was created by mistake. The server refuses (422) for COMPLETED or SETTLED gigs (proof of work) and for gigs with payment activity — cancel or archive those instead. Gig managers only. Confirmation-gated.

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>"
    },
    "name": "delete_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig to delete, an id from list_events, open_gigs or my_agenda
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: absent (the API answers 204 with no body) }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, but the description adds what those hints cannot: an immediate hide followed by permanent removal after 30 days unless restore_event is used, crew notification of cancellation, a 422 server refusal for COMPLETED/SETTLED gigs or gigs with payment activity, and a gig-manager-only permission requirement. Only the confirmation-gating mechanics are left mostly to the schema.

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?

Three tight sentences, each carrying new information: lifecycle behavior first, alternatives second, refusal conditions and permissions third. No restatement of the name or title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, and the description covers lifecycle, reversibility, failure conditions and authorization. Only the exact confirmation handshake is deferred to the schema's own parameter description.

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?

Schema description coverage is 100%, so event_id sourcing and the confirmation_token round-trip are already fully documented in the schema; the description adds no parameter-level detail beyond implying where ids come from. Baseline 3 applies.

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+resource (delete a gig) and immediately frames it against the three sibling operations that do something similar (cancel_event, archive_event, restore_event). An agent can distinguish soft-delete-with-restore from cancel and archive without opening another 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?

Explicitly says to prefer cancel_event (keeps history) or archive_event (hides it) unless the gig was created by mistake, and repeats that cancel/archive are the fallback for gigs blocked by the 422 conditions. When-to-use, when-not-to-use, and the alternative are all named.

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.