Skip to main content
Glama

Unarchive gig

unarchive_event
Idempotent

Unarchive a gig (sets event_status=UNARCHIVED, which the app treats like ACTIVE). list_events with event_status=ACTIVE does not return it — omit the filter or pass UNARCHIVED. Idempotent. 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": "unarchive_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig (event) 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: { assignments, event { admin_notes, admin_notes_saved, assignees, assignments, calendar_event_id, continuous_music, contact_email, contact_name, and 56 more fields }, invitations [{ converted_to_offer_id, call_order, currency, decline_reason, delivery_status, email, email_bounced_at, email_delivered_at, and 20 more fields }], members [{ calendar_status, call_order, email, id, invitation_status, org_position_id, phone_number, position_name, and 4 more fields }], template_summary { last_used_at, run_of_show_item_count, shift_count, task_count, used_count }, inventory_short_count, viewer_capabilities { can_manage_event, can_manage_assignees, can_manage_staffing, can_manage_tasks, can_edit_run_of_show, can_view_financials, can_edit_financials, can_write_show_notes, and 11 more fields }, read_at } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / event_id / description
      Previous value: -"the event id"New value: +"the gig (event) id, from list_events, open_gigs or my_agenda"
    • addedInput schema / properties / event_id / minLength
      Added value: +1
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / properties / data / description
      Previous value: -"tool payload (API/composite/confirmation object); object, array, or primitive JSON"New value: +"when 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: { assignments, event { admin_notes, admin_notes_saved, assignees, assignments, calendar_event_id, continuous_music, contact_email, contact_name, and 56 more fields }, invitations [{ converted_to_offer_id, call_order, currency, decline_reason, delivery_status, email, email_bounced_at, email_delivered_at, and 20 more fields }], members [{ calendar_status, call_order, email, id, invitation_status, org_position_id, phone_number, position_name, and 4 more fields }], template_summary { last_used_at, run_of_show_item_count, shift_count, task_count, used_count }, inventory_short_count, viewer_capabilities { can_manage_event, can_manage_assignees, can_manage_staffing, can_manage_tasks, can_edit_run_of_show, can_view_financials, can_edit_financials, can_write_show_notes, and 11 more fields }, read_at } }"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the description repeating "Idempotent" adds little. However, "Confirmation-gated" is real behavioral disclosure the annotations do not express, and it is complemented by the schema's confirmation_token flow. It stops short of saying whether unarchiving has side effects such as notifying members.

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 short sentences, front-loaded with the action and state change, followed by the discovery caveat and the two operative properties. Nothing is padded and no sentence duplicates structured data unnecessarily.

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-required-parameter state-change tool with an output schema and annotations covering safety, the description supplies everything the agent needs: what state is set, how the result is discoverable afterward, idempotency, and the confirmation requirement.

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%, with both event_id and the confirmation_token two-step flow fully documented in the schema itself. The description adds no parameter-level detail beyond the word "confirmation-gated", so the 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 ("Unarchive a gig") and goes further by naming the concrete state transition (event_status=UNARCHIVED) and how the app interprets it (treated like ACTIVE). This distinguishes it clearly from archive_event and from list-based siblings.

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 genuinely useful operational guidance: after unarchiving, list_events with event_status=ACTIVE will not surface it, so omit the filter or pass UNARCHIVED. It does not explicitly frame the archiving/unarchiving decision against the sibling archive_event, so it stops short of full when/when-not/alternatives coverage.

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.