Skip to main content
Glama

Approve completed work

approve_completion

Releases the withheld payout to the worker. Only after the person has reviewed the evidence.

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>"
    },
    "name": "approve_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
contract_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description adds that money moves (the withheld payout is released) and that a human review must precede it, which is genuine context. It says nothing about reversibility, permissions, or what happens if approval is premature — notable for an irreversible financial action.

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 front-loaded sentences with no wasted wording; the action is stated first and the gating condition second. The phrase 'the person' is slightly ambiguous (client? reviewer?), costing a point.

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

Completeness3/5

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

For a single-parameter mutation with no output schema, the description covers what the tool does and the key precondition. It leaves the parameter meaning and the post-call outcome (payout state, error modes) unexplained, which an agent needs before committing money.

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?

There is one required parameter, contract_id, with 0% schema description coverage, so the description carries the full burden of explaining it. It never mentions the identifier at all — an agent must infer that contract_id names the contract whose completion is being approved, and whether it accepts an ID versus a slug.

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?

The description gives a specific verb and object — releasing a withheld payout to the worker — which an agent can distinguish from siblings like request_rework or decline_applicant. It does not explicitly name those alternatives, so it stops short of a 5.

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?

It states a clear precondition for invocation: only after the person has reviewed the evidence. That is a real usage constraint rather than generic filler. It lacks explicit exclusions or a routed alternative (e.g., use request_rework if the evidence is unsatisfactory).

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