Skip to main content
Glama

aave_set_emode

Builds a transaction to set your Aave V3 efficiency mode category for correlated assets; pass 0 to disable eMode and access higher LTV borrowing.

Instructions

Build transaction to set the user's efficiency mode category. Use 0 to disable eMode. Higher LTV for correlated assets.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chain": "<chain>",
      "categoryId": "<categoryId>"
    },
    "name": "aave_set_emode"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesTarget chain
categoryIdYeseMode category ID (0 = disabled)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Build transaction' is the one genuinely valuable disclosure — it tells the agent this returns an unsigned transaction rather than mutating state — but nothing is said about signing/submission, approvals, revert conditions, or whether the change is immediately effective.

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 compact sentences, front-loaded with the action, no filler. The final sentence is telegraphic ('Higher LTV for correlated assets') and could be slightly clearer, but nothing is wasted.

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 only two fully documented parameters and no output schema, the missing piece is the lifecycle: what the returned transaction is and that the caller must sign and broadcast it. Without annotations, a brief note on prerequisites and outcome would make this complete.

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 baseline is 3. The description's '0 to disable eMode' largely restates the schema's own '0 = disabled', and 'Higher LTV for correlated assets' explains the concept behind categoryId but not how to choose or discover a valid ID (aave_get_emode_category exists for that).

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?

Specific verb+resource ('set the user's efficiency mode category') with an important framing verb ('Build transaction') that signals this constructs rather than executes. The set/get split against aave_get_emode_category and aave_get_user_emode is inferable from naming, but the description never explicitly contrasts them.

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?

Provides one concrete usage rule ('Use 0 to disable eMode') and a rationale ('Higher LTV for correlated assets'), which implies when a user would want a nonzero category. It does not state prerequisites (existing collateral, a valid nonempty category, health-factor effects) or when to prefer the read-only emode tools first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.