Skip to main content
Glama

Ekubo Protocol

Prepare standalone pool initialization

prepare_pool_initialization
Read-only

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.

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

A4.4/5.0
Behavior4/5

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

Beyond readOnlyHint, it discloses that preparation produces one transaction, that the operation is permissionless, and that the sibling can perform the work atomically with a mint. Preparing rather than submitting a transaction is consistent with readOnlyHint, but the description does not explain already-initialized-pool behavior or any validation performed during preparation.

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?

One compact sentence front-loads the exact operation and then provides the sibling alternative without filler. Although technically dense, its protocol-specific terms and exact pool_initialized=false setting are useful rather than unnecessary wording.

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?

Together with the fully documented input schema, output schema, and read-only annotation, the description provides enough context to select and invoke the tool correctly. Its main remaining gap is the meaning of maybeInitializePool when initialization has already occurred, along with any preparation-time validation or subsequent signing workflow.

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%, including the nested PoolKey structure and the warning that initial_tick permanently sets the first price. The description reinforces how PoolKey and initial_tick are used but adds no further encoding, format, or value-selection guidance, so the schema appropriately does most of the work.

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 gives a specific action and resource: preparing one maybeInitializePool transaction for a v3 PoolKey and initial tick. It also distinguishes the tool from prepare_lp_position_deposit by identifying that sibling's atomic initialization-and-mint behavior.

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?

It explicitly routes agents to prepare_lp_position_deposit with pool_initialized=false when initialization should be combined atomically with a mint. The single-transaction wording and standalone title make this tool's contrasting use case clear.

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.