Skip to main content
Glama

Save Labor Pool

save_labor_pool
DestructiveIdempotent

Add a qualified labor pool, or edit one, as the labor resources screen does: its name and the workers qualified in it (at most 100). Plans draw crews from pools. Omit pool to add one (name required); name an existing pool by id or name (get_labor_resources) to rename it or change its members. Pass workers for the complete member list, or addWorkers and removeWorkers to adjust the current one; workers by id or full name. Archived workers can't be added. Admin; operator credentials only. Preview first; the in-app assistant gets a confirm card.

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

Input Schema

NameRequiredDescriptionDefault
nameNoThe pool's name, at most 120 characters; required for a new pool.
poolNoThe pool to edit, by id or name; omit to add a new pool.
previewNoStep 1 of the required two-step write: set true to validate and receive a structured preview plus a single-use previewReceipt. Nothing changes until the commit call.
workersNoThe complete list of qualified workers, by id or full name.
addWorkersNoWorkers to add to the current members, by id or full name.
removeWorkersNoWorkers to remove from the current members, by id or full name.
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2 of the required two-step write: the receipt returned by the preview call. Supply together with a fresh idempotencyKey to commit; calls without it are refused.

Output Schema

NameRequiredDescriptionDefault
okNo
poolIdNo
previewNo
requestNo
committedNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), it discloses the 100-worker cap, that archived workers cannot be added, that admin/operator credentials are required, and that the in-app assistant surfaces a confirm card. The two-step preview/commit contract with a single-use receipt is exactly the kind of behavioral context annotations cannot convey.

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 is front-loaded, then create/edit routing, then member semantics, then constraints and credentials. It is dense but nearly every clause carries operational information; the parenthetical callout to get_labor_resources and the confirm-card remark are the only mildly incidental bits.

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 8-parameter destructive write with an output schema, the description covers what changes, who may call it, limits, validation constraints, and the required preview/commit handshake. Nothing an agent needs to invoke it safely 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 the baseline is 3, but the description adds real meaning by framing workers vs addWorkers/removeWorkers as alternatives (full replacement list versus incremental adjustment) — a mutual-exclusivity relationship the schema lists without stating. It also reinforces that pool accepts id or name and that name is required only for creation.

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: "Add a qualified labor pool, or edit one," and scopes it to name plus qualified workers (max 100). It implicitly separates itself from save_labor_worker and save_labor_default by framing pools as containers that plans draw crews from.

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 gives explicit create-vs-edit routing ("Omit pool to add one"; "name an existing pool by id or name") and points to get_labor_resources for resolving identifiers. It also mandates the preview-first flow, so the agent knows the sequencing before calling.

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.

Resources