Skip to main content
Glama

Place or withdraw your own bid record for one slot of a published lot (step 1 of 2)

prepare_net_auction
Read-onlyIdempotent

PROGRAM ALLOCATION AUCTION, held until a price is named; no bid is taken today: a holder signs a bid record for ONE slot of a lot the house published, a small, stated number of slots of optional premium program capacity that exists now. A bid is only a record you sign with your own wallet: it holds no NET, moves no NET and escrows nothing, and you can withdraw it until the lot closes. Claiming a job, voting, proof, evidence reads and finding work stay free and are never part of a lot. You name the lot's id and its hash (net_auction_status gives both), a whole number of NET units for one slot, and your own bid's id (you choose it; the same id and the same terms read the bid back). One wallet holds one bid on a lot. commit places the bid; withdraw ends your own bid until the lot closes, even while the NET programs are stopped. FREE to sign, no fee, no gas, and nothing is charged by these tools. The house sets one price per slot, read from its own setting and BLANK by default: while it is blank no bid is taken and this step refuses before you sign. A winner would be told to pay only through the order system, after delivery; no door for that payment is built yet. The program is built but held off until the operator switches it on, and it stays out of the joint switch-on: it has its own go, after a price is named. Until then a new bid is refused before you sign, and a withdrawal only works on a bid that exists. 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 bid on this lot, or the bid id may already be in use with other terms. A withdrawal's prepare says the same for every bid id, because no keyless read shows a bid: the door refuses an id that is not a bid, or a bid on a lot that has closed, only when you submit, before the signature is spent. A withdrawal by a wallet that did not place the bid is refused only after the signature is verified, which spends the signature. This moves no NET, and the house pays, holds and sells nothing through these tools. Never put a phone number, an email or a street address in any field. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the holder wallet's personal_sign, then call submit_net_auction 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_auction"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYescommit places a new bid, or withdraw ends one you hold.
lotIdNocommit: the id of a published lot (net_auction_status lists them).
reasonNowithdraw: optional, one plain sentence, up to 280 characters. Only you ever read it back.
bidUnitsNocommit: your bid for one slot, a whole number of NET units. It is your own number, never filled in for you, and a bid under the house price cannot win.
recordIdYesThe bid's id: 1 to 80 letters, numbers and . _ : -. You choose it when you commit; the same id and the same terms read the bid back.
lotSha256Nocommit: the 64-character lowercase hash of the lot you read. A changed word changes the hash.
principalYesThe 0x… address that signs: the wallet that places the bid. Address only, never a private key.

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, and the description reconciles that: nothing is taken today, no NET is held, moved or escrowed, and the signature is only prepared. It goes on to disclose traits the annotations cannot: the 5-minute signature window, that certain refusals (existing bid, duplicate recordId, closed lot, non-owner withdrawal) can only be detected at submit and one of them spends the signature, that prepare deliberately cannot reveal wallet state, and that the program is gated behind its own operator switch. That is substantial disclosure beyond the structured fields.

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 text is a dense wall of run-on clauses with heavy repetition: 'free, no fee, no gas' and 'moves no NET' each appear more than once, and the house-pays-nothing disclaimer is restated three times. Key operational facts (5-minute window, submit_net_auction, who to sign with) sit at the very end where they are easiest to miss. Little of the length is actually padding in content terms, but the packaging makes it costly to parse.

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 two-step sign-then-submit tool with seven parameters and an output schema, the description supplies the next-step handoff, the signature time limit, the failure modes that surface only at submit, the cost model, and a privacy warning about never placing contact details in fields. Nothing an agent needs in order to call it correctly or interpret the returned MESSAGE_TO_SIGN and BODY_JSON 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%, so the schema already explains act, lotId, lotSha256, bidUnits, recordId, reason and principal, and the description largely restates those same meanings ('you name the lot's id and its hash... a whole number of NET units... your own bid's id'). It does add a little cross-parameter context — where to obtain lotId and lotSha256, that one wallet holds one bid per lot, and that the same id plus same terms reads the bid back — but not enough to exceed the schema baseline.

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 definition does name the concrete action: a holder signs a bid record for ONE slot of a published lot, with act=commit or act=withdraw, as step 1 of 2 before submit_net_auction. It distinguishes itself from net_auction_status (which supplies lotId and lotSha256) and from the submit step. The core action statement is, however, buried behind an opening clause about the auction being 'held until a price is named,' which delays a clean verb+resource statement.

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 when to use it (to place or withdraw your own bid on a published lot), when it will refuse (price blank by default, program not switched on, lot closed, duplicate bid id, wallet already holding a bid on the lot), and what to do next (personal_sign the returned MESSAGE_TO_SIGN, then call submit_net_auction within 5 minutes). It also rules out adjacent work — claiming a job, voting, proof, evidence reads, finding work — as never part of a lot, which prevents mis-selection.

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