Skip to main content
Glama

chain_batch_reads

$0.005 via x402: up to TEN on-chain reads for ONE payment, run in parallel — native balance, nonce, contract-code check, ERC-20 balance, block number and gas price in any combination. Reconciling a wallet normally costs one payment per read; this is the same data for a fraction of the calls and the latency. Per-read failures are reported individually with a partial flag, so a batch never claims success it did not have.

Input Schema

NameRequiredDescriptionDefault
chainNobase|ethereum|optimism|arbitrum|polygon|gnosis (default base)
readsNoComma-separated ops, max 10: balance:0xADDR | nonce:0xADDR | code:0xADDR | erc20:0xTOKEN:0xWALLET | blocknumber | gas
x_paymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses parallel execution, one-payment pricing, and that per-read failures surface individually with a partial flag so a batch never falsely reports success. It omits rate limits and the auth/payment mechanics behind x_payment, keeping it from a 5.

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?

The pricing and value proposition are front-loaded, and each sentence contributes distinct information (cost, batching benefit, failure semantics). It is slightly dense across three sentences but contains no filler.

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?

With no output schema or annotations, the description still conveys the essential behavioral contract (parallelism, partial-failure flag, single-payment model) needed to invoke correctly. Return-shape detail is thin, but the failure-handling disclosure covers the main risk of a batch tool.

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 67% and the description reinforces the reads combinations ('any combination') while listing the op categories, and the 'x402'/$0.005 phrasing adds context for the otherwise undocumented x_payment parameter. The chain selection and its default are left to the schema, so it adds value but not full coverage.

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?

The description states a specific verb (batch reads), resource (on-chain reads), and scope (up to ten reads for one payment, run in parallel) and enumerates the exact read categories, so an agent can distinguish it from the individual chain_* siblings without opening a schema.

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 gives a clear use case ('Reconciling a wallet') and the rationale for batching versus one payment per read, which implies the when-to-use context. It stops short of explicitly naming the alternatives (e.g. chain_native_balance) or stating exclusions, so it is clear but not fully routing.

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.