Skip to main content
Glama

Batch Chain Checks

batch
Read-only

Batch chain checks API: up to 10 checks for one payment. POST JSON {items:[{route, params}]} (or GET items=); route one of balance, gas, tx-status, token/meta, chain/head, name/resolve; params are the single route's query keys. Returns JSON: results [{index, route, status, ok, body}] in request order, count, okCount. Each item runs the single route's handler. Bad input or every item failing (Base: not charged; other rails may charge); one charge when at least one item succeeds. Price $0.01 per call via x402, USDC on Base (MCP payments are Base only). Value: one payment and one round trip for up to 10 reads. At 10 items that is $0.001 per item vs the $0.002 single-call floor; 5 items cost the same as 5 singles ($0.01); below 5 items the singles are cheaper (4 x $0.002 = $0.008). Substitutes: the same single routes at $0.002 each, or public RPCs and block explorers queried directly (no Horizon Pulse charge; their own terms and limits apply). Paid calls are subject to Horizon Pulse buyer terms: https://horizonpulse.dev/terms/buyer

Input Schema

NameRequiredDescriptionDefault
itemsYes1-10 checks; one $0.01 charge for the whole call if at least one item succeeds

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety (readOnly, non-destructive) but the description adds the operational facts: per-item failure semantics, one charge if at least one item succeeds, Base-only payment, and that a failed call is not charged on Base but may be on other rails. It also explains partial failure handling, consistent with idempotentHint=false since each retry re-charges.

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-loaded with purpose, then wire format, return shape, and economics; nothing is pure filler. The price-per-item arithmetic across four different quantities is more verbose than needed and could collapse into a single break-even sentence.

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?

Despite having no output schema, the description specifies the response shape (results array with index/route/status/ok/body, plus count and okCount) in request order. Combined with cost, failure handling, and payment rail, an agent has everything required to call this correctly on the first try.

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% and already documents route and params, so the description only needs to reinforce meaning. It does add the GET form ('items=<same JSON>') and clarifies that params are the 'single route's query keys', which helps an agent construct valid nested payloads, though it largely restates the schema's own route list.

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 and resource ('Batch chain checks API: up to 10 checks for one payment') and immediately names the exact routes that can be batched, which maps directly onto the sibling tools (balance, gas, tx_status, token_meta, chain_head, name_resolve). An agent can tell this is a fan-out wrapper around single-route reads without opening the schema.

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?

Gives explicit alternatives ('the same single routes at $0.002 each, or public RPCs and block explorers') and the precise break-even rule: below 5 items singles are cheaper, at 5 they tie, above 5 batch wins. That is exactly the decision an agent needs to route between this and its siblings.

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.