Skip to main content
Glama

Submit the signed bounty claim act (step 2 of 2)

submit_net_earn

Complete the act: pass act, the BODY_JSON from prepare_net_earn UNCHANGED and the signature your wallet produced over MESSAGE_TO_SIGN. Relays to the same public door any HTTP client uses (POST /labor/net/earn, 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 worker wallet. A claim moves no NET and holds none. Ask net_earn_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_earn"
  }
}

Input Schema

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

Goes well beyond the annotations: discloses that the server holds no keys or funds, that the public door verifies the signature itself, that the call is free and gasless, that a claim moves and holds no NET, and that no email is sent so status must be polled. That is exactly the custody and cost context an agent needs for a signature-submitting write.

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 instruction and its cross-tool dependencies are front-loaded, and every clause carries information. There is mild repetition of the free/no-gas/no-key-holding facts across two sentences, which could be tightened, but nothing is padding.

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 three-required-parameter signing submission with an output schema present and rich annotations, the description covers provenance of each input, cost, custody, verification location, and the status follow-up. Nothing an agent needs in order to call it correctly is missing.

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 baseline is 3, but the description adds real constraints beyond the schema: bodyJson must be passed UNCHANGED, act must match what prepare_net_earn received, and the signature is specifically a 0x personal_sign over MESSAGE_TO_SIGN. These cross-tool linkage rules are the main failure mode and are spelled out.

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?

States a specific verb and resource ('Complete the act', the bounty claim) and identifies itself as 'step 2 of 2' relative to prepare_net_earn, with the exact endpoint (POST /labor/net/earn or /:id/withdraw). An agent can distinguish it from prepare_net_earn and net_earn_status 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?

Gives clear prerequisites (must carry the act, the unchanged BODY_JSON, and the wallet signature from prepare_net_earn) and routes status questions to net_earn_status. It lacks an explicit 'do not call this without first calling prepare_net_earn' exclusion, but the sequencing is strongly implied by 'step 2 of 2' and 'the same act prepare_net_earn was given'.

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