Skip to main content
Glama

Beggar Bot

aave_v3_tx_build

Build an unsigned Aave v3 supply/withdraw/repay/borrow tx with balance, Pool allowance (approval tx if needed), account health and fees. Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "aave_v3_tx_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNo0x...
assetNoUSDC|WETH|0x...
chainNobase
actionNosupply|withdraw|repay|borrow
amountNo10|max

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful traits: the transaction is unsigned, it comes bundled with balance, Pool allowance, account health, and fee data, and an approval transaction is included when required. It also discloses a real cost ($0.02 USDC via x402), which is essential operational context. It does not say what happens when health or balance checks fail, whether the build is read-only or state-changing, or what the response object contains.

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 sentences, front-loaded with purpose before the pricing note, and no filler wording. The enumeration of bundled outputs is slightly dense but every element is informative.

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 five-parameter builder with no output schema, the description covers what the call produces (tx plus balance, allowance, health, fees) and the payment gate, which is the critical operational fact. The notable gap is that with zero required parameters it never states which fields are actually necessary to build a valid supply/withdraw/repay/borrow transaction.

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 the inline descriptions already explain every parameter's format (0x..., USDC|WETH|0x..., base, supply|withdraw|repay|borrow, 10|max). The description adds no syntax or meaning beyond that, which is acceptable given the schema does the work. It also does not clarify the significant oddity that all five parameters are optional despite a build requiring most of them.

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 description names a specific verb ('Build') and a specific resource ('unsigned Aave v3 supply/withdraw/repay/borrow tx'), and the enumerated actions make the scope unambiguous. The 'aave_v3' prefix plus the action list clearly separates it from compound_v3_tx_build, sparklend_tx_build, and morpho_tx_build, though it never names a sibling explicitly.

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?

Usage is only implied: an agent infers it should call this when it wants an Aave v3 lending transaction built. There is no explicit when-to-use vs. when-not, no pointer to aave_health or aave_v3_markets for pre-checks, and no statement of prerequisites such as an existing position or funded wallet. The one useful cue, 'approval tx if needed', describes behavior rather than selection guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.