Skip to main content
Glama

Submit the signed reserve line act (step 2 of 2)

submit_net_contribution

Complete the act: pass act, the BODY_JSON from prepare_net_contribution UNCHANGED and the signature your wallet produced over MESSAGE_TO_SIGN. Relays to the same public door any HTTP client uses (POST /labor/net/contributions, or its /:id/withdraw); this server holds no keys and no funds, and the door checks the signature itself. Free with a valid body-bound signature from the contributor wallet. A reserve line moves no NET and holds none. Ask net_contribution_status where it stands, because Vealth sends no email. 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": {
      "act": "<act>",
      "bodyJson": "<bodyJson>",
      "signature": "<signature>"
    },
    "name": "submit_net_contribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesThe same act prepare_net_contribution was given.
bodyJsonYesThe exact BODY_JSON string from prepare_net_contribution, 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

A3.8/5.0
Behavior4/5

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

Beyond the annotations it discloses non-obvious behavior: the call is a relay to the same public door any HTTP client uses, the server holds no keys or funds, the door verifies the signature itself, the action is free with no gas, and no email is sent. It does not address retry semantics even though idempotentHint=false, which is the main remaining gap for a non-idempotent write.

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?

The core instruction is front-loaded and correct, but the text drifts into a second topic (status lookup, no email) and then repeats the custody point twice – 'this server holds no keys and no funds' and 'the house never holds a key'. Trimming the duplicated key-custody and cost statements would sharpen it without losing anything.

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?

With an output schema present, return values need no explanation, and the description covers the parts an agent must know: the prepare/submit chain, free/no-gas cost, self-custodied signer, and where to check status. What's missing is failure and retry behavior for a non-idempotent submission (e.g. whether resubmitting after a timeout double-commits).

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% and the schema already states that act matches prepare, that bodyJson must be the exact unchanged string, and that signature is the personal_sign output over MESSAGE_TO_SIGN. The description largely restates these constraints, adding only the context that the signature is 'body-bound' and verified by the remote door. Baseline 3 is appropriate because the schema carries the parameter detail.

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?

The description says 'Complete the act', names the three inputs (act, BODY_JSON, signature) and identifies this as the relay step of a two-step flow begun by prepare_net_contribution. The verb 'complete' is softer than a concrete action word, but the endpoint reference (POST /labor/net/contributions, or /:id/withdraw) makes the effect unambiguous and separates it from the sibling prepare_ tool.

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 explicitly chains to prepare_net_contribution ('pass ... the BODY_JSON from prepare_net_contribution UNCHANGED') and routes the agent to net_contribution_status for follow-up, which is real when-to-use guidance. It stops short of stating exclusions, e.g. that prepare_net_contribution must be called first and that this tool cannot be used standalone, or what to do if the signature is rejected.

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