Skip to main content
Glama

aave_stake

Builds Ethereum transactions to stake AAVE in the Safety Module (stkAAVE) and includes token approval when required.

Instructions

Build transaction(s) to stake AAVE tokens in the Safety Module (stkAAVE). Includes approval if needed. Ethereum only.

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": {
      "sender": "<sender>",
      "amount": "<amount>"
    },
    "name": "aave_stake"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount of AAVE to stake in human-readable units
senderYesAddress that will send the transaction
onBehalfOfNoAddress to receive stkAAVE (defaults to sender)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose two meaningful traits: it builds transaction(s) rather than executing them, and it bundles an approval step when needed. It omits other behaviorally important facts such as required token balance/allowance, that stkAAVE is non-transferable and requires a cooldown to exit, and what the caller receives back (unsigned tx to sign).

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 short clauses, front-loaded with the action and resource, followed by the approval and network constraints. Nothing is padded, though a slightly more explicit statement of the transaction-building output would cost little.

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?

For a mutation tool with three parameters, no annotations, and no output schema, the description covers purpose, network, and the approval sub-step but leaves gaps around return value shape and the staking lifecycle (cooldown/non-transferability) that an agent needs to sequence calls correctly.

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 three parameters, including onBehalfOf and its default to sender, are already documented. The description adds no parameter-level 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.

Purpose5/5

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

States a specific verb and resource: 'stake AAVE tokens in the Safety Module (stkAAVE)', plus the network constraint 'Ethereum only'. This is clearly distinct from staking-adjacent siblings like aave_cooldown and aave_claim_staking_rewards without needing to name 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?

The 'Ethereum only' clause implies when this tool is applicable, but there is no explicit when-not guidance or pointer to alternatives (e.g., cooldown, claim rewards) for related staking actions.

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