Skip to main content
Glama

chain_create_address

Read-only

Contract address predictor (CREATE / CREATE2) — Predict the address a contract will deploy to. CREATE: deployer= + nonce= (count= up to 20 to list the next addresses). CREATE2: deployer= (factory) + salt= + init_code_hash= (or init_code=). Optional chain= (ethereum, base, arbitrum, optimism, polygon) checks whether code is already deployed there and whether the nonce is used. Offline keccak + RLP, EIP-55 checksummed. Price: $0.001 USDC (Base, via x402).

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": {
      "deployer": "<deployer>",
      "nonce": "<nonce>"
    },
    "name": "chain_create_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYes0
deployerYes0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, it discloses that computation is offline keccak + RLP, that output is EIP-55 checksummed, and that a paid x402 call costs $0.001 USDC on Base — the pricing detail is genuinely important before invocation. It does not say what the chain= existence check returns or whether that path incurs additional RPC latency.

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?

The purpose and mode split are front-loaded in the first sentence, and the pricing footnote closes cleanly. The middle is telegraphic shorthand ('deployer= + nonce= (count= up to 20...)') that reads like spec notation rather than prose, costing some clarity.

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?

With no output schema, the description still conveys what is produced: a checksummed predicted address, a list when count>1, and existence/nonce-used signals when chain= is set. It is nearly complete for such a tool, though the exact return shape for the multi-address and chain-check cases is left implicit.

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?

The schema only shows example values for deployer and nonce and contains no salt, init_code_hash, init_code, chain, or count properties at all, so the prose carries the real semantic load and explains each field's role per mode. However, it conflicts with the schema by making salt/init_code_hash conditional for CREATE2 while the schema hard-requires nonce, which could confuse an agent about the actual contract.

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 names a specific resource (contract address prediction) and enumerates the two supported derivation modes, CREATE and CREATE2, along with the parameter each mode consumes. An agent can immediately tell this apart from sibling read tools like chain_code or chain_contract_info.

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 clearly states which parameter set selects CREATE versus CREATE2 and explains that count= lists successive addresses, plus when to use the optional chain= for on-chain existence checks. It does not name an alternative sibling tool for cases outside its scope, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources