Skip to main content
Glama

Ekubo Protocol

Prepare an Aave V3 withdrawal

prepare_aave_v3_withdraw
Read-only

Prepare a direct Aave V3 Pool withdrawal for a supported fixed reserve. Pass uint256 maximum as amount to request the available aToken balance. The wallet establishes balance, health-factor, collateral, and liquidity validity by exact simulation.

Input Schema

NameRequiredDescriptionDefault
assetYesExact underlying ERC-20 address from the selected market's fixed major-reserve list
amountYesPositive underlying-token amount in base units; uint256 maximum requests all available balance (positive decimal integer)
senderYesWallet that will execute the Aave action (address)
chain_idYesChain of a fixed Aave V3 core market returned by get_aave_v3_markets
recipientNoUnderlying-token recipient; defaults to sender (address)

Output Schema

NameRequiredDescriptionDefault
execution_plan_referenceNoartifact_reference; pass unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, and the description adds genuine behavioral context beyond that: the action is validated by 'exact simulation' against balance, health-factor, collateral, and liquidity, so the agent knows the transaction can be rejected pre-flight. The 'direct Pool' framing also hints at the execution path. Remaining gaps (e.g., whether a failed simulation returns an error or a plan) are modest given the output schema.

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?

Three short sentences, front-loaded on what the tool does, then the sentinel value, then the validation model. No filler; the only near-redundancy is the max-amount sentence, which repeats the schema but earns its place as a call-time reminder.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a prepare-style tool with a true readOnlyHint and a full output schema, the description covers the essentials: reserve restriction, the max-balance sentinel, and the simulation-based validity checks. Nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the schema already documents asset, amount, sender, chain_id, and recipient. The description's uint256-maximum sentinel meaningfully restates the 'amount' semantics but adds nothing the schema does not already say, so 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 ('Prepare a direct Aave V3 Pool withdrawal') plus scope ('for a supported fixed reserve'), which separates it from prepare_aave_v3_supply/borrow/repay by resource alone. It stops short of naming any sibling or contrasting 'direct Pool' with alternative withdrawal routes, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

Usage is implied: you call it when you want to exit an Aave V3 position on a fixed reserve, and the 'supported fixed reserve' phrase flags a prerequisite. There is no explicit when-not guidance, no pointer to get_aave_v3_markets or the market-selection flow, and no mention of how this relates to other prepare_* exit paths.

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.