Skip to main content
Glama

Leash

Prepare contract deployment

elysium_prepare_deploy

Builds (not signs) a contract-creation transaction from init bytecode (≤ 48 KB), encoding constructor args when a JSON ABI is given. Predicts the address from from + current nonce (valid only if this is the next tx from from). Policy routing is not supported. Chains: elysium (default), hyperevm, robinhood.

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": {
      "from": "<from>",
      "bytecode": "<bytecode>"
    },
    "name": "elysium_prepare_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
abiNo
fromYes
chainNoelysium (default), hyperevm or robinhoodelysium
valueNo0
policyNo
bytecodeYes
constructorArgsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnlyHint false, openWorldHint true, idempotentHint false and destructiveHint false; the description adds material context beyond that — that the output is an unsigned transaction, the bytecode size ceiling, the nonce-ordering assumption behind address prediction, and the unsupported policy-routing path. It does not describe what the caller must do next (sign/broadcast) or how nonce drift manifests, so a 4 rather than 5.

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

Conciseness5/5

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

Four short sentences, ~55 words, front-loaded with the core action and the 'not signs' qualifier. Every clause carries a constraint (size limit, nonce validity, unsupported feature, chain list) with no repetition of schema boilerplate.

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?

For a 7-parameter write-preparation tool with no output schema, the description covers the essential behavior, the ordering caveat, and the supported-chain dimension. The notable remaining gap is that the return payload (unsigned tx plus predicted address) is only implied by 'Predicts the address', and the `value`/`policy` parameters go unaddressed.

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 description coverage is only 14% (only `chain` is documented in-schema), so the description must compensate and largely does: it explains `bytecode` (init bytecode, ≤ 48 KB), `abi` (JSON ABI used to encode constructor args), `from` (combined with current nonce for address prediction), `chain` (default/modeled set), and indirectly `constructorArgs`. `value` and the presence of a `policy` parameter despite routing being unsupported are left unexplained, so not a 5.

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 description opens with a precise verb and resource: 'Builds (not signs) a contract-creation transaction from init bytecode', which distinguishes deployment from the sibling elysium_prepare_contract_call without naming it. It also states the key side-effect boundary ('not signs'). It stops short of explicitly naming sibling alternatives, which keeps it from a 5.

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?

Preconditions for correct use are spelled out: bytecode must be ≤ 48 KB, a JSON ABI is needed to encode constructor args, and the predicted address is only valid if this is the next tx from `from`. It also states an exclusion ('Policy routing is not supported') and enumerates the supported chains. It does not say what to do instead when addressing a later nonce, so not 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