Skip to main content
Glama

Remove someone from a shift

remove_crew_offer_recipient
DestructiveIdempotent

Take one person off an OPEN or FILLED crew offer — the whole shift, or only some days (days as YYYY-MM-DD; they keep the rest). Who is told: the person is emailed that they were taken off the shift, or that their days changed when they keep some. Owner/admin only. Refused with 409 GIG_ROSTER_LOCKED on a completed and settled gig (status SETTLED): reopen_event first. Confirmation-gated.

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

Input Schema

NameRequiredDescriptionDefault
daysNoonly these YYYY-MM-DD days; omit to remove them from the whole shift
notesNoreason, kept on the record
user_idYesuser_id of the recipient to remove, from the shift recipients get_crew_offer returns
offer_idYesthe shift (crew offer) id, from list_crew_offers
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
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: { 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 } or { offer { recipient_drafts, calllist_id, created_by_id, currency, date, days, description, end_time, and 21 more fields }, results [{ date, outcome }] } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior3/5

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

Beyond the annotations (destructiveHint, idempotentHint, openWorldHint), the description adds real value: the recipient is emailed either that they were removed or that their days changed, partial removal preserves the remaining days, and the call is confirmation-gated. It does not, however, describe side effects such as whether the freed slot is re-offered or whether the removal is reversible. With annotations already declaring destructiveness, a 3 reflects solid but incomplete added context.

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 action and scope, then stacks notifications, permissions, error handling, and the confirmation gate with no filler. The telegraphic phrasing ('Who is told:', semicolon-chained clauses) is dense but every clause carries distinct operational information.

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, confirmation-gated mutation, the definition covers scope, permission, notification side effect, the blocking error and its remediation path, and the confirmation flow. An output schema exists, so return-value detail is correctly omitted, leaving nothing an agent needs before calling it.

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 schema baseline is 3. The description goes beyond it by explaining that 'days' means the recipient keeps the remaining days and by framing the confirmation-token handshake as a two-call flow, which is behavioral meaning the schema alone states only procedurally.

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+resource ('Take one person off an OPEN or FILLED crew offer') and immediately bounds scope to the whole shift or a subset of days. It is clearly distinguishable from sibling mutations like update_shift_recipient and swap_shift_recipient because it names removal, not modification or substitution.

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?

It states the allowed offer states (OPEN or FILLED), the permission gate (owner/admin only), and the exact blocking condition with a named alternative action: a SETTLED gig is refused with 409 GIG_ROSTER_LOCKED and requires reopen_event first. That is explicit when-to-use, when-not-to-use, and what to do instead.

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.