Skip to main content
Glama

Mark gig completed

complete_event
DestructiveIdempotent

Mark a past, ACTIVE gig as COMPLETED — the first closeout step. Consequential: when the confirmation gate is on, the first call returns confirmation_required + a token.

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": "complete_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe past, ACTIVE event to mark COMPLETED
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. Changed5 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
    • 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.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds the one behavior annotations cannot express: the confirmation gate, where the first call returns confirmation_required + a token and must be retried with identical args. It also frames the operation as consequential, consistent with the destructive annotation.

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?

Two sentences, zero filler, with the state precondition and 'first closeout step' front-loaded before the behavioral warning. Capitalized state names make the transition unambiguous.

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?

With rich annotations and an output schema, the definition covers eligibility, consequence, and the retry protocol adequately. Minor gaps remain: what happens if the event is not ACTIVE, and whether the completion is reversible or requires later closeout steps.

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 coverage is 100% and both parameters are documented in-schema, including the leave-empty-then-resend token protocol. The description restates the token flow but adds no semantics beyond what the schema already provides, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb + resource + target state ('Mark a past, ACTIVE gig as COMPLETED'), plus a workflow anchor ('the first closeout step'). The past/ACTIVE precondition naturally separates it from cancel_event or archive_event, though no sibling is named explicitly.

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?

'Past, ACTIVE' functions as an explicit eligibility gate, implicitly excluding future gigs or already-closed ones. It does not spell out the when-not case or name the alternative tool for cancellations/archival, so it falls short of a 5.

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.