Skip to main content
Glama

Cast or withdraw your own advisory ballot on a published work-budget proposal (step 1 of 2)

prepare_net_governance
Read-onlyIdempotent

WORK-BUDGET VOTE: a holder signs ONE advisory ballot on one proposal the house has published about how a discretionary program budget might be used. The ballot is advice to the house: it is nonbinding, it decides nothing, and it can never cover a site owner's consent, the safety or protections of a worker, a pay floor, regulated work or a term a person agreed to. One wallet is one signal (a wallet is not a person), a count is never weighted by NET, and no balance is read. You name the proposal's id and its hash (net_governance_status gives both), the letter of the option you choose, and your own statement advisory true, which is never assumed for you. You choose the ballot's id; the same id and the same terms read the ballot back. commit casts the ballot; withdraw ends your own ballot until the vote closes, even while the NET programs are stopped, and you can cast a new one until the vote closes. FREE, a signed statement, no fee, no gas. The program is built but held off until the operator switches the NET programs on together: until then a new ballot is refused before you sign, and a withdrawal only works on a ballot that exists. This moves no NET, and the house pays, holds and sells nothing in it, and casts no ballot of its own. Never put a phone number, an email or a street address in any field. Two refusals depend on this wallet's own records and are answered only when you submit, so prepare never says which wallet holds what: the wallet may already hold a ballot on this proposal, or the ballot id may already be in use with other terms. A withdrawal's prepare says the same for every ballot id, because no read shows a ballot: the door refuses an id that is not a ballot, or a ballot on a vote that has closed, only when you submit, before the signature is spent. A withdrawal by a wallet that did not cast the ballot is refused only after the signature is verified, which spends the signature. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the holder wallet's personal_sign, then call submit_net_governance 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>",
      "recordId": "<recordId>"
    },
    "name": "prepare_net_governance"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYescommit casts a new ballot, or withdraw ends one you hold.
reasonNowithdraw: optional, one plain sentence, up to 280 characters. Only you ever read it back.
advisoryNocommit: true is YOUR statement that this vote is advice to the house, decides nothing and moves no money. It is never assumed for you.
optionIdNocommit: the letter of the option you choose. The proposal lists its options.
recordIdYesThe ballot's id: 1 to 80 letters, numbers and . _ : -. You choose it when you cast; the same id and the same terms read the ballot back.
principalYesThe 0x… address that signs: the holder's wallet. Address only, never a private key.
proposalIdNocommit: the id of a published proposal (net_governance_status lists them).
proposalSha256Nocommit: the 64-character lowercase hash of the proposal you read. A changed word changes the hash.

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
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context: the ballot is advisory and nonbinding, moves no NET, is free with no gas, the house holds no key, and it discloses submit-time-only refusals (duplicate ballot on a proposal, ballot id already in use, withdrawal of a ballot this wallet did not cast, which spends the signature) plus a no-PII rule. Mild tension exists between the 'commit casts the ballot' phrasing and readOnlyHint=true, but the description makes clear the tool only prepares an unsigned message, so this is not a true contradiction.

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 content is dense but not front-loaded for a prepare tool, and there is real redundancy – 'free, no gas' appears both in the 'FREE, a signed statement' sentence and again in the closing 'Cost and signer' sentence, and the nonbinding/discretionary caveat is restated in several forms. The refusal discussion is thorough but buried in a single long paragraph rather than separated structurally.

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 an 8-parameter prepare tool with an output schema, the definition covers everything an agent needs: prerequisite system state, the sign-then-submit handoff with a 5-minute window, disallowed content, and the failure modes that only surface at submission. Return values are correctly deferred to the output schema.

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; the description still earns credit by adding meaning: the proposal hash must match the text you read, 'advisory true' is your own statement and is never assumed, the ballot id is chosen by the caller and is the read-back key, and the proposal id/hash come from net_governance_status. It also explains that prepare cannot predict the two record-dependent refusals, which is semantics the schema does not carry.

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 opening identifies the specific action and scope – one advisory ballot on one published work-budget proposal – and the description distinguishes itself from net_governance_status (source of id/hash) and submit_net_governance (the actual submission). However, the fact that this is a *prepare* step is only revealed mid-paragraph ('Returns MESSAGE_TO_SIGN and BODY_JSON'), so a reader could initially take it for the casting tool itself.

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 gives explicit when-to-use routing ('net_governance_status gives both', 'then call submit_net_governance within 5 minutes'), the commit-vs-withdraw distinction, and concrete preconditions – the NET programs must be switched on, an application is refused before signing while paused, and withdrawal only works on an existing ballot until the vote closes.

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