Skip to main content
Glama

Remove labor call department

remove_event_labor_call_department
DestructiveIdempotent

Remove a department row from a gig's labor call. Returns the whole labor call: union_local, steward, steward_call, head_electrician, head_electrician_call, notes, departments (id, department, load_in_call, load_in_hands, show_call, show_hands, load_out_call, load_out_hands, load_out_next_day, notes, sort_order) and totals (load_in_hands, show_hands, load_out_hands). Each department phase with hands or a call is a house labor shift on the gig's Staffing board: load-in on the first day, show every day, load-out on the last day. A load-out call earlier than the show call (or the load-in call, or 06:00 when neither is set) falls on the next morning and load_out_next_day is true. Confirmation-gated. Requires 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": {
      "event_id": "<event_id>",
      "department_id": "<department_id>"
    },
    "name": "remove_event_labor_call_department"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig (event) id, from list_events, open_gigs or my_agenda
department_idYesdepartment id from get_staffing_plan scope "gig"
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: the whole labor call: { event_id, union_local, steward, steward_call, head_electrician, head_electrician_call, notes, departments [{ id, event_id, department, org_position_id, load_in_call, load_in_hands, show_call, show_hands, and 12 more fields }], totals { load_in_hands, show_hands, load_out_hands }, updated_at } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description still adds real value beyond them: the confirmation gating flow, the gig-operations authorization requirement, and the fact that the entire labor call is returned rather than just the removed row. It does not disclose side effects on the Staffing board shifts despite describing them, which keeps it short of a 5.

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?

The purpose and gating statements are front-loaded and earn their place. But the long enumeration of every returned field (union_local, steward, head_electrician, departments with id/department/load_in_call/... and totals) is redundant given an output schema exists, and the house-labor-shift/load_out_next_day explanation is tangential for a delete operation.

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 destructive, confirmation-gated mutation, the description covers the two things an agent most needs: the confirmation handshake and the access requirement. Return-value behavior is documented in the output schema, so the description is sufficiently complete even though it duplicates that list rather than spending space on shift side effects.

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 explains where event_id and department_id come from plus the full confirmation_token two-step protocol. The description adds only the loose framing 'a gig's labor call' and does not clarify parameter meaning beyond structured data, so the baseline 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 first sentence names a specific verb and resource: 'Remove a department row from a gig's labor call.' That is clearly distinct from save_gig_labor_call (which writes/updates the call) and from the generic remove_* siblings, so an agent can route 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the precise purpose statement, and two prerequisites are stated ('Confirmation-gated', 'Requires gig-operations access'). However, it never explains when to remove a department row versus save_gig_labor_call with an emptied row, nor when-not to use it, leaving the alternative selection to inference.

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.