Skip to main content
Glama

evm_get_chain_info

Read-only

Retrieve current chain status for a given EVM chain ID, including the latest block number.

Instructions

Get basic chain status including latest block number for a chain ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainIdNoChain ID (defaults to runtime config)
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds the detail that the tool returns the latest block number. No contradiction exists, but the description does not disclose the full return structure or any other behavioral nuances beyond what the schema and annotations imply.

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 communicates the tool's purpose without any redundant words. It is appropriately sized for the tool's simplicity.

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 tool is simple, with one optional parameter and no output schema. The description mentions the latest block number as a key return value but remains vague about what 'basic chain status' includes. Without an output schema, a bit more detail about the return value would improve completeness, but it is minimally viable.

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 coverage is 100% because the chainId property includes its own description ('Chain ID (defaults to runtime config)'). The description merely repeats 'chain ID' and does not add additional semantic meaning beyond the schema, so the baseline of 3 applies.

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 tool retrieves basic chain status including the latest block number for a given chain ID, using a specific verb and resource. It is distinguishable from siblings that focus on individual blocks or transactions, though it does not explicitly name alternative tools.

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?

The description implies the tool is used to fetch chain-level status, but it does not explicitly state when to prefer it over related tools like evm_get_latest_block or evm_get_block, nor does it provide any exclusions or alternative recommendations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Apegurus/web3agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server