Skip to main content
Glama

evm_generate_address

Derive EVM addresses from a BIP39 mnemonic using customizable BIP44 path, account, and index parameters to create deterministic wallet addresses for any supported EVM chain.

Instructions

Generate specific address from mnemonic using custom BIP44 derivation parameters.

Derives addresses from a mnemonic seed phrase using customizable BIP44 path components. Perfect for generating multiple addresses from a single seed or matching hardware wallet addresses.

CRITICAL RULES:

  • Generates deterministic addresses (same inputs = same output)

  • Default path m/44'/60'/0'/0/0 generates first address

  • Index parameter most commonly changed (generates address sequence)

  • Account parameter for separate "accounts" from same seed

  • All generated addresses work on all EVM chains

PARAMETERS:

  • chain: EVM chain context (required)

    • Doesn't affect generation (addresses work everywhere)

    • Used for optional balance checking

  • mnemonic: BIP39 seed phrase (required)

    • 12 or 24 words separated by spaces

    • Must be valid BIP39 phrase

    • Example: "test test test test test test test test test test test junk"

  • index: Address index (optional, default: 0)

    • Most commonly modified parameter

    • Generates sequence: index 0, 1, 2, 3...

    • MetaMask/wallets use sequential indices

    • Example: index=5 gives 6th address

  • account: Account number (optional, default: 0)

    • For separate "accounts" from same seed

    • Less commonly changed than index

    • Path: m/44'/60'/account'/0/index

  • change: Change index (optional, default: 0)

    • 0 = external addresses (receiving)

    • 1 = internal addresses (change)

    • Rarely changed in practice

EXAMPLES: ✅ Generate first address: {chain: "polygon", mnemonic: "test test..."}

✅ Generate 6th address: {chain: "ethereum", mnemonic: "word1 word2...", index: 5}

✅ Generate from second account: {chain: "bsc", mnemonic: "seed words...", account: 1, index: 0}

❌ Invalid - wrong mnemonic format: {chain: "polygon", mnemonic: "not-valid-words"}

❌ Invalid - negative index: {chain: "ethereum", mnemonic: "...", index: -1}

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: Generated address (0x...) • derivationPath: Full BIP44 path used • index: Address index used • account: Account number used • mnemonic: Original mnemonic (NOT recommended to return in production) • executionTime: Time taken in milliseconds

COMMON MISTAKES:

  • Confusing index with account (index changes more frequently)

  • Not matching hardware wallet derivation paths

  • Generating too many addresses without tracking usage

  • Not documenting which indices are in use

USE CASES:

  • Generate address sequences for user wallets

  • Match hardware wallet addresses (Ledger/Trezor)

  • Create multiple addresses from single backup

  • Implement HD wallet derivation

  • Generate fresh addresses for privacy

ADDRESS GENERATION PATTERNS:

  • Sequential: index 0, 1, 2, 3... (most common)

  • Multiple Accounts: account 0, 1, 2 with index 0 each

  • Hardware Wallet Match: Use same account/index as device

  • Change Addresses: Use change=1 for internal transfers

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>",
      "mnemonic": "<mnemonic>"
    },
    "name": "evm_generate_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain context
indexNoAddress index (default: 0)
changeNoChange index (0 for external, 1 for internal, default: 0)
accountNoAccount number (default: 0)
mnemonicYesMnemonic phrase (12 or 24 words)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the essentials: determinism (same inputs = same output), the default path m/44'/60'/0'/0/0, that chain does not affect generation, and the returned fields including a security caveat about returning the mnemonic. It does not state whether anything is persisted server-side, but the core behavior is well covered.

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 content is front-loaded and useful, but it is buried under large blocks that are irrelevant to address derivation: gas considerations, per-chain block times, testnet token/faucet notes, and even Linux package-manager notes. These sections dilute the signal and should not be in this tool's description.

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?

For a five-parameter derivation tool with no output schema, the description covers inputs, the output structure, and derivation patterns, which is sufficient to call it correctly. The completeness is undermined only by irrelevant padding rather than by missing essentials.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description adds real meaning beyond it: index is the most commonly modified parameter and yields a sequence, account selects separate accounts from the same seed, change distinguishes external vs internal addresses, and chain is context-only for optional balance checks. That is substantive semantic value on top of the schema.

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 opening line states a specific verb and resource: derive an address from a mnemonic using BIP44 derivation parameters. It is clearly distinct from sibling tools like evm_create_wallet, evm_lookup_address, and evm_validate_address, so an agent can identify it without checking other schemas.

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 use cases (matching Ledger/Trezor, generating address sequences, privacy addresses), worked examples of valid and invalid calls, and common mistakes. It lacks explicit when-not-to-use guidance relative to siblings such as evm_create_wallet, but the applicable context is clear.

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