Skip to main content
Glama

アカウントを調べる

account_info
Read-only

Retrieve Ethereum address balance, nonce, and code presence to classify as EOA or contract, accepting block and network options.

Instructions

アドレスの残高・送信済みトランザクション数 (nonce)・コードの有無を返す。コードの有無で EOA(秘密鍵で操作するアカウント)とコントラクトを判別する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blockNoブロック番号または latest / finalized など。既定は latest
addressYes0x から始まる 20 バイトのアドレス
networkNo対象ネットワーク。mainnet / sepolia / holesky / local か http(s) の URL。既定は mainnet
Behavior4/5

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

Annotations declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false. The description adds the nuance that this also tells you whether the address is a contract by checking code presence, and implies this is a lightweight read. It doesn't mention gas costs or that contract account code may change, but it's adequate given the annotations already communicate safety.

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 consists of only two sentences that pack significant meaning: the first lists the returned fields, the second explains the EOA/contract distinction. No wasted words.

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

Completeness4/5

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

Given the low complexity (3 flat params, no output schema needed for a simple read), the description adequately covers the tool's purpose. It could benefit from a brief note on the output shape, but since no output schema is required and params are well-documented, this is nearly complete.

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% and the schema describes each parameter (block, address, network) with defaults. The description doesn't need to add param semantics since the schema is complete and precise. Baseline 3 is appropriate.

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 returns balance, nonce, and code presence for an address, and explains how to distinguish EOA from contracts. It uses specific nouns (balance, nonce, code) beyond the tool name. It doesn't explicitly distinguish from siblings like read_transaction or call_contract, but the resource and outputs are specific enough to guess.

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

Usage Guidelines4/5

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

The description implies usage for account-level queries and provides a decision rule for EOA vs contract. However, it doesn't explicitly state when NOT to use it or name alternative tools, though the 'code presence' explanation hints at contract inspection. Sibling names like chain_info and read_contract are present, so some cross-referencing guidance would improve it.

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/nakamura196/chain-reader-mcp'

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