Skip to main content
Glama

Reopen gig

reopen_event
Destructive

Reopen a closed-out gig to ACTIVE or COMPLETED to correct a premature closeout. Reopening a SETTLED gig is the only way to lift its roster lock (409 GIG_ROSTER_LOCKED on removals); settle_event again afterwards. Reopening a SETTLED gig needs the same finance access as settling it, so a Gig Coordinator without it is refused with 403; reopening a COMPLETED gig to ACTIVE has no such limit. 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>",
      "status": "<status>"
    },
    "name": "reopen_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesACTIVE (from COMPLETED or SETTLED) or COMPLETED (from SETTLED)
event_idYesthe closed-out event to reopen
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
    • addedInput schema / properties / event_id / minLength
      Added value: +1
    • addedInput schema / properties / status / 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.5/5.0
Behavior5/5

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

Goes well beyond the annotations (destructive=true, idempotent=false) by disclosing permission tiers, concrete error codes (409 GIG_ROSTER_LOCKED, 403), the reason reopening is needed for roster removals, and the obligation to re-settle. The one piece that duplicates structured data is 'Confirmation-gated', which the confirmation_token parameter already spells out.

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?

Four dense sentences, each carrying distinct information, with the core action and target states front-loaded. The trailing 'Confirmation-gated.' fragment is redundant with the schema's confirmation_token description and could be dropped.

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?

For a destructive, non-idempotent mutation with an output schema, this covers purpose, preconditions, auth failure modes, and the mandatory follow-up, which is most of what an agent needs. It stops short of describing downstream effects of reopening (e.g., what happens to roster entries or documents beyond the lock being lifted).

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 100% schema description coverage, the schema already names the valid transitions for status and explains the confirmation_token retry flow, so the baseline is 3. The description's only added nuance is that the permission requirement varies by target state, which borders on behavioral rather than parameter semantics.

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 ('Reopen a closed-out gig') plus the target states (ACTIVE or COMPLETED) and the motivating scenario (correct a premature closeout). This is clearly distinguishable from siblings like settle_event, complete_event, or cancel_event without opening any 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?

Gives explicit when-to-use (fix a premature closeout, lift a roster lock on a SETTLED gig) and when-not/caveats (reopening SETTLED requires finance access; a Gig Coordinator without it gets a 403, while COMPLETED→ACTIVE has no such limit). It also names the required follow-up action ('settle_event again afterwards'), which is genuine routing guidance.

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.