Skip to main content
Glama

evm_get_wallet_info

Retrieve public wallet data including balance, transaction count, and account status for any EVM address across supported chains without exposing private keys.

Instructions

Get comprehensive wallet information without exposing sensitive private keys.

Retrieves public wallet data including balance, transaction count, and account status. Safe to use for displaying wallet info to users without security risks.

CRITICAL RULES:

  • Does NOT return private keys or mnemonic (safe for display)

  • Shows current blockchain state (not historical)

  • Returns same data as evm_get_account_info but formatted for wallet context

  • Combines balance + nonce + contract check in one call

PARAMETERS:

  • chain: EVM chain to query (required)

    • Wallet state is chain-specific

    • Same address may have different balances/nonces per chain

  • address: Wallet address to inspect (required)

    • Format: 0x followed by 40 hex characters

    • Works for any address (doesn't need to be "imported")

    • Example: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

EXAMPLES: ✅ Check wallet info: {chain: "polygon", address: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"}

✅ Verify wallet status: {chain: "ethereum", address: "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}

✅ Display to user: {chain: "bsc", address: "0x..."}

❌ Invalid - wrong format: {chain: "polygon", address: "0x123"}

❌ Invalid - not checksummed (works but not recommended): {chain: "ethereum", address: "0xABC..."} // All caps

SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559

CRITICAL GAS CONSIDERATIONS:

  • Ethereum: High gas costs, use gas oracle for timing

  • Polygon/BSC: Very low gas, safe for frequent transactions

  • Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum

  • Avalanche: Dynamic fees, can spike during congestion

  • Always check gas price before executing transactions

TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.

OUTPUT STRUCTURE: • success: Boolean indicating operation success • address: Queried address (checksummed) • balance: Object with wei and ether values • nonce: Transaction count (txs sent from this address) • isContract: Boolean (false for wallets, true for contracts) • hasActivity: Boolean (true if nonce > 0 or balance > 0) • executionTime: Time taken in milliseconds

COMMON MISTAKES:

  • Expecting private key in response (not returned for security)

  • Confusing with evm_get_account_info (same data, different context)

  • Not checking isContract before treating as wallet

  • Assuming zero balance means unused (could have sent everything)

USE CASES:

  • Display wallet balance in UI

  • Check if wallet has funds before transaction

  • Verify wallet activity status

  • Show transaction count to users

  • Validate wallet exists and is active

Running on Linux.

LINUX-SPECIFIC NOTES:

  • Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)

  • Python 3 is typically 'python3' command

  • GNU tools are standard

  • Use 'xdg-open' command to open files/applications

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": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "evm_get_wallet_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain to query
addressYesWallet address (0x... - 42 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that no private keys or mnemonics are returned, that data reflects current chain state rather than history, that it aggregates balance + nonce + contract check in one call, and it spells out the response fields. It omits rate limits or error behavior, but the safety and data-freshness profile is clearly conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core definition is front-loaded and readable, but the body balloons with material irrelevant to invoking this read-only query: block times and gas economics per chain, testnet faucet notices, and unrelated Linux package-manager notes. Large sections could be removed without losing anything an agent needs to call the tool correctly.

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?

Since there is no output schema, the description usefully supplies the full return structure (success, address, balance, nonce, isContract, hasActivity, executionTime), the supported chain enum, and common misinterpretations such as assuming a zero balance means an unused wallet. It is complete for a two-parameter read tool; the only deficit is noise rather than missing substance.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: wallet state is chain-specific so the same address differs per chain, the address does not need to be imported, 0x + 40 hex format is required, and checksumming is recommended but not enforced. Those are interpretive notes the schema does not carry, though the long per-chain marketing list is not parameter semantics.

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?

The description opens with a specific verb and resource ("Get comprehensive wallet information") and enumerates what is returned (balance, transaction count, account status). It explicitly names the sibling evm_get_account_info and states the relationship ("same data... but formatted for wallet context"), so an agent can distinguish the two without opening either schema.

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?

It provides concrete use cases (display balance in UI, check funds before a transaction, verify activity) and names an alternative tool, evm_get_account_info. The gap is that it never states a condition that selects one over the other, or when not to use this tool; saying the two return "same data, different context" leaves the choice to inference.

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

Deploy Server

Other Tools