Skip to main content
Glama

aave_withdraw_native

Build a transaction to withdraw and unwrap native tokens from AAVE V3; approve the gateway first and use "max" for full balance.

Instructions

Build transaction to withdraw and unwrap native token from AAVE V3. Note: sender must first approve the gateway to spend their aWETH/aWMATIC/aWAVAX. Use "max" for full balance.

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>",
      "amount": "<amount>",
      "to": "<to>"
    },
    "name": "aave_withdraw_native"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient of the native token
chainYesTarget chain
amountYesAmount in native token units (e.g. "1.5" for 1.5 ETH)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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' usefully signals that this constructs a transaction rather than executing one, and the approval prerequisite is disclosed, but it says nothing about signing/broadcast steps, gas, or what happens if the approval is missing.

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?

The action is front-loaded in the first clause, and two short follow-up sentences cover the prerequisite and the special value. No filler or restated structured data.

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?

All three required parameters are documented and the key prerequisite is called out. With no output schema, the description could do more to describe the returned transaction object and required follow-up, but it is otherwise adequate for a simple builder tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds genuine meaning beyond the schema: the 'max' magic value is not documented in the amount property and would otherwise be invisible or look like a schema violation. The listed aToken names also hint at the chain-to-token mapping behind the 'chain' enum.

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?

States a specific verb and resource: 'withdraw and unwrap native token from AAVE V3'. The 'unwrap native' qualifier implicitly separates it from the plain aave_withdraw sibling, though that sibling is never named, so the distinction must be inferred.

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 a real prerequisite (sender must approve the gateway to spend aWETH/aWMATIC/aWAVAX) and a special-value hint ('max' for full balance). However, it never states when to pick this over aave_withdraw, which is the closest alternative for an agent choosing between withdraw paths.

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