Skip to main content
Glama

Update one person's call details on a shift

update_shift_recipient
DestructiveIdempotent

Set one person's own call details on one shift: sound check time, special instructions, leader role (MUSIC_DIRECTOR, MC or LEADER; one holder per role per gig), act unit and lead, and per-day call windows or day notes. Pass only what changes; null clears a field. On a shift already sent (OPEN or FILLED) a pending or accepted person is sent an update when a value really changes; on a DRAFT shift nobody is notified. Confirmation-gated only when the shift was already sent; a DRAFT edit runs on the first call. Call times on an hourly shift are the pay, so day windows are refused there. Org members with gig-operations access.

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": {
      "offer_id": "<offer_id>",
      "user_id": "<user_id>"
    },
    "name": "update_shift_recipient"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoper-day call window or day note for this person
act_idNoact (unit) id; null detaches
user_idYesthe person, as user_id on the shift recipients that get_crew_offer returns
offer_idYescrew offer id from list_crew_offers
is_act_leadNotrue makes this person the unit contact
leader_roleNoleader role on this gig; one holder per role
sound_check_atNoRFC3339 instant on a day of this shift
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoonly when the shift was already sent (OPEN or FILLED): leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token
special_instructionsNoinstructions for this person, up to 2000 characters

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: { recipient_drafts [{ user_id, fee, username, email, shift_overlaps }], calllist_id, created_by_id, currency, date, days [{ accepted_count, capacity, date, effective_end_time, effective_fee, effective_start_time, end_time, fee, and 4 more fields }], description, end_time, event_id, event_status, event_title, event_type, event_timezone, expires_at, fee, fee_type, id, kind, and 11 more fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare the mutation/destructive/idempotent profile, and the description goes well beyond them: null clears a field, notifications fire only on OPEN/FILLED shifts and only on real value changes, DRAFT shifts notify nobody and run on the first call, and confirmation is a two-call token flow with the same args. That is exactly the operational detail an agent needs before mutating.

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?

Front-loaded with the core action, then layered constraints and the confirmation flow; every sentence carries information. It is dense and semicolon-heavy, which slightly hurts scannability but nothing is wasted.

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?

Output schema and annotations carry the return shape and safety profile, and the description fills the remaining gaps: partial-update semantics, notification behavior, confirmation gating, and the hourly-shift restriction. Nothing an agent needs to invoke it correctly is missing.

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%, and the description largely restates the schema's own wording (leader roles, act lead, per-day windows). It adds little new per-parameter syntax or format detail beyond the schema, 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?

States a specific verb and resource ('Set one person's own call details on one shift') and enumerates the fields in scope (sound check, instructions, leader role, act unit/lead, day windows). An agent can tell this is a per-recipient partial update rather than a swap or a removal, 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?

Gives clear operating context: 'Pass only what changes; null clears a field', when confirmation is required, and that org members with gig-operations access may call it. It also states a when-not condition (day windows refused on hourly shifts), but never names the alternatives such as swap_shift_recipient or remove_crew_offer_recipient.

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.