Skip to main content
Glama

Record or withdraw a NET earn claim (step 1 of 2)

prepare_net_earn
Read-onlyIdempotent

NET EARN RECORDS, six programs on the board's own rail. After you work a bounty packet on the board, record what you did so the board can read it: method-improvement-bounty (you improved a method: send the base and improved methods, which are tested and never kept), truth-checker-bounty (you challenge the proof on another packet: send that packet, a kind and the sha256 of your evidence; it is a claim a person may accept, never a verified discrepancy), verified-buyer-referral (you introduced an outside buyer: send the buyer and the packet they paid for), verified-worker-earn (you agree, separately from the work, to be paid in NET for accepted work: send electsNet true; you can say no), or agent-digital-bounty (an agent delivered digital work: send the sha256 of the artifact and, if you like, the names of the checks it ran, which are advisory and never the acceptance; regulated or permit-required work is refused). Or, with earned-net-work-reuse, elect to spend NET you already earned on a separate job: send the packet you earned it on, the separate job, the NET units and an expiry; it is checked against what that job paid and your wallet's fresh balance. Or withdraw a record you hold. FREE, a signed statement, no fee, no gas, and your NET never moves. A record moves no NET, holds none, pays no one, and the house pays nothing in it. NET is earned only when a person with no known link to you accepts your proof on the board and you sign the settlement of a funder's signed offer; a link nobody declared cannot be seen. A record only holds your part and the board's own facts decide where it stands. Refused before you sign if the program is not switched on yet, the method fails its tests, you have a known link to the other side, the work is not digital or is regulated, a challenge or an introduction like yours is already held (a challenge of one kind on a packet is rewarded once), a challenge would close a loop, or an election is not covered by what you earned and hold. A record keeps only ids, wallets, hashes, units, dates and test or check names, never any text anyone wrote. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the worker wallet's personal_sign, then call submit_net_earn 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": {
      "act": "<act>",
      "principal": "<principal>",
      "claimId": "<claimId>"
    },
    "name": "prepare_net_earn"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesrecord a new claim or election, or withdraw one you hold.
baseNomethod-improvement-bounty: the method as it was (title, purpose, steps, safety, proofRequirements, sources). Tested, never kept.
kindNotruth-checker-bounty: what kind of challenge this is. Nothing checks that it is true.
buyerNoverified-buyer-referral: the 0x… address of the buyer you introduced.
unitsNoearned-net-work-reuse: how many whole NET units you elect to spend (1 NET is 1,000,000 units), at most what that job paid, and covered by your wallet.
workIdNorecord: the bounty packet on the board that you are working (every program except earned-net-work-reuse).
claimIdYesThe claim's id: 1 to 80 letters, numbers and . _ : -. You choose it when you record; the same id and the same terms read the claim back.
programNorecord: which program the claim is for.
improvedNomethod-improvement-bounty: your improved method, same shape. It must differ from the base, keep every safety line and proof requirement of the base, and pass the house structure lint. Tested, never kept.
electsNetNoverified-worker-earn: true means you agree, separately from the work, to be paid in NET for it. You can say no, and then no claim is made.
expiresAtNoearned-net-work-reuse: when the election lapses, an ISO time at most 90 days from now.
methodRefNomethod-improvement-bounty: the name or id of the method you improved.
principalYesThe 0x… address that signs: the wallet that did the work. Address only, never a private key.
selfChecksNoagent-digital-bounty: optional names of checks you ran on your own work (lowercase letters, numbers and . _ - only, at most 20). Advisory: they are never the acceptance.
sourceWorkIdNoearned-net-work-reuse: the packet you earned NET on. The board must show you as its worker, accepted by a person with no known link to you and settled as an outside funder's signed NET offer.
targetWorkIdNotruth-checker-bounty: the packet whose proof you challenge (not the bounty packet). earned-net-work-reuse: the separate job you mean to spend the NET on (not the job you earned it on).
evidenceSha256Notruth-checker-bounty: the sha256 of your evidence, 64 hex characters. Only the hash is kept; put the evidence itself in your proof on the board.
purchaseWorkIdNoverified-buyer-referral: the packet the buyer paid for (not the bounty packet).
deliverableSha256Noagent-digital-bounty: the sha256 of the digital artifact you delivered, 64 hex characters. Only the hash is kept.

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

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

Annotations already declare readOnly, idempotent, non-destructive, but the description adds the material context those hints cannot: it is free with no gas, moves no NET, is a signed statement, returns MESSAGE_TO_SIGN and BODY_JSON with a 5-minute signing window, and stores only ids, wallets, hashes, units, dates and check names. It also pre-empts a likely misreading by insisting a challenge claim is never a verified discrepancy and a record never pays anyone.

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

Conciseness2/5

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

The content is a single dense paragraph of roughly 400 words with no headings, bullets or line breaks across six programs plus withdrawal, refusals and signing. There is real redundancy: 'FREE, a signed statement, no fee, no gas, and your NET never moves' is immediately restated as 'A record moves no NET, holds none, pays no one, and the house pays nothing in it.' Valuable information is present but not scannable, so an agent must parse the whole block to find its program.

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 19-parameter, nested-object, six-variant prepare tool, the description covers the full lifecycle: preconditions, refusal reasons, privacy scope, output fields and the signing deadline. Return values are further backed by an output schema, so nothing an agent needs in order to call this correctly appears to be missing.

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 description coverage is 100% and each of the 19 parameters already carries a program-tagged description, so the description only needs to add cross-field meaning. It partially does so by explaining each program's required inputs narratively (e.g. method-improvement sends base and improved methods, referral sends buyer and purchase packet), but mostly restates what the schema already documents. Baseline 3 is appropriate.

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 names the verb (record or withdraw) and the resource (a NET earn claim), and enumerates all six programs it covers, which is far more specific than the title alone. It also distinguishes itself from the step-2 sibling by naming submit_net_earn. The core action is buried behind the capitalized 'NET EARN RECORDS, six programs on the board's own rail' opening, so an agent gets the scope only after reading into the paragraph.

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 the triggering condition explicitly ('After you work a bounty packet on the board, record what you did'), the withdrawal case, and the sequence ('sign with the worker wallet's personal_sign, then call submit_net_earn within 5 minutes'). It also gives an unusually complete when-not list: program not switched on, method fails tests, known link to the other side, non-digital or regulated work, duplicate challenge or introduction, loop-closing challenge, or election not covered by holdings.

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