Skip to main content
Glama

Shifts and crew offers

list_crew_offers
Read-onlyIdempotent

See shifts and crew offers: the ones sent to a person, or every shift on the Staffing boards of an organization. scope="mine" (default) is the recipient-side view: offers sent to you (or user_id), filtered by status. scope="organization" lists the organization's shifts on each gig's Staffing board, including DRAFT ones that apply_calllist_to_event or save_crew_offer created but nobody has been sent yet; each row carries status (DRAFT, OPEN, FILLED, EXPIRED, CANCELLED), offer_type, event_id, org_position_id, days, and recipients with their per-person status. Filter organization rows by status, type, event_id, or a from/to civil-day window (YYYY-MM-DD). Read-only; organization scope is for org members only.

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

Input Schema

NameRequiredDescriptionDefault
toNoinclusive YYYY-MM-DD on the shift days
fromNoinclusive YYYY-MM-DD on the shift days
typeNoJOB_OFFER | OPEN_SHIFT
limitNoscope=organization page size, max 200
scopeNomine (default): offers sent to you; organization: every shift in the org
offsetNoscope=organization only: how many shifts to skip before the first one returned
statusNoDRAFT | OPEN | FILLED | EXPIRED | CANCELLED
user_idNoscope=mine only: whose offers to read, a user_id from list_org_members; you when omitted
event_idNoonly shifts on this gig; an event id from list_events or my_agenda
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe 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. Changed14 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
      Added value: +{
      +  "description": "only shifts on this gig; an event id from list_events or my_agenda",
      +  "type": "string"
      +}
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "inclusive YYYY-MM-DD on the shift days",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "scope=organization page size, max 200",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "scope=organization only: how many shifts to skip before the first one returned",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / organization_id
      Added value: +{
      +  "description": "organization to act in, an id from get_me; omit to use your active organization",
      +  "type": "string"
      +}
    • addedInput schema / properties / scope
      Added value: +{
      +  "description": "mine (default): offers sent to you; organization: every shift in the org",
      +  "enum": [
      +    "mine",
      +    "organization"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / status / description
      Previous value: -"optional status filter"New value: +"DRAFT | OPEN | FILLED | EXPIRED | CANCELLED"
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "inclusive YYYY-MM-DD on the shift days",
      +  "type": "string"
      +}
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "JOB_OFFER | OPEN_SHIFT",
      +  "type": "string"
      +}
    • changedInput schema / properties / user_id / description
      Previous value: -"defaults to the authenticated user"New value: +"scope=mine only: whose offers to read, a user_id from list_org_members; you when omitted"
    • 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: +"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 }] }"
  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.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description still adds real context by stating that organization scope is restricted to org members and that DRAFT rows are included. It also lists the per-row fields (status, offer_type, event_id, org_position_id, days, recipients with per-person status), which is somewhat redundant given the output schema exists.

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?

Purpose and the default scope are front-loaded, and every clause carries information. The single dense paragraph with a long parenthetical about DRAFT shifts is slightly hard to scan compared with a short bulleted split by scope, but nothing is wasted.

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 10-parameter, zero-required list tool with full schema coverage, annotations and an output schema, the description covers scope selection, filtering, permissions and row contents adequately. The main omission is any statement about pagination/ordering expectations when paging through organization results.

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 cross-parameter meaning the schema leaves implicit: that status filtering applies to both views while from/to (a civil-day YYYY-MM-DD window) and type/event_id narrow organization rows, and that user_id defaults to the caller. The limit/offset pagination behavior is only partially echoed and relies on 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?

Uses a specific verb and resource ('See shifts and crew offers') and immediately splits it into the two views it supports — recipient-side offers versus an organization's Staffing-board shifts. That framing lets an agent distinguish it from get_crew_offer and save_crew_offer without opening the schema.

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?

Explicitly states that scope="mine" (default) is the recipient-side view and scope="organization" is the org-wide board view, including the case where DRAFT shifts created by apply_calllist_to_event or save_crew_offer have no recipients yet. It does not, however, say when to prefer list_crew_offers over sibling readers like get_crew_offer, so a small routing gap remains.

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.