Skip to main content
Glama

Get Labor Resources

get_labor_resources
Read-only

The workers and labor pools behind labor planning: each worker with the account they are linked to (only a linked worker has a my-work page), the pools they qualify for, whether they are archived, and the span their calendar covers; each pool with its members. Name a worker (id or full name) to also get that worker's calendar windows that have not ended (shifts, breaks, absences, overtime). 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": "get_labor_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
workerNoA worker id (GUID) or full name, for that worker's calendar windows.

Output Schema

NameRequiredDescriptionDefault
poolsNo
windowsNo
workersNo
windowsTruncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/destructive/openWorld annotations, it discloses a non-obvious filtering behavior—calendar windows returned are only those that have not ended—and the specific auth requirement ('Admin; operator credentials only'). It also notes the linked-account prerequisite for a my-work page, which is real domain context. Return formatting and volume are not discussed, but an output schema exists to cover that.

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 returned resource, then the conditional worker behavior, then the auth constraint—a sensible ordering. The first clause is long and semicolon-chained, and some of the returned-field detail is redundant against the output schema, but no sentence is filler.

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 single optional parameter, read-only tool with full schema coverage, full annotations, and an output schema, this is complete: the agent knows what it gets, the conditional behavior, and the credential prerequisite. The only soft spot is that with an output schema present the descriptive return enumeration is partly wasted effort rather than adding new decision-relevant information.

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% and the schema already documents 'worker' as a GUID or full name, so the description roughly duplicates it. It does add value by spelling out the consequence of setting the parameter (you also get calendar windows) and what those windows can be—shifts, breaks, absences, overtime—which the schema does not say.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource precisely—workers plus the pools they qualify for—and enumerates what each record carries (linked account, my-work page, archived flag, calendar span, pool members). It is not a bare restatement of the name, though it never explicitly distinguishes itself from write-side siblings like save_labor_worker or save_labor_pool; the read-only framing is left to the annotations.

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 rather than stated: it tells you to supply a worker id/name to additionally pull that worker's open calendar windows, and it declares 'Admin; operator credentials only'. No sibling is named as an alternative and no when-not-to-use condition is given, so an agent must infer that the save_* tools are for mutation.

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