Skip to main content
Glama

Accept, return or ask for more on a proof (step 1 of 2)

prepare_decide_proof
Read-onlyIdempotent

You posted this job as your own: this is how you decide the proof a worker handed in. Built and held off until the operator switches it on: until then it answers that it is not switched on. FREE and signed by you, no fee, no gas. Pass act "accept" to accept the proof, "return" to send it back with one plain reason so the worker may fix it and send it again, or "needs-more" (photo proof only) with one true or false per checklist line from proof_to_decide. It refuses BEFORE you sign when you are not the poster, when the job names someone else to decide, when the job was posted by a house wallet, or when nothing is waiting. The decision is a record of your own call, so decidedByPerson must be true and only after the person who speaks for the poster looked at the proof and made this call themselves: an agent never decides for them and never fills it in. NOBODY IS PAID BY THIS: it records your decision and nothing else, and on a job nobody has funded an accepted proof banks an earned credit for the worker, a record and never money. A job whose wage was paid into Vealth is decided by the person on its job page, not here. Vealth is not a party to this job: it does not decide this proof, it does not accept it, and it gives no permission for your place. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with your wallet's personal_sign, then call submit_decide_proof within 5 minutes. 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>",
      "signerWallet": "<signerWallet>",
      "act": "<act>",
      "decidedByPerson": "<decidedByPerson>"
    },
    "name": "prepare_decide_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesaccept the proof, return it with a reason, or needs-more (photo proof only).
reasonNoRequired for return: one plain sentence saying what the worker must fix. No phone number or email.
workIdYesThe job id you posted.
checklistNoRequired for needs-more: one true or false for each checklist line, in the order proof_to_decide lists them.
signerWalletYesYour 0x address, the wallet that posted this job. Address only, never a private key.
hoursAcceptedNoOptional for accept: the hours you stand behind, greater than zero and at most 168.
decidedByPersonYesSet true ONLY after the person who speaks for the poster has looked at the proof and made this call themselves. An agent never infers it and never answers for them.

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

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

Beyond the annotations, the description discloses that the tool is dark until the operator enables it, that it returns MESSAGE_TO_SIGN and BODY_JSON rather than performing the action, the 5-minute signing window, the refusal conditions, and the fact that it moves no money and at most banks a non-monetary credit. The readOnlyHint=true annotation is consistent with a prepare-only call whose effect only lands after submit_decide_proof, so the two do not conflict.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Core information is front-loaded — what it does and the act values come first, gating and the signing handoff follow. But it is long and dense with run-ons, and it repeats itself: 'FREE... no fee, no gas' appears twice, and the no-decision-by-agent point is stated twice, while the Vealth non-party paragraph is largely defensive boilerplate.

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 7-parameter prepare tool with an output schema already present, the description covers everything an agent needs: the act semantics, the preconditions that cause refusal, who must sign, the deadline, and what the decision does and does not do financially. Return-value shape is named even though the output schema already covers it.

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%, so the baseline is 3, but the description adds real meaning: it explains that checklist entries are positional against proof_to_decide and only valid for photo proof, and it gives the intent behind decidedByPerson (the human speaking for the poster must have looked at the proof; an agent never fills it in). hoursAccepted is the one parameter given no narrative treatment.

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 names a specific verb and resource: deciding a proof a worker handed in, with the three possible acts enumerated (accept / return / needs-more). It also distinguishes itself from the two obvious siblings by describing this as the prepare step whose output must be signed and then sent to submit_decide_proof, and by pointing to proof_to_decide as the source of checklist lines.

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 states exactly when each act applies, including the constraint that needs-more is photo proof only, and it names explicit exclusion cases: jobs paid into Vealth are decided on the job page, and the tool refuses when the caller is not the poster, when the job names another decider, when a house wallet posted it, or when nothing is waiting. The follow-on path (sign with personal_sign, call submit_decide_proof within 5 minutes) is spelled out, leaving little to 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