Skip to main content
Glama

Genexxis agent data APIs

chainread_read_contract

Call any view/pure function with a human-readable signature on Ethereum, Base, Arbitrum, Optimism, Polygon or BSC: decoded result, raw hex, block number, chain id; 422 with revert reason on revert. Price: $0.002 USDC per call, paid with x402 on Base.

Input Schema

NameRequiredDescriptionDefault
argsNoArguments in order; integers may be strings
chainNoethereum (default), base, arbitrum, optimism, polygon, bsc or chain id
addressYesDeployed contract address (0x...)
blockTagNolatest (default), safe, finalized, earliest, pending or a block number (alias: block)
functionYesHuman-readable signature, e.g. "balanceOf(address) view returns (uint256)"; the "function " prefix is optional; include returns (...) to decode

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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 decoded/raw return fields, block number and chain id, revert handling via 422, and per-call pricing via x402. It could be stronger by clarifying whether reverts are still charged or detailing rate limits/auth flow.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence that packs purpose, supported chains, return shape, error behavior, and pricing without unnecessary words.

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?

Given the full schema coverage and no output schema, the description supplies the missing return-value details, revert behavior, supported chains, and payment requirement. An agent has enough information to invoke the tool 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%, so the schema already documents all five parameters thoroughly. The description adds little parameter-specific meaning beyond reiterating human-readable signatures and supported chains.

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 clearly states the verb and resource: call any view/pure function on six named chains. It distinguishes the tool from token- or resolve-specific siblings by scope, but does not explicitly differentiate it from chainread_multicall, so it falls short of a full 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no when-not-to-use guidance, and no named alternatives such as chainread_multicall. The intended use is only implied by 'Call any view/pure function' and the supported chain list.

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