Skip to main content
Glama

Agent Data Hub

Network info: chain id, head, block time, gas

chain_network_info
Read-onlyIdempotent

Network facts for one or several EVM chains in one call: chain id, name, native currency, testnet flag, latest block and its age, average block time (last 100 blocks), gas price and base fee (gwei), block explorer URL and the native USDC contract. 'all' = Ethereum, Base, Arbitrum, Optimism, Polygon, BSC. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chain_network_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain name, comma-separated list, or 'all' (default all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world, so the description is right to spend its words elsewhere, and it does: it discloses real cost ($0.001 per call, USDC on Base via x402, first 10 calls per day free), which is behaviorally decisive for an agent. It also bounds the block-time figure ('last 100 blocks'), a detail the annotations cannot convey. It stops short of describing response shape or failure modes.

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 the returned fields, which is the highest-value information, and the pricing sentence is genuinely necessary rather than filler. It is a single dense block with no sentence that could be deleted outright, though splitting cost into its own clause would read more cleanly.

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?

With no output schema, the description carries the return-value burden itself and does so field by field, including units (gwei) and derived values (block age, 100-block average). Combined with cost disclosure and the 'all' expansion, nothing an agent needs to call this correctly is missing.

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?

Only one parameter and schema coverage is 100%, so the baseline is 3; the schema already documents name, comma-separated list, and 'all' with default. The description adds one genuinely useful piece beyond that: which six chains 'all' expands to, saving the agent a guess.

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 resource (network facts for EVM chains) and enumerates exactly what comes back: chain id, name, native currency, testnet flag, latest block and age, average block time, gas price and base fee, explorer URL, native USDC contract. The phrase 'in one call' signals it is a bundled aggregate rather than one of the single-fact siblings like chain_gas or chain_block_number, so an agent can place it 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 Guidelines3/5

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

Usage is only implied: 'for one or several EVM chains in one call' suggests batching instead of several single-fact calls, and the default/all behavior is stated. But no sibling is named and there is no explicit rule such as 'use this when you need multiple network facts at once; use chain_gas when you only need gas.'

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