Skip to main content
Glama

evm_deploy_nft

Deploy an ERC721 NFT collection on an EVM chain with a custom name and symbol. The deployer becomes owner and can mint unlimited NFTs with individual metadata URIs.

Instructions

Deploy new ERC721 NFT collection with customizable name and symbol.

Deploys OpenZeppelin-based MintableNFT contract where deployer becomes owner and can mint unlimited NFTs. Uses ERC721URIStorage for individual token metadata URIs (IPFS, HTTP, or on-chain).

CRITICAL RULES:

  • Deployer becomes contract owner

  • Only owner can mint NFTs

  • Each NFT can have unique metadata URI

  • Requires gas for deployment transaction

  • Based on OpenZeppelin v5.1.0 (audited, secure)

PARAMETERS:

  • chain: Target blockchain (required)

    • Must have gas in native token

    • Examples: "polygon", "ethereum", "base"

  • name: Collection name (required)

    • Display name for the NFT collection

    • Examples: "My Art Collection", "Cool Punks"

  • symbol: Collection symbol (required)

    • Ticker symbol for the collection

    • Usually 3-5 uppercase letters

    • Examples: "MYART", "CPUNK"

  • privateKey: Deployer private key (required)

    • Becomes owner with minting rights

    • Must have sufficient gas funds

    • Format: "0x..." (64 hex characters)

EXAMPLES: ✅ Deploy art collection: {chain: "polygon", name: "Digital Art Collection", symbol: "DART", privateKey: "0xac0974..."}

✅ Deploy gaming NFTs: {chain: "base", name: "Game Items", symbol: "GITM", privateKey: "0xac0974..."}

✅ Deploy profile pictures: {chain: "ethereum", name: "Profile Pics", symbol: "PPIC", privateKey: "0xac0974..."}

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: • deployment.nftContractAddress: Deployed contract address (use for minting!) • deployment.transactionHash: Deployment transaction hash • collection.name: Verified collection name • collection.symbol: Verified collection symbol • collection.owner: Owner address (can mint) • collection.features: Contract capabilities • nextSteps: Complete workflow guidance

WORKFLOW:

  1. Deploy collection (this tool)

  2. Create assets: evm_create_nft_with_ipfs (upload image + metadata to IPFS)

  3. Mint NFT: evm_mint_nft (with contractAddress from deployment)

  4. Transfer/approve: Standard ERC721 operations

COMMON MISTAKES:

  • Not having enough gas for deployment (~0.01-0.05 testnet tokens)

  • Trying to mint before deployment completes

  • Losing contract address (save nftContractAddress!)

  • Using mainnet instead of testnet for testing

USE CASES:

  • Create NFT collection for testing minting workflows

  • Deploy collection before generating art

  • Set up collection for marketplace integration

  • Create testnet collection for development

SECURITY:

  • OpenZeppelin v5.1.0 contracts (audited, October 2025)

  • Owner-controlled minting (only you can mint)

  • SafeMint protection (validates receiver contracts)

  • No supply limit (unlimited minting capability)

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": "<name>",
      "symbol": "<symbol>",
      "privateKey": "<privateKey>"
    },
    "name": "evm_deploy_nft"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNFT collection name
chainYesEVM chain to deploy on
symbolYesNFT collection symbol (e.g., "MYNFT")
privateKeyYesDeployer private key (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/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 mostly discharges it: it discloses ownership semantics (deployer becomes owner, only owner mints), gas requirements, unlimited supply, contract provenance, and the complete output structure. It stops short of flagging that a raw privateKey must be handled as a secret and that deployment is irreversible state change once broadcast, which matters for a write operation taking a key.

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

Conciseness3/5

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

Structure is strong — front-loaded summary, then hard rules, params, examples, workflow, pitfalls. But there is real waste: gas guidance is repeated in the chain list, CRITICAL GAS CONSIDERATIONS, and COMMON MISTAKES, and the trailing 'Linux-specific notes' (apt/yum/pacman, xdg-open) have no bearing on deploying an NFT contract and read as unrelated boilerplate.

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 four-parameter mutation with no annotations and no output schema, the description covers outputs, downstream steps, and chain-specific gotchas well. The gaps are security-relevant rather than cosmetic: nothing warns that the private key is a secret to be handled carefully, and no deployment confirmation latency or failure-mode guidance is given despite the repeated emphasis that deployment needs gas.

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 the baseline is 3; the description earns above that by adding the full seven-chain supported list with per-chain fee/finality characteristics, the privateKey format and its ownership consequence, and concrete naming examples. The duplicate per-parameter block largely restates the schema, but the chain roster and gas notes are real added meaning.

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?

Opens with a specific verb+resource: "Deploy new ERC721 NFT collection with customizable name and symbol." That distinguishes it cleanly from siblings like evm_deploy_token (fungible), evm_deploy_contract (generic), and evm_mint_nft (post-deployment minting). The stated contract standard (ERC721URIStorage, OpenZeppelin v5.1.0) further pins down what is actually created.

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

Usage Guidelines5/5

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

The WORKFLOW section explicitly places this tool as step 1 and names the follow-on siblings (evm_create_nft_with_ipfs, evm_mint_nft), and USE CASES lists deployment scenarios. COMMON MISTAKES adds negative guidance (don't mint before deployment completes, don't lose the address, don't use mainnet for testing), which is genuine when-not-to advice rather than filler.

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