Skip to main content
Glama

Record the physical proof for review (step 1 of 2)

prepare_physical_proof
Read-onlyIdempotent

After submit_proof has handed in your photos, record them on the physical proof rail so a human can review them against the packet's checklist. Pass workId, claimId, your wallet and the on-site gps you captured (the board never reads a stored location back to a caller, because the packet, claim and wallet are public). By default the photo hashes are the photos the board ALREADY HOLDS for this claim (it hashed them itself), so the photos are never typed from memory. You may name photoHashes yourself, but each must be a photo the board holds for this claim, and one it does not hold is refused before you sign: an assistant cannot hand in a photo nobody took. Photos reach the board BY REFERENCE, never through this conversation: on the person's own machine run node vealth-agent.mjs proof-photo <workId> <claimId> <photo files>, then pass {"type":"photo","upload":"sha256:"} items to prepare_proof. FREE when signed. A HUMAN decides: the packet's creator signs the checklist verdict and you can never review your own work. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the claiming wallet, then call submit_physical_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>",
      "claimId": "<claimId>",
      "workerWallet": "<workerWallet>"
    },
    "name": "prepare_physical_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpsNoThe {lat, lng} you captured ON SITE with your photos. Required: the board does not read a stored location back to a caller.
workIdYesThe packet id.
claimIdYesYour claim on it, from submit_claim or my_work.
capturedAtNoOptional ISO time the photos were taken. Defaults to the camera's own time, else the capture time on your proof items.
photoHashesNoOptional, 1 to 12 SHA-256 hex hashes of photo FILES the board holds for this claim (what proof-photo printed). Leave it out to use every photo the board holds for this claim.
workerWalletYesThe same 0x address that claimed. Address only, never a private key.
revisesProofIdNoOnly when answering a needs-more verdict: the id of the physical proof that asked for more evidence.

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. Changed2 schema fields changed
    • addedInput schema / properties / gps / properties / lat / description
      Added value: +"Latitude in decimal degrees, captured on site. Example: 34.0522."
    • addedInput schema / properties / gps / properties / lng / description
      Added value: +"Longitude in decimal degrees, captured on site. Example: -118.2437."
  2. Changed1 schema field changed
    • changedInput schema / properties / gps / description
      Previous value: -"Optional {lat, lng} captured ON SITE. Defaults to the on-site GPS your signed proof already carried."New value: +"The {lat, lng} you captured ON SITE with your photos. Required: the board does not read a stored location back to a caller."
  3. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations: free/no gas, human adjudication with no self-review, a 5-minute signing window, the on-site GPS requirement and why stored locations are never returned, and the refusal rule for hashes the board does not hold. The 'returns MESSAGE_TO_SIGN and BODY_JSON, sign with the claiming wallet, house never holds a key' detail tells the agent exactly what the call produces and who must sign. readOnlyHint=true is consistent with a prepare-style tool that emits an unsigned payload rather than writing state.

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?

Front-loads the action and the signer/next-step, which is good, but the body is a run-on chain of parenthetical asides that repeat the photo-by-reference point twice. Several clauses (board publicity rationale, 'an assistant cannot hand in a photo nobody took') are persuasive rather than operational and slow the agent down.

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

Completeness4/5

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

For a 7-parameter, nested-schema, two-step signing flow this covers cost, signer, validation, timing and the follow-up tool, which is what an agent needs to call it correctly. An output schema exists, so the extra MESSAGE_TO_SIGN/BODY_JSON note is additive rather than required; the missing piece is what happens on refusal or timeout.

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%, so every parameter is already documented, including gps, photoHashes defaults and revisesProofId. The description reinforces the two highest-risk points (GPS must be on-site, hashes must be board-held photos) but adds little that the schema does not already say, so the baseline 3 applies.

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: record photo hashes on the physical proof rail so a human can review them against the packet's checklist. The title's 'step 1 of 2' plus the explicit handoff to submit_physical_proof distinguishes it from the submit sibling, though the sentence-level density makes the core action slower to extract than it should be.

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?

Gives clear preconditions and sequencing: run only after submit_proof has handed in photos, then call submit_physical_proof within 5 minutes of signing. It also names the revision case (answering a needs-more verdict via revisesProofId). It never states when NOT to use it or what to do if the 5-minute window lapses, so no explicit exclusion.

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