Skip to main content
Glama

Ekubo Protocol

Prepare an Aave V3 eMode change

prepare_aave_v3_emode
Read-only

Prepare setUserEMode with a caller-supplied current uint8 category ID; zero disables eMode. Discover live category configuration through Aave's public GraphQL API directly, because this server makes no data or RPC request.

Input Schema

NameRequiredDescriptionDefault
senderYesWallet whose eMode selection will change (address)
chain_idYesChain of a fixed Aave V3 core market returned by get_aave_v3_markets
category_idYesCurrent onchain Aave eMode category; zero disables eMode. Obtain nonzero category IDs from Aave's public GraphQL API, because this server does not query them.

Output Schema

NameRequiredDescriptionDefault
execution_plan_referenceNoartifact_reference; pass unchanged

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds the crucial operational fact that the server performs no data or RPC request, so category IDs are caller-supplied and unverified against live chain state. That explains why the tool is read-only despite preparing a state-changing user action. It does not describe what the prepared payload looks like, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight clauses with no filler, and the operative fact (caller supplies the category, server does no lookups) is front-loaded. The density makes it slightly hard to parse, but every phrase carries information.

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?

Annotations and a full-coverage schema plus an output schema cover most needs, and the description supplies the non-obvious constraint that live eMode configuration must be fetched elsewhere. What is missing is the downstream step: that the returned object is an unsigned transaction/calldata the caller must submit.

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 all three parameters are already documented in the schema, including the uint8 range, the zero-disables semantics, and the GraphQL sourcing of category IDs. The description restates the category_id constraints rather than adding meaning beyond them, so the baseline 3 applies.

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

Purpose5/5

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

Names the exact contract method (setUserEMode) and the resource it acts on, which unambiguously separates it from the many sibling prepare_aave_v3_* tools (supply, borrow, repay, collateral, withdraw). An agent can identify the operation without opening the schema.

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

Usage Guidelines4/5

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

Gives the key semantic rule (zero disables eMode) and tells the caller how to obtain nonzero category IDs, namely from Aave's public GraphQL API. It stops short of naming sibling alternatives (e.g. get_aave_v3_markets for chain selection) or stating that the result must be signed and broadcast by the caller.

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.