Skip to main content
Glama

Report Labor Issue

report_labor_issue
Idempotent

Report something stopping the signed-in worker on a run they are committed to or working now, as the report-issue button on their my-work page does; planners see it in list_labor_issues. reason is materials, equipment, quality, instructions or other; note describes it (1–1000 characters). Name the run by operationId, or by workOrder and operationCode. One open issue per worker per run. In-app only (User role; the account must be linked to a worker). Preview first; the in-app assistant gets a confirm card.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "reason": "<reason>",
      "note": "<note>"
    },
    "name": "report_labor_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteYesWhat is wrong, 1–1000 characters.
reasonYesmaterials, equipment, quality, instructions or other.
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.
workOrderNoThe run's work order number, with operationCode.
operationIdNoThe run's operation id (GUID).
operationCodeNoThe run's operation code, with workOrder.
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
issueNo
previewNo
requestNo
committedNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
idempotentReplayNo

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 cover the safety profile (not read-only, idempotent, non-destructive); the description adds the operational traits that matter: the mandatory two-step preview/commit with a single-use previewReceipt, the refusal of calls lacking a receipt, idempotency key usage, and the one-open-issue-per-worker-per-run uniqueness rule. That is substantive behavior beyond what annotations declare.

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 action and its trigger, then constraints and workflow, so the important routing information comes first. It is dense and semicolon-packed, but nearly every clause carries a distinct constraint rather than repeating structured data.

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, two-step write with a non-obvious preview/commit protocol, the description supplies the workflow, permissions, uniqueness rule, and run-identification options; an output schema exists, so return values need not be described. Nothing essential to calling it correctly appears 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 would be 3, but the description adds meaning the schema does not: reason's five accepted values, note length bounds, and the either/or run identification rule (operationId alone, or workOrder plus operationCode together). It does not explain idempotencyKey/previewReceipt interplay beyond what the schema already says, so it stops short of a 5.

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?

States a specific verb and resource ('Report something stopping the signed-in worker on a run they are committed to or working now') and ties it to a concrete surface (the report-issue button on the my-work page). It also distinguishes itself from the read-side sibling by noting planners see the result in list_labor_issues.

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 clear preconditions: in-app only, User role, account linked to a worker, one open issue per worker per run, and a required preview-then-commit flow. What is missing is explicit routing against lookalike siblings such as report_issue or report_onboarding_issue, so an agent still has to infer which reporter applies to which situation.

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