Skip to main content
Glama

Ekubo Protocol

Prepare revenue buyback maintenance

prepare_revenue_buybacks
Read-only

Prepare the exact selected ended-order collections, protocol-fee withdrawals, and token rolls in interface order within one atomic batch of decodable steps.

Input Schema

NameRequiredDescriptionDefault
senderYesaddress
chain_idYesEVM chain ID
roll_tokensYes
protocol_fee_pairsYes
ended_order_collectsYes

Output Schema

NameRequiredDescriptionDefault
execution_plan_referenceNoartifact_reference; pass unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this builds rather than executes, and that matches the 'prepare ... decodable steps' framing, so there is no contradiction. The description does add real behavioral context: a single atomic batch, interface-ordered steps, and decodability. It still omits prerequisites (approvals, sender ownership of orders), what happens if one component fails, and any cross-chain/ordering constraints.

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; the operation kinds and the atomicity constraint are stated first. It is dense and jargon-heavy ('interface order', 'decodable steps', 'rolls'), but nothing in it is redundant.

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?

With an output schema present and readOnlyHint declared, the description need not explain return values or safety, and it correctly stays focused on composition. But for a 5-required-parameter mutation-preparation tool with 40% schema coverage and complex nested array inputs, it leaves chain/sender semantics, ordering rules, and preconditions 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 only 40%, and the schema descriptions themselves are bare ('address', 'decimal integer'), so the description carries weight here. It does implicitly map three required parameters (ended_order_collects, protocol_fee_pairs, roll_tokens) to the three operation kinds, but chain_id and sender are never mentioned, and it says nothing about whether the arrays are ordered, what 'interface order' means for element sequence, or fee/end_time formatting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb (prepare) and enumerates the three operation kinds composed into the batch (ended-order collections, protocol-fee withdrawals, token rolls), which is more informative than the name alone. However 'buybacks' from the name/title is never explained or connected to these operations, and nothing distinguishes it from close siblings such as prepare_twamm_order_collection or prepare_rewards_claim. An agent can guess the general domain but not the exact selection criteria.

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?

There is no when-to-use guidance, no when-not-to-use, and no alternative sibling is named. The phrase 'exact selected' implies the caller must have already chosen orders/tokens elsewhere, but which tool supplies those selections (e.g. get_stonx_allocation_recommendation or a position query) is left entirely to inference.

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.