Skip to main content
Glama

aave_borrow_native

Build a transaction to borrow native tokens from Aave V3 across supported chains by auto-unwrapping borrowed WETH; sender must first delegate credit to the gateway on the WETH variable debt token.

Instructions

Build transaction to borrow native token from AAVE V3. The WETH is borrowed and auto-unwrapped. Note: sender must first delegate credit to the gateway on the WETH variable debt token.

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>"
    },
    "name": "aave_borrow_native"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.8/5.0
Behavior4/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, and it does meaningful work: it discloses that the borrowed WETH is auto-unwrapped into the native token, and it discloses an authorization prerequisite on the WETH variable debt token. It does not mention health-factor requirements, whether debt is variable or stable, or whether the output is an unsigned transaction only, which is why it falls short of a 5.

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?

Three short sentences, each doing distinct work: purpose, the WETH unwrap behavior, then the prerequisite. The critical constraint is front-loaded and there is no filler.

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?

For a two-parameter transaction builder with no output schema, the definition covers purpose, the notable unwrap behavior, and the required prior delegation. The one remaining gap is that it never states the call only builds an unsigned transaction rather than submitting it, which matters for an agent sequencing approvals and signing.

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% for both parameters (chain with its enum, and amount with a native-unit example), so the schema already handles semantics. The description adds nothing parameter-specific beyond implying the amount is denominated in the native token. Baseline 3 applies when structured fields do the heavy lifting.

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?

The definition opens with a specific verb plus resource: 'Build transaction to borrow native token from AAVE V3.' It also clarifies the native-vs-WETH distinction via 'The WETH is borrowed and auto-unwrapped,' which separates it from the plain aave_borrow sibling in substance. It stops short of naming the ERC-20 alternative explicitly, so the differentiation is inferable rather than stated.

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?

It gives one concrete precondition: 'sender must first delegate credit to the gateway on the WETH variable debt token.' That is real when-to-use guidance. However, it never routes the agent to the sibling that performs that delegation (aave_approve_delegation), and it does not state when to prefer this over aave_borrow or aave_borrow_gho.

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