Skip to main content
Glama

evm_create_wallet

Generates a new HD wallet with a BIP39 mnemonic, private key, and address. Use it to create testnet wallets for any EVM chain, then back up the seed phrase securely.

Instructions

Create a new HD wallet with BIP39 mnemonic phrase and derived address.

Generates a cryptographically secure hierarchical deterministic (HD) wallet using BIP39 standard. Returns mnemonic phrase, private key, and address. Works identically across all EVM chains.

CRITICAL RULES:

  • Mnemonic phrase is the master secret (NEVER share or log it)

  • Private key derived using BIP44 path: m/44'/60'/0'/0/0

  • Same mnemonic generates same address on all EVM chains

  • Store mnemonic securely - it cannot be recovered if lost

  • Wallet is created locally (not registered on-chain)

PARAMETERS:

  • chain: EVM chain context (required but doesn't affect generation)

    • Same wallet works on all EVM chains

    • Chain parameter for consistency with other tools

    • Wallet address is identical across ethereum, polygon, bsc, etc.

EXAMPLES: ✅ Create new wallet: {chain: "polygon"}

✅ Generate wallet for multi-chain use: {chain: "ethereum"}

✅ Create test wallet: {chain: "bsc"}

❌ Invalid - chain doesn't exist: {chain: "bitcoin"}

❌ Invalid - typo in chain: {chain: "etherium"}

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 • chain: Chain context used • mnemonic: 12-word BIP39 seed phrase (KEEP SECRET) • privateKey: Hex-encoded private key (KEEP SECRET) • address: Public wallet address (0x...) • derivationPath: BIP44 path used (m/44'/60'/0'/0/0) • warning: Security reminder about mnemonic storage • executionTime: Time taken in milliseconds

COMMON MISTAKES:

  • Logging or displaying mnemonic in production

  • Not backing up mnemonic before using wallet

  • Assuming wallet is registered on-chain (it's not)

  • Sharing private key instead of public address

  • Using same wallet for testing and production

USE CASES:

  • Generate fresh wallet for user onboarding

  • Create burner wallets for testing

  • Implement multi-chain wallet solutions

  • Generate addresses for cold storage

  • Automate wallet creation for services

SECURITY BEST PRACTICES:

  • Store mnemonic in encrypted form

  • Never transmit mnemonic over network

  • Use hardware wallets for significant funds

  • Implement mnemonic backup flows for users

  • Consider multi-sig for high-value accounts

WALLET LIFECYCLE:

  1. Generate with this tool → get mnemonic + address

  2. Backup mnemonic securely

  3. Fund address via faucet or transfer

  4. Use private key to sign transactions

  5. Import to MetaMask/other wallets using mnemonic

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

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain context (wallet works on all chains)
includeSecretsNoInclude mnemonic and private key in response (default: false, NOT RECOMMENDED for production)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 behavioral burden and does well: it discloses that the wallet is generated locally, is not registered on-chain, uses BIP44 path m/44'/60'/0'/0/0, is identical across chains, and that the mnemonic is irrecoverable if lost. The main flaw is that it claims the response contains the mnemonic and private key, while the schema's includeSecrets defaults to false — the description overstates what is actually returned.

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?

Purpose is front-loaded and the parameter examples are useful, but the text is heavily padded with content irrelevant to invoking this tool: gas price considerations per chain, testnet faucet notes, general security best practices, and a trailing Linux/apt/pacman/xdg-open section that has nothing to do with wallet creation. Much of this should be removed or moved to a separate reference.

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 (one required enum parameter) so the extensive security framing is more than enough on the surface, but the two gaps that matter for correct invocation — includeSecrets behavior and the mismatch between promised secrets and default output — are unaddressed. No output schema exists, so the OUTPUT STRUCTURE block is helpful, yet it conflicts with the parameter default.

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%, so baseline is 3. The description extensively explains the chain parameter's semantics (context only, no effect on generation, same address everywhere) and correctly rules out invalid values like 'bitcoin', but it never mentions includeSecrets, the one parameter that actually changes whether secrets come back — a meaningful omission given the description promises secrets in the output.

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?

States a specific verb and resource: 'Create a new HD wallet with BIP39 mnemonic phrase and derived address', plus elaboration that it is a deterministic HD wallet generated locally. An agent can tell this is a generation tool rather than an import or info tool, though the description never names evm_import_wallet or evm_get_wallet_info to sharpen the boundary.

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 USE CASES block gives concrete contexts (onboarding, burner wallets, cold storage, service automation) and the WALLET LIFECYCLE section explains the follow-on steps after creation. It never says when NOT to use this tool or redirect to the sibling that imports an existing mnemonic, so exclusions and explicit alternatives are missing.

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