Skip to main content
Glama

Submit the signed decision on a proof (step 2 of 2)

submit_decide_proof

Complete the decision: pass the BODY_JSON from prepare_decide_proof UNCHANGED, the same act, and the signature your wallet produced over MESSAGE_TO_SIGN. Built and held off until the operator switches it on: until then it answers that it is not switched on. Relays to the same public door any HTTP client uses (the approve door, the return door, or the photo verdict door); this server holds no keys and no funds. FREE with a valid signature, and the signature is YOURS, from the wallet that posted the job. The act is part of the signed message, so a signature made for one act cannot be sent as another. NOBODY IS PAID by this call: nothing is released and nothing is minted, it records your decision. 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. Cost and signer: free, no gas; signed by the person's 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>",
      "act": "<act>",
      "bodyJson": "<bodyJson>",
      "signature": "<signature>"
    },
    "name": "submit_decide_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesThe same act prepare_decide_proof was given.
workIdYesThe job id, the same one prepare_decide_proof was given.
proofIdNoOnly for needs-more: the photo proof id prepare_decide_proof named.
bodyJsonYesThe exact BODY_JSON string from prepare_decide_proof, unchanged.
signatureYesThe 0x… personal_sign output over MESSAGE_TO_SIGN.

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?

Annotations only say non-read-only, open-world, non-idempotent, non-destructive; the description adds far more: the feature-flag gate, that it relays to the same public door any HTTP client uses, that no keys or funds are held server-side, that it is free with no gas, that the act is bound into the signed message so a signature cannot be replayed across acts, and that no payment or minting occurs. These are exactly the behavioral facts annotations cannot convey.

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

Conciseness5/5

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

Front-loads the actionable instruction (pass BODY_JSON unchanged, same act, signature), then layers constraints, cost, and non-party disclaimers in descending priority. Every clause maps to a distinct fact the caller needs; nothing is padding.

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?

Given five parameters, a full schema, and a present output schema, the description covers the remaining unknowns an agent would need: gating status, signer identity, cost, replay binding, and that nothing is paid out. Only the failure/retry behavior when the gate is off or a signature is rejected is left unspecified.

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?

With 100% schema coverage the baseline is 3, but the description adds real semantic constraints: bodyJson must be passed byte-for-byte unchanged, the signature must be a personal_sign over MESSAGE_TO_SIGN produced by the wallet that posted the job, and the act must match what was prepared. That meaningfully tightens interpretation beyond the schema's own descriptions.

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 opening sentence gives a specific verb and resource ("Complete the decision") and immediately fixes its position in a two-step flow with prepare_decide_proof, including which inputs carry over. An agent can distinguish it from the many other submit_* siblings without opening any schema.

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?

It clearly states the sequencing precondition (use the BODY_JSON and act from prepare_decide_proof) and warns that the tool is currently gated off and will answer as not switched on until an operator enables it. It does not name a when-not-to-use alternative or what to do if the flag is off, which keeps it just short of a 5.

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