Skip to main content
Glama

Ekubo Protocol

Prepare TWAMM proceeds collection

prepare_twamm_order_collection
Read-only

Prepare collection of every selected order key through the exact current or legacy Orders manager, as one atomic batch of decodable steps, with pending owner validation.

Input Schema

NameRequiredDescriptionDefault
senderYesaddress
chain_idYesEVM chain ID
token_idYesdecimal or 0x-hex integer
order_keysYes
orders_addressYesaddress

Output Schema

NameRequiredDescriptionDefault
execution_plan_referenceNoartifact_reference; pass unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and it does disclose real behavior: collection is batched atomically across all selected keys, the result is a set of 'decodable steps' rather than a submission, manager version is resolved automatically (current or legacy), and 'pending owner validation' signals an approval gate. It does not say what happens if one key is invalid or whether the batch is all-or-nothing at execution time.

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?

A single front-loaded sentence with no filler, but it is dense with unexplained jargon ('decodable steps', 'pending owner validation') that would benefit from a short clarifying clause.

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 5 required parameters, an output schema present, and only a readOnlyHint annotation, the description still conveys the key facts an agent needs: atomic batch semantics, manager version routing, and an owner validation step. Remaining gaps (failure behavior for a partially valid key set, relation to sibling TWAMM tools) are minor given the output schema.

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 80%, so the baseline is 3. The description adds the useful linkage that every entry in order_keys is collected and that orders_address refers to the Orders manager (current or legacy), but it does not clarify sender vs token_id semantics or the native-token zero-address convention, which must be read from the schema.

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 states a specific verb plus resource: 'Prepare collection of every selected order key' via the 'Orders manager'. An agent can tell this is a TWAMM proceeds-collection planner rather than an order create/stop tool. It stops short of naming a sibling such as prepare_twamm_order_stop to sharpen the boundary.

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?

The description gives no explicit when-to-use or when-not-to-use guidance and never names an alternative among the many prepare_twamm_* siblings. The phrase 'exact current or legacy Orders manager' implies the tool auto-resolves the right manager, but nothing tells the agent under what conditions to prefer this over prepare_twamm_order_stop or prepare_lp_position_earnings_claim.

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.