Skip to main content
Glama

Preview Labor Capacity

preview_labor_capacity
Read-only

Check whether the planned labor fits the workers' calendars over whole days in the account's time zone: feasible, unknown (a calendar or plan is missing) or overloaded, with the planned person-hours and each slice that is short of crew and the operations in it. from is YYYY-MM-DD (defaults to today); days is 1–30 (default 7). includeAuthorizedOvertime counts overtime windows as available. Labor alone never validates a delivery date. Admin; operator credentials only.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days to check, 1–30.
fromNoThe first day, YYYY-MM-DD in the account's time zone; defaults to today.
includeAuthorizedOvertimeNoCount authorized overtime windows as available.

Output Schema

NameRequiredDescriptionDefault
fromNo
statusNo
throughNo
timeZoneNo
sliceCountNo
problemSlicesNo
reviewRequiredNo
plannedLaborHoursNo
problemSlicesTruncatedNo
capacityValidatedPromiseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/closed-world, so the bar is lower, and the description still adds real value: the tri-state outcome model, that 'unknown' arises when a calendar or plan is missing, time-zone handling, and the authorization constraint. It does not discuss cost, limits, or how partial-data days are treated, so it stops short of 5.

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?

Front-loaded with the core purpose and outcome vocabulary, then parameters, then caveats and auth. Dense but every clause carries information; the long second sentence packs in return contents and is slightly run-on but not wasteful.

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 read-only preview with an output schema and fully described parameters, the description supplies the outcome taxonomy, time-zone semantics, defaults, and credential constraints an agent needs to invoke it correctly. It is slightly redundant with the output schema, and omission of any performance or data-freshness caveat keeps it at 4.

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 coverage is 100%, so the baseline is 3. The description restates the bounds and defaults ('from is YYYY-MM-DD (defaults to today); days is 1–30 (default 7)') and clarifies that includeAuthorizedOvertime 'counts overtime windows as available,' but this largely duplicates the schema rather than adding new meaning.

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 ('Check whether the planned labor fits the workers' calendars over whole days') and enumerates the exact result states it returns: feasible, unknown, overloaded. It also names what the response contains (planned person-hours, short-crew slices, operations in them), so an agent can distinguish this from the other preview_* tools by resource rather than guessing.

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 gives clear operating context: whole-day granularity, account time zone, the default window, and the explicit caveat 'Labor alone never validates a delivery date,' which steers the agent elsewhere for delivery validation. It also states the credential prerequisite ('Admin; operator credentials only'). No explicit when-not or named alternative tool, which keeps it below a 5.

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