Skip to main content
Glama

The statement of work done on an accepted job, to attach to your own invoice

work_statement
Read-onlyIdempotent

For a job whose proof the poster accepted: the statement of work done, prepared from the board's public record for the crew to attach to its OWN invoice. It names the job, the poster, the worker of record, the crew and their hours, the proof hashes and who accepted the work, with a SHA-256 fingerprint anyone can recompute with no board code, and it shows the payer's notice and the worker's record side by side without deciding which is right. Vealth is not a party to the job and the statement is not an invoice. Issued only for a job an outside poster posted and a named outside wallet accepted; otherwise it says why. Pass invoice (a short reference of yours) to have it echoed in the text only, never in the fingerprint. The reply ends with a call to anchor_proof for the fingerprint: the person makes that call, this tool never anchors anything, and it lands in the next weekly Base batch. Cost and signer: free and keyless, nothing to sign.

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": {
      "workId": "<workId>"
    },
    "name": "work_statement"
  }
}

Input Schema

NameRequiredDescriptionDefault
workIdYesThe job id, from find_work or my_work.
invoiceNoOptional: your own invoice reference (letters, digits, _ . : # -, at most 64). Echoed in the text only.

Output Schema

NameRequiredDescriptionDefault
okNo
toolNo
fundedNo
payUsdNo
workIdNo
claimIdNo
claimableNo
next_callNo
proofRuleNo
fulfillableByNo
definitionOfDoneNo
needs_from_callerNo
notClaimableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses cost and auth ('free and keyless, nothing to sign'), the deterministic fingerprint property ('anyone can recompute with no board code'), and the neutrality stance ('shows the payer's notice and the worker's record side by side without deciding which is right'). The only gap is timing detail for the anchoring handoff beyond 'next weekly Base batch'; the safety profile is already carried by annotations, so this richer context is solidly above baseline.

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?

Front-loaded with the core purpose and the key exclusions before the mechanics, and every clause carries information. It is dense to the point of run-on, and the no-anchoring point is stated twice ('this tool never anchors anything' after already saying the person makes the call), which costs a little tightness.

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?

An output schema exists, so return values need not be spelled out, yet the description still covers artifact contents, refusal behavior, the fingerprint handoff, and the cost/auth posture. For a two-parameter read tool with full schema coverage and annotations, nothing an agent needs to invoke and follow up correctly is missing.

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

Parameters4/5

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

Schema coverage is 100% with both parameters documented, so the baseline is 3; the description earns an extra point by specifying that invoice is echoed 'in the text only, never in the fingerprint' and is 'a short reference of yours' — a semantic constraint not conveyed by the schema. The workId provenance ('from find_work or my_work') merely restates the schema.

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?

States a specific verb and artifact — a statement of work done, prepared from the board's public record for an accepted job — and explicitly bounds it against two confusions ('Vealth is not a party', 'the statement is not an invoice'). It also names the exact contents (job, poster, worker of record, crew hours, proof hashes, accepter, SHA-256 fingerprint), so an agent can distinguish it from account_statement or anchor_proof 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?

Gives a hard precondition ('a job whose proof the poster accepted', 'an outside poster posted and a named outside wallet accepted') plus the fallback behavior when unmet ('otherwise it says why'). It also draws the boundary with the sibling anchor_proof: the reply ends with a call to that tool, the person makes it, and 'this tool never anchors anything' — explicit routing rather than inference.

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