Skip to main content
Glama

Prepare standalone pool initialization

prepare_pool_initialization
Read-only

Rejects retired Ethereum MEVCapture v2.1. Prepare one permissionless maybeInitializePool transaction for a v3 PoolKey and initial tick; prepare_lp_position_deposit with pool_initialized=false does the same atomically with the mint.

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_id": "<chain_id>",
      "sender": "<sender>",
      "core_address": "<core_address>",
      "pool_key": "<pool_key>",
      "initial_tick": "<initial_tick>"
    },
    "name": "prepare_pool_initialization"
  }
}

Input Schema

NameRequiredDescriptionDefault
senderYesSubmitting wallet (address)
chain_idYesEVM chain ID
pool_keyYesPool to initialize. PoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config
core_addressYesv3 Core address
initial_tickYesThe first initialization permanently sets the price

Output Schema

NameRequiredDescriptionDefault
execution_plan_referenceNoartifact_reference; pass unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, which stays consistent because the tool builds rather than submits a transaction. The description adds useful behavior beyond that: the call is permissionless, it produces exactly one transaction, and it includes a rejection rule for a retired contract version. It does not say what the first initialization does to the price or whether the prepared transaction can be resubmitted, but the schema covers the permanence point.

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?

Two compact sentences with no filler, and the core action is front-loaded after the short rejection clause. The problem is that the leading sentence, 'Rejects retired Ethereum MEVCapture v2.1', is opaque on its own: it does not say which inputs or chains trigger the rejection, so it spends words without fully paying off.

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?

An output schema exists, so return values need no explanation, and the tool's complexity is moderate with all parameters required. The definition covers action, alternative, and atomicity. The only real gap is the vague rejection sentence, which leaves the agent unsure whether some chain or core_address values will be refused.

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?

Schema description coverage is 100%, so all five parameters are already documented, including that initial_tick permanently sets the price. The description names PoolKey and initial tick but adds no format, constraint, or validation detail beyond the schema. Baseline 3 is correct where the schema is doing all the parameter-level work.

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 gives a specific verb and resource: 'Prepare one permissionless maybeInitializePool transaction for a v3 PoolKey and initial tick'. That is enough for an agent to tell it apart from the sibling prepare_lp_position_deposit, which it explicitly contrasts. The opening sentence about rejecting retired MEVCapture v2.1 is cryptic and does not describe the tool's action, 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?

It names a concrete alternative and the condition that selects it: use prepare_lp_position_deposit with pool_initialized=false when you want initialization plus mint done atomically. That is real routing guidance. It does not explicitly state when to prefer the standalone path, e.g. that you should call it when no liquidity is being minted in the same step, so the reader still has to infer the inverse case.

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.