Skip to main content
Glama

aave_borrow_gho

Builds an Ethereum transaction to borrow (mint) GHO from Aave V3 against sufficient collateral. Specify sender and amount to generate unsigned calldata.

Instructions

Build transaction to borrow (mint) GHO stablecoin from AAVE V3 on Ethereum. GHO is minted when borrowed, not withdrawn from a pool. Requires sufficient collateral.

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_borrow_gho"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount of GHO to borrow (e.g. '10000')
senderYesAddress that will send the transaction
onBehalfOfNoAddress that incurs the debt (defaults to sender)

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?

No annotations are supplied, so the description carries the full behavioral burden. Saying 'Build transaction' usefully signals that it returns a transaction to sign rather than executing the borrow, and the collateral prerequisite is real context; however, nothing is said about interest accrual, health-factor impact, token approvals, or what the returned payload looks like.

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 short sentences, front-loaded with the action and immediately followed by the GHO-specific caveat and the collateral prerequisite. No filler, though the parenthetical '(mint)' slightly repeats what the second sentence already explains.

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 three-parameter transaction-building tool with full schema coverage and no output schema, the description covers purpose, the GHO-specific mechanic, and the collateral requirement. The remaining gap is what the built transaction looks like and whether approvals are needed first, which matters for actually invoking it correctly.

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

Parameters5/5

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

Schema description coverage is 100%: amount, sender, and onBehalfOf are each documented in the schema, including the default of onBehalfOf to sender. The description adds one genuinely non-obvious semantic, that GHO is minted rather than drawn from a pool, which explains why this borrow differs from the generic one.

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: 'Build transaction to borrow (mint) GHO stablecoin from AAVE V3 on Ethereum.' It also distinguishes GHO minting from ordinary pool borrowing ('GHO is minted when borrowed, not withdrawn from a pool'), so an agent can separate it from aave_borrow or aave_borrow_native 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a prerequisite ('Requires sufficient collateral') and implicitly scopes the tool to GHO-denominated debt, but it never names an alternative or states when not to use it — for example, when the user wants a non-GHO asset or a native-token borrow.

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