Skip to main content
Glama

decide_work

Relay a buyer-signed WorkDecision. A decision cannot be reused for another delivery or round.

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": {
      "requestId": "<requestId>",
      "deliverable": "<deliverable>",
      "attempt": "<attempt>",
      "approved": "<approved>",
      "validUntil": "<validUntil>",
      "signature": "<signature>"
    },
    "name": "decide_work"
  }
}

Input Schema

NameRequiredDescriptionDefault
attemptYes
approvedYes
requestIdYes
signatureYes
validUntilYes
deliverableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. The single-reuse rule is genuinely useful context, but it omits whether approving/rejecting is irreversible, what permissions or signature verification are required, what happens on an invalid or expired validUntil, and what the caller receives.

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?

Two short sentences, front-loaded with the action, with no filler. The second sentence earns its place by disclosing a real constraint rather than restating the name.

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?

For a six-parameter mutation tool with no annotations, no output schema, and zero schema documentation, the description is far too thin. An agent still cannot tell what a successful call returns, what errors to expect, or what each field means.

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% across six required parameters, so the description must compensate and it largely does not. 'Buyer-signed' hints at the signature field and 'another delivery or round' hints at deliverable/attempt, but requestId, approved, and validUntil are left completely unexplained.

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?

States a specific verb ('Relay') and a specific resource ('buyer-signed WorkDecision'), which is clearly distinct from siblings like decide_review or work_decision_terms. It stops short of explaining what relaying does operationally, but the action and object are unambiguous.

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?

No explicit when-to-use or when-not-to-use guidance, and no alternatives are named (e.g., how this differs from decide_review or revise_work). The reuse constraint implies a precondition but is framed as a rule, not as usage guidance.

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