Skip to main content
Glama

Add or edit a shift

save_crew_offer
Destructive

Add a DRAFT shift to a gig's Staffing board by hand, or edit a shift. Without offer_id this adds a shift (or use apply_calllist_to_event): give it a title, the event_id, the org_position_id it staffs (list_org_positions; add one with save_org_position if none), a date or days[], call times, and a fee. offer_type JOB_OFFER (default) targets named people and fills seats_needed; OPEN_SHIFT is a first-to-accept broadcast capped by max_acceptances. calllist_id and auto_add_available_workers attach more people, only when adding. With offer_id (from list_crew_offers) it edits that shift: title, description, date or days[], call times, fee/fee_type/currency, seats_needed or max_acceptances, expires_at, and per-day day_fees[{date, fee}] (fee 0 clears), day_seats[{date, seats_needed}] (0 clears) and day_times[{date, start_time, end_time}], which only apply when editing. Pass start_time or end_time as "" to clear the offer-level time; days that already passed cannot change times. recipient_ids / recipients attach people as UNSENT draft recipients (both are merged; recipients[] adds a per-person fee); when editing a DRAFT shift they are the full set to keep, so anyone omitted is dropped. Adding a shift or editing a DRAFT notifies nobody; review it with get_crew_offer, then send_crew_offer sends it. Changing the date or call times of a shift already sent (OPEN or FILLED) messages everyone still on it (pending and accepted) and lets accepted crew decline the new time; on an OPEN shift, changing the name, pay or per-person fees also messages them; and a seat or deadline change can fill or reopen the shift, which messages those waiting on it, standby included. Confirmation-gated only when editing a sent (OPEN/FILLED) shift or setting pay at any status; the summary names who is told. On a settled gig, edits that drop people are refused (409 GIG_ROSTER_LOCKED): reopen_event first. Needs gig-operations access.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_crew_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
feeNofee per person
dateNoYYYY-MM-DD for a single-day shift (not with days); left out on a single-day gig it defaults to the gig day
daysNoexplicit per-day set for a multi-day shift (not with date)
titleNoshift name shown to crew (e.g. "FOH — Saturday show"); required when adding
currencyNoISO currency code, default USD
day_feesNowhen editing: per-day fee overrides; fee 0 clears
end_timeNoRFC3339 end time with UTC offset on the first shift day, in the gig timezone (e.g. 2026-10-03T23:00:00-05:00)
event_idNowhen adding: the gig this shift belongs to
fee_typeNohow fee is counted: FIXED is a flat amount, HOURLY is a rate per hour
offer_idNoedit this shift (id from list_crew_offers); omit to add a shift
day_seatsNowhen editing: per-day seat overrides (JOB_OFFER); 0 clears
day_timesNowhen editing: per-day call-time changes
expires_atNoRFC3339 deadline for responses
offer_typeNowhen adding: JOB_OFFER (default) or OPEN_SHIFT broadcast
recipientsNorecipients with per-person fees (not notified until send_crew_offer)
start_timeNoRFC3339 call time with UTC offset on the first shift day, in the gig timezone (e.g. 2026-10-03T18:00:00-05:00)
calllist_idNowhen adding: attach the members of this call list as draft recipients
descriptionNowhat the shift involves, shown to the crew who receive it
seats_neededNoJOB_OFFER: how many people to fill
recipient_idsNouser ids to attach as recipients (not notified until send_crew_offer)
max_acceptancesNoOPEN_SHIFT: first-N-to-accept spots, set on every day; the shift reports its busiest day
org_position_idNowhen adding: role from list_org_positions
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoonly when editing a sent shift (OPEN or FILLED) or setting pay: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token
auto_add_available_workersNowhen adding: also attach org members who marked themselves available that day

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.5/5.0
Behavior5/5

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

Far exceeds the annotations (destructive, openWorld, non-idempotent) by disclosing the actual consequences: adding or editing a DRAFT notifies nobody, editing a sent OPEN/FILLED shift messages all remaining recipients and lets accepted crew decline, seat/deadline changes can fill or reopen and notify standby, and confirmation is gated only for sent-shift edits or pay changes. It also names the failure mode (409 GIG_ROSTER_LOCKED) and its remedy (reopen_event) and the access prerequisite.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and mode split are front-loaded correctly and nearly every clause carries real information, but the body is one dense block with no grouping or line breaks, and notification sentences such as "a seat or deadline change can fill or reopen the shift, which messages those waiting on it, standby included" are hard to parse on first read. For a 25-parameter tool the length is defensible; the lack of internal structure is the cost.

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?

An output schema exists so return values need no explanation, and for a 25-parameter mutation tool the description still covers mode gating, notification side effects, confirmation-token flow, error handling, prerequisites, and the follow-up tools. Nothing material an agent needs to call this 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 schema already documents each parameter thoroughly, so the baseline is 3. The description does add genuine cross-parameter meaning the schema cannot express — recipient_ids and recipients are merged, and on a DRAFT edit they are the full keep-set so omissions drop people, plus mode applicability of the day_* arrays — but most of the per-field detail it touches is already duplicated in the schema.

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?

Opens with a specific verb+resource+scope: "Add a DRAFT shift to a gig's Staffing board by hand, or edit a shift," and immediately distinguishes the two modes by the presence of offer_id. It also names the sibling it is not (apply_calllist_to_event) right where the add path is described, so an agent can separate it from neighbors without opening a 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?

Explicit branching guidance: no offer_id means add, offer_id (from list_crew_offers) means edit, apply_calllist_to_event is the alternative for bulk call-list application, and get_crew_offer then send_crew_offer is the required follow-up path. It also states exclusions — day_fees/day_seats/day_times only apply when editing, and passed days cannot have times changed.

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.