Skip to main content
Glama

Replace gig schedule

upsert_event_schedule
DestructiveIdempotent

Replace the entire gig timeline: PUT sends the full schedule_items list and any existing row whose id is omitted is deleted. Times are RFC3339 with offset. In an org that adopted Run of Show, the timeline rows are the timed cues and the timed sections with no timed cue: a listed id updates that cue or section, a row without a known id becomes a new unsectioned cue, and an omitted or _delete row is removed (a section that still holds cues is refused; edit it with update_event_run_of_show). Untimed cues are kept. Confirmation-gated. Gig managers only.

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

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig (event) id, from list_events, open_gigs or my_agenda
schedule_itemsYesthe complete timeline after the edit; omitted ids are removed
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: { schedule_items [{ source, end_time, event_id, id, location, ensemble, name, notes, and 3 more fields }], timezone } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint/idempotentHint annotations, it discloses the exact destruction model (any existing row whose id is omitted is deleted, _delete rows removed, a section still holding cues is refused), the authorization requirement, and the two-step confirmation handshake. It also clarifies that untimed cues survive the replace, which is non-obvious behavior an agent could otherwise get wrong.

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?

It is front-loaded with the core replace contract and every clause carries information; nothing is filler. The Run-of-Show sentence is long and clause-stacked, which costs some readability, and the RFC3339 note duplicates the schema.

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 whole-collection replace with a confirmation flow and dual operating modes, the description covers authorization, deletion semantics, the confirmation handshake, and the Run-of-Show special case. With an output schema present and full parameter coverage, nothing an agent needs in order to call this safely is missing.

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, but the description adds real meaning to the nested `id` field: a listed id updates an existing cue or section, a row without a known id becomes a new unsectioned cue, and the behavior differs between Run-of-Show and plain orgs. Timezone formatting is repeated from the schema, adding no increment there.

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?

The description opens with a specific verb and resource, 'Replace the entire gig timeline,' and immediately explains the replacement contract (full list in, omitted ids deleted). It also distinguishes itself from update_event_run_of_show for the section-editing case, so an agent can separate the two without reading schemas.

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?

It states the operating conditions clearly: gig managers only, confirmation-gated, and full-list semantics rather than incremental edits. It also routes one case explicitly to update_event_run_of_show. It stops short of stating when an agent should prefer create_event_schedule_items for pure additions, which keeps it below 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.