Skip to main content
Glama

Shift details

get_crew_offer
Read-onlyIdempotent

Get one crew offer (shift) with its days and every recipient (user_id, status, fee, delivery). Use before send_crew_offer to review who is attached, and after to confirm delivery. Read-only; org members 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": {
      "offer_id": "<offer_id>"
    },
    "name": "get_crew_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
offer_idYescrew offer id from list_crew_offers / list_mailbox
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 }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 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
    • changedInput schema / properties / offer_id / description
      Previous value: -"crew offer id from list_org_crew_offers / list_mailbox"New value: +"crew offer id from list_crew_offers / list_mailbox"
    • addedInput schema / properties / offer_id / minLength
      Added value: +1
    • changedInput schema / properties / organization_id / description
      Previous value: -"defaults to your active organization"New value: +"organization to act in, an id from get_me; omit to use your active organization"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / data / additionalProperties
      Added value: +{}
    • 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 }"
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "data": {
      +    "additionalProperties": {},
      +    "properties": {
      +      "created_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "created_by_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currency": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "date": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "days": {
      +        "anyOf": [
      +          {
      +            "description": "Days is the per-day breakdown of a (potentially multi-day) offer. Every\ndated offer has at least one day row; single-day offers have exactly one.\ncrew_offers.date is a write-through projection of the earliest day.",
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "accepted_count": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "date": {
      +                  "anyOf": [
      +                    {
      +                      "description": "YYYY-MM-DD",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "effective_fee": {
      +                  "anyOf": [
      +                    {
      +                      "description": "EffectiveFee is the resolved rate for this day (day.fee ?? offer.fee) so\nclients don't have to re-derive it. Null only when neither is set.",
      +                      "type": "number"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "end_time": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "start_time": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "end_time": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "event_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "event_status": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "event_timezone": {
      +        "anyOf": [
      +          {
      +            "description": "Resolved Event IANA timezone when the Event relation is loaded (e.g. engagements inbox). Omitted for event-less offers or queries that do not resolve event zone.",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "event_title": {
      +        "anyOf": [
      +          {
      +            "description": "EventTitle is the name of the gig this offer belongs to. Populated when\nthe Event relation is loaded (e.g. the engagements inbox paths); omitted\nfor event-less open-shift offers or queries that don't fetch the event.",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "event_type": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fee": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "fee_type": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "kind": {
      +        "anyOf": [
      +          {
      +            "description": "CREW shifts are offered to people. HOUSE_LABOR shifts record the hands a venue or union local supplies for one labor call phase; they stay DRAFT and never have recipients.",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "max_acceptances": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "offer_type": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "org_position_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "organization_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "recipient_drafts": {
      +        "anyOf": [
      +          {
      +            "description": "Manager-only unsent crew. Excluded from recipients, capacity, notifications and crew inboxes until explicitly sent.",
      +            "items": {},
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "recipients": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "account_state": {
      +                  "anyOf": [
      +                    {
      +                      "description": "NO_ACCOUNT for a person without a Soundcheck account (placeholder).",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "created_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "day_responses": {
      +                  "anyOf": [
      +                    {
      +                      "description": "DayResponses is this recipient's per-day response breakdown. Status is\nthe response truth; the top-level Status is a maintained rollup over these.",
      +                      "items": {},
      +                      "type": "array"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "delivery_status": {
      +                  "anyOf": [
      +                    {
      +                      "description": "DeliveryStatus mirrors the invitation contract: NOT_SENT (never dispatched),\nSENT (>=1 external channel accepted a send/reminder), FAILED (every attempted\nchannel failed). Clients render nothing for NOT_SENT/SENT.",
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "effective_fee": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "email": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "is_act_lead": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "offer_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "response_summary": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": {},
      +                      "description": "ResponseSummary is a rollup count of this recipient's day responses so\nclients can render \"Partial (2/3)\" without walking DayResponses.",
      +                      "properties": {
      +                        "days_accepted": {
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "days_declined": {
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "days_pending": {
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "days_total": {
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "shift_overlaps": {
      +                  "anyOf": [
      +                    {
      +                      "description": "This person's other shifts on the same gig whose call windows overlap this one. Absent when there is none. Draft shifts count only for staffing managers.",
      +                      "items": {},
      +                      "type": "array"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ]
      +                },
      +                "sms_eligible": {
      +                  "type": [
      +                    "boolean",
      +                    "null"
      +                  ]
      +                },
      +                "status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "updated_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "user_id": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "username": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "seats_needed": {
      +        "anyOf": [
      +          {
      +            "description": "SeatsNeeded is the explicit demand for a JOB_OFFER (\"asked 5, need 2\").\nNull means the staffing denominator is asked-minus-declined (Phase 1). It\nnever gates accepts; accepted beyond it is surfaced as overbooking.",
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "start_time": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "updated_at": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "status": {
      +    "type": "number"
      +  }
      +}
    • addedOutput schema / properties / data / type
      Added value: +"object"
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds two genuinely useful pieces of context beyond that: the access constraint ('org members only') and the fact that the record includes recipients with status/fee/delivery. It says nothing about delivery-failure states or staleness of recipient status.

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?

Three short sentences, front-loaded with the resource and its contents before the usage and the access note. Wording is tight with no filler, though the recipient field list could have been folded more economically.

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 two-parameter read tool with a full output schema and complete annotation coverage, the description supplies enough: what it returns, when to call it, and who may call it. Only the return-shape nuance for failed deliveries is left unstated, which is minor given the output schema exists.

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 both offer_id provenance (from list_crew_offers / list_mailbox) and the organization_id default ('omit to use your active organization'). The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 states a specific verb and resource ('Get one crew offer (shift)') and immediately enumerates the payload ('its days and every recipient (user_id, status, fee, delivery)'). The singular scope plus the recipient enumeration clearly separates it from the plural sibling list_crew_offers without needing 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?

It names a concrete sibling and the lifecycle moment for each use: 'before send_crew_offer to review who is attached, and after to confirm delivery.' That is strong when-to-use guidance, though it gives no explicit when-not case (e.g. use list_crew_offers instead when browsing many offers).

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.