Skip to main content
Glama

Commit or withdraw a dispute evidence bond (step 1 of 2)

prepare_net_dispute_bond
Read-onlyIdempotent

DISPUTE EVIDENCE BOND: a person or agent records, in plain words, the NET they say they may offer toward a future dispute review (none exists yet), and can see the record or withdraw it at any time. You name what a review would be about, the NET units the record names, and the date it lapses (commit), or you end the record (withdraw). FREE, a signed statement, no fee, no gas, and your NET never moves. A dispute bond is a record, never custody and never a lock: your NET stays in your own wallet, nothing is held or sent, and nothing can take it, because no custody contract exists. You can spend it or withdraw the record at any time, even while the program is stopped. No independent reviewer is named and no neutral rules are written yet, so no review happens and no outcome is recorded: this is only a visible record that binds no one. A dispute is about another party, so the words you write about the matter are shown only to you, in your own signed reply; every public read shows them withheld. When you commit, the door checks the NET you name against your wallet's fresh NET balance less everything it already stands behind, and refuses if it does not cover; nothing is recorded then. The record reads covered only while your wallet holds the NET it names, by a balance read at most 30 seconds earlier, and reads uncovered if you move it. It says nothing about who is right, it is not insurance or a deposit, and it gates no free work. Say what happened, not who is at fault, and never put a phone number, an email or a street address in any field. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the wallet's personal_sign, then call submit_net_dispute_bond 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>",
      "disputeBondId": "<disputeBondId>"
    },
    "name": "prepare_net_dispute_bond"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYescommit a new dispute bond, or withdraw one you hold.
unitsNocommit: the NET units the record names, a whole number (one NET is 1,000,000 units). You choose it; the door checks it against your wallet.
matterNocommit: { title (3 to 120 characters, plain words: what is to be reviewed), summary (optional, up to 280 characters) }. Only you see these words, in your own signed reply: every public read shows them withheld.
reasonNowithdraw: optional, one plain sentence, up to 280 characters. Only you see it.
expiresAtNocommit: when the record lapses, an ISO time between one day and one year from now.
principalYesThe 0x… address that signs: the wallet whose NET the dispute bond names. Address only, never a private key.
disputeBondIdYesThe dispute bond's id: 1 to 80 letters, numbers and . _ : -. You choose it when you commit; the same id and the same terms read the record 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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is structured; the description still adds real value on auth/signing requirements, the 5-minute submission window, the fresh-balance coverage check, and the 30-second staleness of the covered read. The only weakness is the 'records... withdraw' phrasing, which reads like mutation even though annotations mark it read-only, though this is resolved by the step-1/step-2 framing.

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?

Core purpose, then mode behavior, then safety, then privacy, then the next step, is well front-loaded and logically ordered. There is measurable redundancy, though: 'free, no gas, your NET never moves' is restated in the closing 'Cost and signer' sentence, and the no-custody point is made three times in different words.

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?

Covers everything an agent needs for a complex multi-step signing tool: the act modes, required principal and disputeBondId, the balance-coverage rejection behavior, the privacy of matter/reason text, the 5-minute signing window, and the pointer to submit_net_dispute_bond. An output schema exists, yet the definition still explains MESSAGE_TO_SIGN and BODY_JSON usefully.

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 beyond the schema: which fields apply to commit (matter, units, expiresAt) versus withdraw (reason), and content guidance such as 'say what happened, not who is at fault' and never include phone, email, or street address. That goes past what the field descriptions 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?

States a specific verb and resource: record a NET dispute evidence bond with 'commit' or 'withdraw', and explicitly labels itself step 1 of a two-step flow whose step 2 is submit_net_dispute_bond. It also distinguishes itself from a real bond ('a record, never custody and never a lock'), so an agent can separate it from prepare_net_bond and similar siblings.

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 when-to-use context (a person or agent states the NET they may offer toward a future review that does not yet exist) and names the exact continuation: sign with personal_sign and call submit_net_dispute_bond within 5 minutes. The act enum values map to the two modes, but it does not explicitly contrast with other prepare_* bond tools, leaving a small inference gap.

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