Skip to main content
Glama

Simulate Aave action

aave_simulate

Estimate Aave V3 health factor after supply, withdraw, borrow, or repay sequences without sending transactions, so you can check risk before recommending an action.

Instructions

What-if: estimate the health factor after a sequence of supply / withdraw / borrow / repay actions, without sending any transaction. Use before recommending an action to the user. Estimate ignores eMode and interest accrual; treat values close to 1 as unsafe.

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": {
      "address": "<address>",
      "actions": "<actions>"
    },
    "name": "aave_simulate"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoNetwork: ethereum, base, arbitrum, optimism, polygonbase
actionsYes
addressYesWallet address (0x…)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations to lean on, the description does real work: it discloses the read-only, transaction-free nature, plus two meaningful accuracy limits (ignores eMode and interest accrual). That said, it says nothing about the cost/latency of a simulation, failure modes for invalid action sequences (e.g., withdrawing more than supplied), or the shape of what comes back, which is a gap for an unannotated tool.

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 tight sentences, front-loaded with the what-if framing and followed by the usage call-to-action and caveats, in a sensible order. Every sentence carries information; nothing is padding, though the caveat clause is compressed enough that it could be misread as applying to all estimates.

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?

There is no output schema, so the description must carry return-value expectations: it names only 'the health factor' and gives one interpretation rule (values near 1 are unsafe), without saying whether a per-action breakdown or a single final figure is returned. Combined with the undocumented ordering semantics of the actions array, an agent has enough to call it but not enough to fully trust or present the result.

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 a middling 67%: chain, address, and amount carry descriptions, while the action enum array is self-documenting. The description adds no semantics beyond the schema - it never says whether order within 'actions' matters, that maxItems is 10, that amount is in token units, or that chain defaults to base, all of which drive correct invocation.

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?

States a specific verb and resource ('estimate the health factor') plus the exact action set it simulates (supply/withdraw/borrow/repay) and the key negative scope ('without sending any transaction'). That negative scope is what separates it from any execution-oriented sibling, so an agent can route here versus a write path 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 an explicit call condition: 'Use before recommending an action to the user' - a clear trigger for invocation tied to the recommendation workflow. It does not name an alternative tool or state when NOT to use it (e.g., for already-executed positions where aave_account applies), so it stops short of full when/when-not coverage.

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