Skip to main content
Glama

ARYSPHERE x402 chain reads and token verdicts

x402_chain_reads_v1__gnosis_eth_getbalance

Read-only

Gnosis Chain on-chain read: the native balance of an address. Native xDAI balance of one address on Gnosis Chain at the latest block: the raw eth_getBalance result in wei (hex). Takes exactly one query parameter, address (0x + 40 hex).

GET https://api.arysphere.com/v1/ventures/x402_chain_reads_v1/gnosis_eth_getbalance. Same payment terms as that HTTP route. Call once with no payment. The result is the payment terms. Retry the same call with the signed payment at _meta["x402/payment"]. Measured output: {"chain": "base", "hex": "0x0", "method": "eth_getBalance", "ok": true, "result": 0, "service": "x402_chain_reads_v1.base_eth_getbalance"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes0x + 40 hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond readOnlyHint=true by disclosing the block height used (latest), the return encoding (raw hex wei), and the two-step paid-call handshake. However, the 'Measured output' example is an unedited template showing "chain": "base" and service "x402_chain_reads_v1.base_eth_getbalance" for a Gnosis tool, which is mildly misleading context.

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?

Front-loads the verb, resource, and chain, then adds payment protocol and output shape in short paragraphs. Slight redundancy between 'the native balance of an address' and 'Native xDAI balance of one address', and the stale output example could be trimmed.

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?

There is no output schema, so the description supplies the return shape itself (chain/hex/method/ok/result/service), states the payment flow required to actually retrieve data, and covers the only parameter. An agent has everything needed to call it correctly.

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% and the single address parameter is already fully documented in the schema. The description restates the '0x + 40 hex' format without adding format, validation, or error semantics beyond it, so baseline 3 applies.

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+resource (read the native balance of an address) and pins the chain (Gnosis) plus the precise semantics: xDAI native balance at the latest block, raw eth_getBalance in wei. This cleanly separates it from the sibling base_eth_getbalance and eth_mainnet_eth_getbalance.

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?

The description explains the x402 invocation protocol in detail (call once unpaid to get payment terms, then retry with the signed payment at _meta["x402/payment"]), which is real usage guidance. It does not explicitly name sibling alternatives or when to prefer them, but the chain/method are unambiguous from the name and description.

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