Skip to main content
Glama

Ekubo Protocol

Prepare an Aave V3 collateral toggle

prepare_aave_v3_collateral
Read-only

Prepare setUserUseReserveAsCollateral for a supported fixed reserve. Disabling collateral can reduce health factor or revert when open debt needs it, so exact wallet simulation is mandatory.

Input Schema

NameRequiredDescriptionDefault
assetYesExact underlying ERC-20 address from the selected market's fixed major-reserve list
senderYesWallet that will execute the Aave action (address)
chain_idYesChain of a fixed Aave V3 core market returned by get_aave_v3_markets
use_as_collateralYesTrue enables this supplied reserve as collateral; false disables it

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 already declare readOnlyHint=true, so the description's job is to add risk context, and it does: disabling collateral can lower health factor or revert when open debt depends on it, and simulation is required. It doesn't say what the preparation produces (a plan/simulation result versus signable calldata), though an output schema exists to cover that.

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?

Two sentences, no filler, and the action is front-loaded ahead of the risk caveat. Every clause carries information an agent needs before calling.

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?

For a four-parameter, fully documented tool with an output schema, the description covers purpose, risk, and a hard simulation prerequisite. Remaining gaps are minor: no explicit sibling routing and no mention of what the prepared artifact is used for next.

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%, so all four parameters are already documented, including the 'fixed major-reserve list' constraint on asset and the boolean semantics of use_as_collateral. The description adds no format, default, or edge-case meaning beyond the schema, 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?

The description names the exact contract method (setUserUseReserveAsCollateral) and the resource (a supported fixed reserve), which distinguishes it from sibling Aave prepare tools like prepare_aave_v3_supply or prepare_aave_v3_borrow. It stops short of explicitly contrasting those siblings, but the verb+resource pair is specific enough to route correctly.

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?

Use is implied: toggle collateral on a reserve from the fixed major-reserve list. The description adds a real precondition ('exact wallet simulation is mandatory') but never states when to choose this over the other prepare_aave_v3_* tools or when not to attempt it (e.g., reserve unsupported, no position).

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.