Skip to main content
Glama

Commit or withdraw a community reserve line (step 1 of 2)

prepare_net_contribution
Read-onlyIdempotent

COMMUNITY CONTRIBUTOR RESERVE: record the NET you say you may put toward a shared work goal on the board, see it, or withdraw it. You name the goal (the id of a packet on the board that is still open), how many NET units you cap your line at, and when it lapses (commit), or you end the line (withdraw). FREE, a signed statement, no fee, no gas, and your NET never moves. A reserve line is a record, never custody, never a lock and never a pot: your NET stays in your own wallet, nothing is held, sent or pooled, and you can spend it or withdraw the line at any time, even when new program actions are stopped. It is not an offer on any job and pays no one. Every line stays attributed to the wallet that signed it: reading the goal lists each line by itself. When you commit, the door checks the units against your wallet's fresh NET balance less everything it already stands behind (your offers, orders, reserves, bonds, envelopes and other reserve lines), and refuses if it does not cover; nothing is recorded then. The work itself is posted, claimed, proven and accepted on the board by other people, and any offer there is your own signature. One NET is 1,000,000 units. Never put a phone number, an email or a street address in any field. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the contributor wallet's personal_sign, then call submit_net_contribution 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>",
      "contributionId": "<contributionId>"
    },
    "name": "prepare_net_contribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYescommit a new reserve line, or withdraw one you hold.
unitsNocommit: your cap in whole NET units, at least 1 (one NET is 1,000,000 units).
reasonNowithdraw: optional, one plain sentence, up to 280 characters.
workIdNocommit: the shared goal, the id of a packet on the board that has not settled or expired.
expiresAtNocommit: when this line lapses, an ISO time in the future, at most 365 days from now.
principalYesThe 0x… address that signs: the wallet that holds the line. Address only, never a private key.
contributionIdYesThe line's id: 1 to 80 letters, numbers and . _ : -. You choose it when you commit; the same id and the same terms read the line back.

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

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

Beyond the annotations, the description discloses the non-custodial guarantee (NET never moves, nothing held, sent or pooled), the balance check against fresh NET less existing commitments and refusal behavior with nothing recorded, the free/no-gas cost, the exact return payloads (MESSAGE_TO_SIGN, BODY_JSON), and the 5-minute submission window. The person-signs-with-own-wallet statement matches readOnlyHint and adds real context about who signs.

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 purpose is front-loaded and no sentence is wholly irrelevant, but the paragraph is dense and repeats the non-custody idea several ways ('never custody, never a lock and never a pot', 'nothing is held, sent or pooled'), and mixes mechanics, disclaimers, and return-flow instructions in one block. It could be tightened by a third without losing information.

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?

Given a 7-parameter, dual-mode preparation tool with an output schema, the description covers everything an agent needs: required inputs per mode, the balance-refusal rule, the idempotent read-back via contributionId, the two-step signing flow, and the time limit for submission. No material gap remains.

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 the baseline is 3, but the description adds meaning: one NET equals 1,000,000 units, the goal must be a packet still open on the board, expiry is when the line lapses, and the same contributionId with the same terms reads the line back. It also adds a cross-cutting safety constraint (never put a phone number, email, or street address in any field) that the schema does not state.

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 names the resource (community contributor reserve line), the specific actions (record the NET, see it, or withdraw it), and the required inputs (goal id, cap in NET units, expiry). It clearly separates the two modes 'commit' and 'withdraw' and distinguishes the line from an offer, a lock, or a pot, so an agent can tell this apart from sibling prepare_* tools.

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 states when to commit versus withdraw and explicitly frames the next step: sign the returned message and call submit_net_contribution within 5 minutes. It also rules out adjacent interpretations ('not an offer on any job and pays no one') and notes the line can be withdrawn even when program actions are stopped. It does not explicitly route to a named alternative for related needs (e.g., offers vs reserves beyond the parenthetical list), which keeps it 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