Skip to main content
Glama

Crypto & Web Data API for Agents

Is this address a wallet or a contract? Nonce and native balance per chain

evm_address
Read-only

Is this address a wallet or a contract? Nonce and native balance per chain. For one address on one or all EVM chains (Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, Avalanche): wallet vs contract vs EIP-7702 delegated account, bytecode size, transaction count (nonce) and native balance. Use before sending funds or to sanity-check a counterparty. Cached 15 s. Price $0.005 per call (x402: USDC on Base or Solana).

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": "evm_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
chainNoall
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely useful non-schema behavior: 15-second caching and a paid x402 model ($0.005 per call, USDC on Base or Solana), which tells the agent a payment credential may be required. It does not disclose response shape or failure behavior when an address is unknown, so the added value is real but partial.

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?

The leading question acts as a front-loaded hook, followed by scope, capabilities, usage, and cost in a logical order. The opening line is partly restated in 'For one address on one or all EVM chains,' which is mild redundancy but not wasteful overall.

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?

With no output schema, the description takes on return-value duty and does it well by enumerating the classification result, bytecode size, nonce, and native balance. It also flags caching and the payment model. What is missing is any indication of error or null behavior for addresses not yet seen on a chain.

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 33%, so the description must carry weight here. It clarifies 'chain' semantics ('one address on one or all EVM chains' with the default-all listing of Base, Ethereum, Arbitrum, BSC, Polygon, Optimism, Avalanche), but the 'tx' parameter (X-Payment-Tx header alternative) is never mentioned, leaving one of three parameters unexplained in both places.

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 gives a specific verb-and-resource framing ('Is this address a wallet or a contract?') plus the exact outputs (wallet vs contract vs EIP-7702 delegated account, bytecode size, nonce, native balance) and enumerates the supported chains. That is far clearer than the name alone. It does not explicitly differentiate itself from siblings like evm_balance or wallet, so it stops short of a 5.

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?

'Use before sending funds or to sanity-check a counterparty' gives concrete usage contexts an agent can pattern-match. There is no explicit when-not-to-use guidance and no named alternative for pure balance lookups, which keeps it at 4 rather than 5.

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