Skip to main content
Glama

Declare that two wallets are linked, or (a listed attester) record whether wallets are independent (step 1 of 2)

prepare_net_independence_record
Read-onlyIdempotent

NET INDEPENDENCE RECORD, built and held off: a wallet signs one record about how wallets are linked, which a NET service order reads when it shows whether its parties have a known link to one another: affiliation (you declare that your wallet is linked to another) or attestation (a wallet the operator lists as an attester says whether wallets are independent, with evidence). It is a record only: an affiliation adds a link and cannot be taken back here, the other wallet does not sign it, an attestation is the attester's own word and the board does not check it, and with no attester listed, the default, nobody can attest and no order reads confirmed. You name one act: affiliation (wallets: exactly two addresses, one of them the wallet you sign with; basis: one code from a short list of reasons they are linked), or attestation (a listed attester only: the id of ONE order, the ONE party you attest about, the ONE counterparty it is independent of, a source from a short list, a reference to the evidence, and a verdict of confirmed or affiliated). An attestation is for that one party in that one order against that one counterparty and is never reused: it does not count for another order, another party or the same pair the other way round, and an order reads confirmed only when every outside party in it has been attested against every other party in it. An attestation made before this rule, which named wallets and no order, counts for nothing. An affiliation links the two wallets for good: where they hold different roles in an order it reads affiliated, and an acceptor or provider linked to another party in it is refused. Only a confirmation changes how an order reads: an attester's record of affiliation links nobody, and a confirmation by a wallet that is a party to an order does not count for that order. Nothing here proves anyone is independent: a wallet no one has linked is only one with no known link. FREE to sign, no fee, no gas. The programs are built but held off until the operator switches the NET programs on together: until then both acts are refused before you sign, with the same answer whatever the wallet and whatever the body, but for a house wallet, which is named as such. Prepare refuses only what is true for every wallet: a body that breaks the door's rules (an affiliation must name the wallet you sign with), a house wallet, the kill switch, and no order program switched on. What depends on this wallet is answered only when you submit, so prepare never says whether a wallet is a listed attester or already has the pair on record: the door tells a wallet that is not a listed attester so before it consumes the signature (that signature is not consumed), and the cap of twenty declared affiliations for one wallet is refused, and a pair already on record is read back as already recorded, each after the signature is verified, so each spends the signature. Prepare answers the same for every wallet. 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 acting wallet's personal_sign, then call submit_net_independence_record 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>",
      "actor": "<actor>"
    },
    "name": "prepare_net_independence_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
actYesThe one record to make.
actorYesThe 0x… address that signs this record. Address only, never a private key.
basisNoaffiliation: how the two wallets are linked, one code from the list. Never a sentence.
partyNoattestation: the ONE 0x… address you attest about. Address only, never a private key.
sourceNoattestation: where the attester's evidence comes from, one code from the list.
orderIdNoattestation: the id of the ONE order (or match offer, or claim) the attestation is for. It counts for that order and no other.
verdictNoattestation: confirmed (no link was found) or affiliated (a link was found; only a confirmation changes how an order reads).
walletsNoaffiliation: exactly two 0x… addresses, yours and the one you are linked to. Addresses only, never a private key. An attestation takes no list of wallets.
evidenceRefNoattestation: a reference to the evidence, a hash, an id or a short path of letters, numbers and . _ : / # - with no spaces and no sentence, at most 200 characters.
counterpartyNoattestation: the ONE other 0x… address in the same order that the party is independent of. 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. Changed5 schema fields changed
    • addedInput schema / properties / counterparty
      Added value: +{
      +  "description": "attestation: the ONE other 0x… address in the same order that the party is independent of. Address only, never a private key.",
      +  "type": "string"
      +}
    • addedInput schema / properties / orderId
      Added value: +{
      +  "description": "attestation: the id of the ONE order (or match offer, or claim) the attestation is for. It counts for that order and no other.",
      +  "type": "string"
      +}
    • addedInput schema / properties / party
      Added value: +{
      +  "description": "attestation: the ONE 0x… address you attest about. Address only, never a private key.",
      +  "type": "string"
      +}
    • changedInput schema / properties / wallets / description
      Previous value: -"affiliation: exactly two 0x… addresses, yours and the one you are linked to. attestation: one to twenty 0x… addresses. Addresses only, never a private key."New value: +"affiliation: exactly two 0x… addresses, yours and the one you are linked to. Addresses only, never a private key. An attestation takes no list of wallets."
    • changedInput schema / required
      Previous value: -[
      -  "act",
      -  "actor",
      -  "wallets"
      -]New value: +[
      +  "act",
      +  "actor"
      +]
  2. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that this is a prepare-only call returning MESSAGE_TO_SIGN and BODY_JSON, that the signature must be submitted within 5 minutes, that prepare refuses only universal conditions, that certain failures consume the signature, that the cap is twenty affiliations, and that PII must not be entered. These are concrete behavioral facts an agent needs and that the annotations do not supply.

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 description is a dense, run-on block that repeats concepts such as 'record only', 'cannot be taken back', and the attestation scope, and it buries the prepare-to-submit flow. It is far from front-loaded and many clauses could be shortened without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-mode, ten-parameter prepare tool, it covers the essential workflow (build, sign, submit), the refusal boundary, timing, cost, and data-entry restrictions. With an output schema present it does not need to explain return values, and the remaining gap is that the dense presentation makes some conditions easy to miss.

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?

With 100% schema coverage the schema already documents each field, but the description adds cross-parameter rules: affiliation requires exactly two addresses with the signer among them, attestation is scoped to one order, one party, and one counterparty and is never reused, and verdict consequences. That goes beyond field-level definitions.

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 identifies the tool as building a two-mode NET independence record for a wallet to sign and names submit_net_independence_record as the next step, so the resource and verb are clear. However, the opening phrase 'built and held off' and the dense framing delay the plain purpose, and the title's 'Declare' could initially suggest a direct write.

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 distinguishes affiliation from attestation and states that attestation is available only to a listed attester, with no attester meaning nobody can attest. It also explains that prepare checks only universal conditions while wallet-specific state is answered at submit, and it tells the caller to submit within 5 minutes. The guidance is present but embedded rather than presented as crisp when-to-use/when-not instructions.

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