Skip to main content
Glama

Get Labor Work Day

get_labor_work_day
Read-only

One worker's day, as their my-work page shows it: the runs they are committed to that day with their part of each crew, the work session running now, time recorded that day, and their open issues. day is a calendar date (YYYY-MM-DD) in the account's time zone; it defaults to today. In the app, omit worker for the signed-in user's own day (User role; their account must be linked to a worker). Naming another worker (id or full name) needs Admin; connectors must name one. 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_work_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNoThe day, YYYY-MM-DD in the account's time zone; defaults to today.
workerNoA worker id (GUID) or full name; omit in the app for your own day.

Output Schema

NameRequiredDescriptionDefault
dayNo
runsNo
dayEndNo
issuesNo
workerNo
actualsNo
dayStartNo
timeZoneNo
activeSessionNo
recordedHoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare it a safe read; the description goes well beyond by stating the credential type ('Operator credentials only'), the role escalation required to read another worker's day, and the precondition that a User's account be linked to a worker. These are exactly the failure modes an agent needs to anticipate before calling.

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 what the tool returns, then parameter and auth constraints in order of relevance; no filler sentences. The opening sentence is long and comma-stacked, which costs a little immediate readability.

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 a 2-optional-param read tool with full schema coverage, annotations, and an output schema, the description covers the remaining unknowns: authorization requirements, defaulting behavior, and the nature of the payload. Nothing an agent needs in order 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 the baseline is 3, and the description repeats most of the schema's own wording for both params. It does add genuinely new meaning — the Admin requirement and the connector constraint on 'worker' — which lifts it above baseline.

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?

Names a specific verb and resource ('One worker's day') and enumerates the payload: committed runs with crew parts, the currently running session, recorded time, and open issues. An agent knows exactly what this returns and can distinguish it from the many transition_*/record_*/list_* labor siblings without opening a schema.

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?

Gives explicit selection rules for the worker parameter: omit it in the app for your own day (User role, linked account), name another worker (id or full name) only with Admin, and connectors must always name one. No sibling alternatives are named (e.g., list_labor_issues for a broader issue view), so it falls short of 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