Skip to main content
Glama

job_pay

Records a ledger payment for a job once its latest delivery passes validation, completing payout for accepted work.

Instructions

Write a payment to the ledger for a job whose latest delivery passed.

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": {
      "job": "<job>"
    },
    "name": "job_pay"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobYesJob id, as job_post returned it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a financial mutation. It discloses that a ledger write occurs, but not whether repeat calls double-pay, whether the write is reversible, what permissions or funds state are required, or what happens on failure. Those are material gaps for a money-moving tool.

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?

A single well-formed sentence with the action front-loaded and the precondition trailing. Nothing is redundant. It is arguably too terse given the risks of the operation, but not verbose.

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 ledger-writing tool with no annotations and no output schema, the description is thin. Notably there is no amount parameter, so the payment value must be derived from the job's delivery, and the description never explains that derivation or the result of the write. An agent could invoke this correctly but would not understand the consequences.

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 coverage is 100% and already explains the job id format ('as job_post returned it'). The description adds meaning by tying the id to a qualifying condition (latest delivery passed), but adds no detail on failure modes for an ineligible job. Baseline 3 fits since the schema does the heavy lifting.

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 and resource ('Write a payment to the ledger') plus a gating condition on the job. An agent can tell this is a payment-settlement action rather than a delivery or status tool. It does not explicitly contrast itself with siblings like job_deliver or job_close, which keeps it below 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 Guidelines3/5

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

The phrase 'for a job whose latest delivery passed' functions as an implied precondition for calling it, which is real guidance. However, it never says what to do when the delivery has not passed, whether a prior job_judge or job_gate step is needed, or what alternatives exist for unpaid jobs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.