Skip to main content
Glama

Chain read

chain_read
Read-only

Chain state read: an address's balance, nonce and code on any chain the layer rotates, or one contract call. One call is 0.001714 USDC, paid with x402 on Base.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "chain_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
chainNo
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description is not responsible for the safety profile. It adds important behavioral context beyond annotations by disclosing the per-call cost and x402 payment mechanism on Base, though it omits return-format and failure details.

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 two sentences, front-loaded with the core operation and followed by the cost/payment detail. It is appropriately sized and contains no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers what is returned (balance, nonce, code, or a contract call) and the payment requirement, which helps because there is no output schema. However, with no schema descriptions and only moderate parameter explanation, key details about chain selection and data formatting remain incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description needs to compensate for all three parameters. It implies that address is the target and data represents a contract call, but it does not explicitly explain chain, address, or data usage, formats, or optionality.

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 states a specific verb and resource: reading chain state, including an address's balance, nonce, and code or a single contract call. It clearly identifies what the tool does, but it does not explicitly distinguish itself from sibling tools.

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?

The description explains capability but gives no guidance on when to use this tool versus alternatives, nor any exclusions or prerequisites. An agent must infer the usage context from the operation alone.

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