Skip to main content
Glama

Add or edit a staffing template

save_staffing_template
Destructive

Create a team template (a call list) in an organization, change one with calllist_id, or copy one with duplicate_from_calllist_id (its category, position slots with seats, labor call lines and roster into a new template; optional name defaults to " (copy)" server-side). When creating or editing, name is required. Prefer positions[]: it carries seats per slot, and a slot needs no member, so a template can describe a crew shape before anyone is picked. org_position_ids is the older flat form and cannot express seats. Pass members to pencil people in (user_id from list_org_members). Pass labor_lines to save a house labor call (per department: load-in, show and load-out call times and hands) that applying the template writes onto the gig labor call. When changing a template, name, description and category are replaced, members are upserted by user_id (delete:true removes one), position slots are rewritten only when positions[] or org_position_ids is sent, and labor_lines replaces the template's lines only when sent. Confirmation-gated only when any members[] entry has delete: true. Apply it to a gig with apply_calllist_to_event; edit a gig's own labor call with save_gig_labor_call.

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_staffing_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNotemplate name; required for create/edit, optional when duplicating
membersNomembers to add when creating, or to upsert or remove when changing
categoryNofree-text grouping shown as a badge, e.g. House, Festival, Corporate
positionsNoposition slots, in display order; replaces the existing slots wholesale
calllist_idNochange this template; omit to create one
descriptionNooptional description
labor_linesNolabor call lines (house labor head counts and call times per department); replaces the existing lines wholesale, omit to leave them untouched. Applying the template adds each department the gig does not already have to its labor call.
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
org_position_idsNolegacy flat position ids from list_org_positions; ignored when positions is set
confirmation_tokenNoonly when any members[] entry has delete: true: leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed
duplicate_from_calllist_idNocopy this template into a new one instead of create/edit

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: create or edit: { catalog_key, category, description, id, labor_lines [{ id, department, org_position_id, load_in_call, load_in_hands, show_call, show_hands, load_out_call, and 4 more fields }], members [{ call_order, calllist_id, email, id, is_backup, notes, org_member_id, org_position_id, and 4 more fields }], name, positions [{ id, members, name, org_position_id, required, seats, section, sort_order }], role_assignments, selected_roles [{ id, is_custom, name, position_id, section }], used_on_events_count }; a copy made with duplicate_from_calllist_id: { catalog_key, category, description, id, labor_lines [{ id, department, org_position_id, load_in_call, load_in_hands, show_call, show_hands, load_out_call, and 4 more fields }], members [{ call_order, calllist_id, email, id, is_backup, notes, org_member_id, org_position_id, and 4 more fields }], name, positions [{ id, members, name, org_position_id, required, seats, section, sort_order }], role_assignments, selected_roles [{ id, is_custom, name, position_id, section }], used_on_events_count } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and non-idempotent, and the description confirms and sharpens that: on edit, name/description/category are replaced, members are upserted by user_id, positions are rewritten only when positions[] or org_position_ids is sent, and labor_lines replaces wholesale only when sent. It also discloses the duplicate default name ('<name> (copy)') and that applying a template only adds departments the gig doesn't already have. Only minor gaps remain, e.g. whether category/description are cleared when omitted versus on partial update, which is implied but not stated outright.

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?

There is essentially no filler — every clause carries routing, side-effect, or precedence information — but it is delivered as a single dense paragraph of ~150 words where the confirmation-gating and edit-replacement rules are buried mid-stream. Bullets or an explicit 'create / edit / duplicate' ordering would let an agent scan the mode-specific rules faster.

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 an 11-parameter mutation tool with a confirmation flow and three operating modes, the description covers the create path, the exact replacement semantics of each editable collection, the copy path, the confirmation protocol, and the boundaries against siblings. With an output schema present, it correctly omits return-value detail — nothing an agent needs to call it correctly is missing.

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 baseline would be 3, but the description adds real semantics the schema doesn't: that name is optional specifically in the duplicate path, that members entries with delete:true remove a person and gate a confirmation, that a slot needs no member so a crew shape can be described before staffing, and that labor_lines represent load-in/show/load-out calls per department. This goes beyond field-level definitions to explain how parameters interact.

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 names a concrete verb and resource — 'Create a team template (a call list) in an organization' — and immediately splits the three modes an agent must distinguish: create (no id), change (calllist_id), and copy (duplicate_from_calllist_id). It also names the sibling tools that do the adjacent jobs, so the agent can route without opening schemas.

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 routing is given: 'Apply it to a gig with apply_calllist_to_event; edit a gig's own labor call with save_gig_labor_call.' It also states a preference hierarchy (prefer positions[] over org_position_ids because the flat form cannot express seats) and the exact condition that triggers a confirmation round-trip, which tells the agent when to expect a two-call flow.

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.