Skip to main content
Glama

Request rework

request_rework

Send the worker back (max 2 rounds) with a specific reason.

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": {
      "contract_id": "<contract_id>",
      "reason": "<reason>"
    },
    "name": "request_rework"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
contract_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, open-world, non-destructive mutation. The description adds genuinely useful behavior beyond that: rework is capped at two rounds and requires a specific reason. It still does not explain what state change occurs, what happens after the second round, or whether the request can be withdrawn.

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 definition is a single compact sentence with the most important constraint, the two-round cap, placed immediately after the action. It is front-loaded and free of filler, though 'send the worker back' is slightly ambiguous compared with a direct phrase like 'request rework on a contract'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a state-changing tool with no output schema and no parameter descriptions, so the description needs to do more work. It omits the contract context, preconditions, expected outcome, and what distinguishes this action from sibling approval and dispute tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden of explaining both parameters. It adds meaning for 'reason' by requiring it to be specific, but says nothing about 'contract_id' or its format, and does not explain how the two parameters interact.

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

Purpose3/5

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

The phrase 'Send the worker back' communicates the general intent of returning work to a worker, and the name/title reinforce 'request_rework'. However, it does not clearly state the resource involved (a contract), what is being reworked, or how this differs from related actions like approve_completion or decline_applicant.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description gives a round limit ('max 2 rounds') but no guidance on when to request rework versus approving completion, declining, or opening a dispute. It also does not state any preconditions, such as the contract needing to be in a submitted or pending state.

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