Skip to main content
Glama

Ekubo Protocol

Prepare TWAMM virtual-order execution

prepare_twamm_virtual_orders
Read-only

Prepare the permissionless lockAndExecuteVirtualOrders maintenance call for a current or legacy TWAMM pool.

Input Schema

NameRequiredDescriptionDefault
senderYesaddress
chain_idYesEVM chain ID
pool_keyYesPoolKey {token0, token1, config}: token addresses (zero = native), bytes32 config

Output Schema

NameRequiredDescriptionDefault
execution_plan_referenceNoartifact_reference; pass unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The word 'permissionless' usefully signals no access control is required, which goes beyond the minimal readOnlyHint annotation. However, it does not say that the tool returns an unsigned transaction/calldata to be submitted separately, nor what happens for 'legacy' vs 'current' pools — a distinction the description raises but never explains.

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?

One tightly constructed sentence with the action front-loaded and no filler. It is arguably too short for the complexity, but nothing in it is wasted.

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?

An output schema and full schema coverage remove the need to explain returns and parameters, so the description only had to cover invocation timing and pool-variant behavior. It gestures at 'current or legacy' pools but leaves both that distinction and the trigger condition unexplained.

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 a documented nested PoolKey, so parameter meaning is already fully carried by the schema. The description adds nothing about chain_id, sender, or pool_key beyond implying a pool is targeted; baseline 3 applies.

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?

States a specific verb and resource: it prepares the permissionless lockAndExecuteVirtualOrders maintenance call for a TWAMM pool. The 'maintenance call' framing distinguishes it in spirit from the order-creation siblings (prepare_twamm_order, prepare_twamm_order_collection, prepare_twamm_order_stop), though none of them are named.

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

Usage Guidelines2/5

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

No guidance on when this maintenance call is needed (e.g., after a virtual-order interval has elapsed with pending orders) or when to prefer it over the sibling prepare_twamm_* tools. The agent must infer the trigger condition from the name alone.

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.