Skip to main content
Glama

Where a buyer budget envelope stands, or every envelope one wallet holds (a signed read)

net_envelope_status
Read-onlyIdempotent

Read one buyer budget envelope by its id, which is keyless, or list the envelopes one wallet holds, which is a signed read that only that wallet can make, oldest first. For each: covered, released, withdrawn or expired and why, the cap in NET units, the work period, the packet it names if any, and, in the holder's own signed list only, what the wallet's NET balance showed when it was signed (a read by id shows no balance). To list by wallet, call with the wallet alone to get MESSAGE_TO_SIGN, sign it with that wallet (personal_sign, free, no gas), then call again with the wallet, the nonce and the signature within 5 minutes: a signature is good for one list, and a request without a valid one is refused the same way for every wallet. It says plainly that the NET is not held: an envelope is a record, never custody and never a lock. Free; a read by id is keyless, and a list is signed by the holder's own wallet, never by a key. Cost and signer: free; a read by id is keyless, a list by wallet is signed by that wallet itself with no gas, and the house never holds a key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "net_envelope_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceNoWith wallet: the time in milliseconds the list is signed at, within 5 minutes of the board's time. The first answer gives you one; pass the same number back with the signature.
walletNoOr the 0x… address of a buyer, to list its envelopes. A list by wallet is a signed read: call with the wallet alone to get MESSAGE_TO_SIGN. Address only, never a private key.
signatureNoWith wallet and nonce: the 0x… personal_sign output over MESSAGE_TO_SIGN, made by that same wallet. Good for one list.
envelopeIdNoThe envelope's id (the envelopeId it was committed under). A read by id is keyless: nothing to sign.

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

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

Annotations only declare readOnly/idempotent/openWorld, but the description adds the auth model (the wallet signs for itself, the house never holds a key, no gas), the 5-minute nonce window and single-use signature, and the important enumeration-safety detail that an invalid request is refused identically for every wallet. It also discloses what is absent from the by-id view (no balance) and that an envelope is a record, never custody or a lock.

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 core is front-loaded and the two-mode structure is easy to follow, but the closing duplication is real waste: 'Free; a read by id is keyless... never by a key' is immediately restated as 'Cost and signer: free... the house never holds a key.' Repeating the same cost and signer facts twice costs space without adding 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?

An output schema exists, so return values need not be enumerated, yet the description still summarises the fields returned per envelope (status and reason, cap in NET, work period, named packet, and the balance only in the signed list). Combined with the signing flow and the non-custody clarification, nothing an agent needs in order to call this correctly is missing.

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 goes beyond the field docs by explaining the inter-parameter sequence: the nonce is the timestamp obtained from the first answer and passed back with the signature, which is a personal_sign output over MESSAGE_TO_SIGN made by that same wallet. That relational meaning is hard to express in a flat schema and is genuinely additive.

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 clause names both modes precisely: 'Read one buyer budget envelope by its id, which is keyless, or list the envelopes one wallet holds.' That is a specific verb plus resource plus scope, and the read-only nature separates it implicitly from the prepare/submit siblings. It loses a mark because no sibling is named outright and the later sentence 'It says plainly that the NET is not held' is written about the tool rather than to the caller, which blurs the register.

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 exactly which mode to pick and how: by id for a keyless single read, by wallet for a list. It then gives the full two-step signed flow (call with wallet alone to get MESSAGE_TO_SIGN, sign with personal_sign, call back with wallet, nonce and signature within 5 minutes) and the exclusion that a signature is good for one list only. An agent has everything needed to choose and sequence the call.

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