Skip to main content
Glama

evm_burn_token

Permanently destroy ERC20 tokens on an EVM chain to reduce total supply and support deflationary tokenomics. Confirm burn support and balance first because the action is irreversible.

Instructions

Burn (destroy) tokens permanently, removing them from circulation and reducing total supply.

Destroys tokens from your balance, sending them to zero address or removing from supply entirely. Deflationary mechanism used to reduce supply, increase scarcity, or implement tokenomics.

CRITICAL RULES:

  • Token contract MUST support burning (not all ERC20 tokens do)

  • Tokens are PERMANENTLY destroyed (cannot be recovered)

  • Decreases total supply (deflationary)

  • Caller must own the tokens being burned

  • Transaction is irreversible once confirmed

  • Typically increases remaining token value (reduced supply)

PARAMETERS:

  • chain: EVM chain where token is deployed (required)

    • Token must support burning on this chain

    • Requires gas payment in native token

  • tokenAddress: Burnable token contract address (required)

    • Format: 0x followed by 40 hex characters

    • Must be token with burn() function

    • Typically custom tokens or some DeFi tokens

    • Standard tokens (USDC, USDT) may not support burning

  • amount: Amount to burn in token units (required)

    • Human-readable format: "100" = 100 tokens

    • Automatically converted using token decimals

    • Must have sufficient balance to burn

    • Examples: "1000", "50.5", "100000"

  • privateKey: Token holder's private key (required, KEEP SECRET)

    • Format: 0x followed by 64 hex characters

    • Must be address holding tokens to burn

    • Must have sufficient token balance

    • Never expose, share, or log this value

EXAMPLES: ✅ Burn 100 tokens to increase scarcity (Polygon): {chain: "polygon", tokenAddress: "0xYourToken...", amount: "100", privateKey: "0xac0974..."}

✅ Burn tokens as part of buyback program (BSC): {chain: "bsc", tokenAddress: "0x...", amount: "10000", privateKey: "0x..."}

✅ Burn small amount for testing (Arbitrum): {chain: "arbitrum", tokenAddress: "0x...", amount: "1", privateKey: "0x..."}

❌ Invalid - insufficient balance: {amount: "1000000"} // Only have 100 tokens

❌ Invalid - token doesn't support burning: {tokenAddress: "0xUSDC..."} // USDC doesn't allow public burning

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 burn success • chain: Chain where burning occurred • transactionHash: Burn transaction hash • tokenAddress: Token contract address • amount: Amount burned (formatted) • burner: Burner address (from privateKey) • newTotalSupply: Updated total supply after burn • remainingBalance: Your remaining token balance • gasUsed: Gas consumed by transaction • executionTime: Time taken in milliseconds

COMMON MISTAKES:

  • Trying to burn more tokens than you own

  • Burning tokens that don't support burn function

  • Not considering impact on tokenomics

  • Burning on wrong chain (token not deployed there)

  • Accidentally burning too much (cannot undo)

USE CASES:

  • Deflationary tokenomics (reduce supply over time)

  • Buyback and burn programs (increase token value)

  • Remove mistakenly minted tokens

  • Implement fee burning mechanism

  • Liquidity removal (burn LP tokens)

  • Reward token burns for staking

  • Automatic burning from transaction fees

BURN MECHANICS:

  1. Permanently removes tokens from circulation

  2. Reduces total supply (deflationary)

  3. Cannot be reversed or recovered

  4. Typically increases token scarcity and value

  5. Updates all balance calculations

TOKENOMICS IMPACT:

  • Decreases total supply (deflationary)

  • Can increase remaining token value

  • Should align with economic model

  • Consider: burn rate, utility, scarcity

GAS COSTS:

  • Similar to token transfers (~50,000-65,000 gas)

  • Ethereum Sepolia: ~0.001-0.002 ETH

  • Polygon: ~0.00005 POL (very cheap)

  • BSC: ~0.0001 BNB

  • Arbitrum/Base: ~0.0001 ETH

SECURITY NOTES:

  • Cannot undo burn operations (permanent)

  • Verify amount before burning (double-check)

  • Test with small amounts first

  • Consider implementing burn caps

  • Monitor total supply after burns

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>",
      "tokenAddress": "<tokenAddress>",
      "amount": "<amount>",
      "privateKey": "<privateKey>"
    },
    "name": "evm_burn_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesEVM chain to execute on
amountYesAmount to burn (in token units)
privateKeyYesToken holder private key (0x...)
tokenAddressYesERC20 token contract address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so thoroughly: permanence and irreversibility, supply reduction, gas estimates per chain, private-key secrecy, balance requirements, and a full output field list. The explicit warning that standard tokens like USDC may not expose burn() is exactly the kind of behavioral context an agent needs before invoking.

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 statement is front-loaded and well-structured, but the body is heavily redundant — permanence and supply reduction are restated across CRITICAL RULES, BURN MECHANICS, TOKENOMICS IMPACT, SECURITY NOTES and COMMON MISTAKES. The trailing 'Running on Linux / LINUX-SPECIFIC NOTES' block is irrelevant to an EVM burn operation and adds pure noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, unannotated mutation tool with no output schema, the definition covers outcomes (OUTPUT STRUCTURE), failure modes, gas costs, supported chains, and irreversibility. An agent has everything needed to decide and execute correctly.

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 already 100%, so baseline is 3, but the description adds real meaning beyond the schema: amount is human-readable and auto-scaled by token decimals with examples, privateKey format and secrecy handling, and the burnability constraint on tokenAddress. Chain semantics are also expanded with per-network gas characteristics.

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 opening line gives a specific verb and resource ('Burn (destroy) tokens permanently') plus the effect on supply, which distinguishes it from transfer/mint siblings by implication. It never explicitly names a sibling tool, so differentiation is inferred rather than stated.

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?

A dedicated USE CASES list and a COMMON MISTAKES section give clear conditions for when this tool applies, and the invalid examples establish preconditions (must own tokens, token must implement burn()). It does not name any alternative tool (e.g. transfer instead of burn) or state when not to use it beyond invalid-input cases.

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