Skip to main content
Glama

Generate Subnet-EVM genesis.json

avax_generate_genesis
Read-onlyIdempotent

Create a valid Subnet-EVM genesis.json for your Avalanche L1 by configuring fee presets, initial balances, and precompiles. Warp is enabled by default for ICM/Teleporter.

Instructions

Generate a valid Subnet-EVM genesis.json for a new Avalanche L1. Choose a fee preset (low|medium|high|gasless) or override feeConfig, allocate initial balances, and enable precompiles (deployer allow-list, tx allow-list, native minter, fee manager, reward manager, warp). Warp is enabled by default because ICM/Teleporter needs it. Returns the JSON plus next-step CLI commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chain_idYesUnique EVM chain ID (check chainlist.org; avoid 43113/43114)
fee_presetNomedium
allocationsNo
enable_warpNo
reward_modeNoburn
admin_addressNoAdmin for every enabled precompile
reward_addressNo
enable_fee_managerNo
enable_tx_allowlistNo
enable_native_minterNo
fee_config_overridesNoPartial feeConfig keys to override
enable_reward_managerNo
fund_teleporter_deployerNoPre-fund the TeleporterMessenger deployer (needed so the CLI/you can deploy ICM)
enable_deployer_allowlistNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description adds genuine value on top: it discloses the warp-on-by-default behavior with a rationale ('ICM/Teleporter needs it') and states the return shape ('Returns the JSON plus next-step CLI commands'). No contradiction with the annotations.

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?

Three sentences with the core purpose front-loaded. The middle sentence is a dense but informative enumeration of options, and the final sentence captures the return contract in six words. No filler or redundant restatement of the title.

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?

For a tool this complex (14 parameters, nested allocations object, no output schema), the description covers the main config categories and the return format, but it does not clarify the required chain_id constraint or explain what each precompile actually does. It is adequate but leaves the agent to open the schema for the full picture.

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?

With schema description coverage at only 29%, the description must carry more weight, and it does partially: it enumerates the fee_preset enum values (low|medium|high|gasless), the precompile toggles (deployer allow-list, tx allow-list, native minter, fee manager, reward manager, warp), and allocations. However, it omits chain_id — the only required parameter — plus admin_address and reward_address, leaving a meaningful gap for the agent on what is mandatory.

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+resource+context: 'Generate a valid Subnet-EVM genesis.json for a new Avalanche L1.' This clearly differentiates it from the sibling list, which is dominated by query tools (get_balance, get_block, data_list_*) and doc tools — none of them generate genesis config. The purpose is unambiguous and immediately understood.

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

Usage Guidelines3/5

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

Usage context is implied ('for a new Avalanche L1', 'next-step CLI commands') and the config options suggest scenarios, but there is no explicit when-to-use vs when-not-to-use guidance, and no alternative is named. Notably, the sibling avax_plan_l1_launch sits adjacent to this workflow but the description never routes the agent between them.

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/Eelvanpsd/Avalanche-mcp'

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