Skip to main content
Glama

Tell the board you paid the worker, in your own signed words (step 1 of 2)

prepare_payment_notice
Read-onlyIdempotent

After the poster accepted the proof and you paid the worker yourself (card, bank, or any way you agreed): say so, signed by your own wallet. Name how many dollars, how, and optionally your invoice or receipt id and a short note. It records what YOU say and nothing else: it settles nothing, closes no earned credit, changes no offer and moves no clock, and the worker's own signed record still settles the job. Vealth is not a party to the job and never sees, checks, refunds or referees that money. Allowed for the job's creator or a payer with an active direct offer on it; refused for the worker, for a house wallet, before the proof is accepted, and on a job whose wage was paid into Vealth. One notice per payer per job. Refuses before any signature is asked for. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the payer wallet's personal_sign, then call submit_payment_notice within 5 minutes. Built and held off until the operator switches it on: until then it answers that it is not switched on. Cost and signer: free, no gas; the person signs the result with their own wallet or passkey, and the house never holds a key.

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>",
      "payerWallet": "<payerWallet>",
      "amountUsd": "<amountUsd>",
      "method": "<method>"
    },
    "name": "prepare_payment_notice"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional, public, at most 200 characters. No email, phone or account numbers.
methodYescard, bank, or other.
workIdYesThe job id.
amountUsdYesThe dollars you paid the worker, at most two decimals.
referenceNoOptional, public: your invoice or receipt id (letters, digits, _ . : # -). Never a card, account or phone number.
payerWalletYesThe 0x… address that will sign as the payer. Address only, never a key.

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
Behavior5/5

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

Beyond the supplied read-only/idempotent annotations, the description explains that the notice records only what the payer says, settles nothing, closes no credit, changes no offer, moves no clock, and does not make Vealth a party to or referee of the payment. It also discloses refusal behavior, the feature-flag gating, the 5-minute submission window, and that the operation is free with no gas and the house never holds a key.

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 description is long but front-loads the crucial precondition and the step-1-of-2 role before moving into effects, permissions, return format, and signing instructions. Most sentences carry necessary legal/operational distinctions, though there is slight repetition around who signs and the house never holding a key.

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?

For a complex financial attestation tool, the description covers eligibility, refusals, one-per-payer limits, return values and signing flow, timing, feature-flag behavior, and cost/signer responsibilities. With annotations and an output schema also present, an agent has enough context to call it correctly and route the follow-up submission.

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 description coverage is 100%, so all six parameters are already documented in the input schema, including the public note/reference constraints and payerWallet address-only requirement. The description adds little parameter-level detail beyond restating 'how many dollars, how, and optionally your invoice or receipt id and a short note,' which maps directly to 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?

The description uses a specific verb and resource: it prepares a signed payment notice after the poster accepted proof and the payer paid the worker. It explicitly frames itself as step 1 of 2 and names submit_payment_notice as the next step, so an agent can distinguish it from the sibling that actually submits the signed notice.

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?

It gives explicit preconditions (poster accepted proof and the payer paid the worker themselves), eligibility rules (job creator or payer with an active direct offer), refusals (worker, house wallet, before proof acceptance, jobs paid into Vealth), and the one-notice-per-payer-per-job limit. It also tells the agent what to do next: sign with personal_sign and call submit_payment_notice within 5 minutes.

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