Skip to main content
Glama

Resolve Labor Issue

resolve_labor_issue
Idempotent

Resolve an open issue a worker reported, as the labor planner screen's resolve button does: the issue closes with the resolution text (1–1000 characters), which the worker sees on their my-work page. Find open issues with list_labor_issues. Admin; operator credentials only. 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": {
      "issueId": "<issueId>",
      "resolution": "<resolution>"
    },
    "name": "resolve_labor_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueIdYesThe issue id (GUID), from list_labor_issues.
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.
resolutionYesHow it was resolved, 1–1000 characters.
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.4/5.0
Behavior4/5

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

Beyond the annotations (which only cover non-read-only, idempotent, non-destructive), it discloses the user-visible consequence — the worker sees the resolution text on their my-work page — plus the admin/operator credential gate and the mandatory two-step preview/commit flow. It stops short of noting whether the close is reversible or what happens to an already-closed issue, which keeps it off a 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?

The core action and its effect are front-loaded in the first sentence, and each subsequent clause carries a distinct operational fact. The final sentence packs credentials, preview ordering, and the assistant's confirm card into one dense line, which is efficient but slightly compressed.

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 mutating, two-step-write tool with an output schema available, the description covers the auth requirement, the side effect on the worker's view, and the preview-then-commit sequencing. An agent has everything needed to invoke it correctly without inferring from the schema alone.

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 description coverage is 100%, so issueId, resolution, preview, idempotencyKey, and previewReceipt are already fully documented, including the two-step receipt flow. The description restates the 1–1000 character resolution limit and the preview-first rule but adds no syntax or format meaning beyond the schema, so the baseline 3 applies.

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 names a specific verb and resource ('Resolve an open issue a worker reported') and states the resulting effect ('the issue closes with the resolution text'). It also implicitly separates this from list_labor_issues, which only finds issues, so an agent can pick between them 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It routes discovery to a named sibling ('Find open issues with list_labor_issues'), states the credential requirement ('Admin; operator credentials only'), and mandates the call order ('Preview first'). When-to-use, prerequisites, and the alternative are all explicit.

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