Skip to main content
Glama

aave_get_borrow_allowance

Check how much a delegatee can borrow on behalf of a delegator by querying Aave credit delegation allowance for a variable debt token on a specified chain.

Instructions

Check the credit delegation allowance: how much a delegatee is allowed to borrow on behalf of a delegator

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>",
      "variableDebtToken": "<variableDebtToken>",
      "delegator": "<delegator>",
      "delegatee": "<delegatee>"
    },
    "name": "aave_get_borrow_allowance"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesChain to query (ethereum, polygon, arbitrum, optimism, base, avalanche)
delegateeYesAddress that received the delegation
delegatorYesAddress that granted the delegation
variableDebtTokenYesVariable debt token address (get via aave_get_reserve_token_addresses)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 burden; 'Check' signals a read-only operation, which is the main safety signal an agent needs. It does not disclose the response shape (raw allowance amount vs. decimal-adjusted), nor what is returned when no delegation exists, which are the remaining behavioral gaps.

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?

A single front-loaded sentence with no filler: the resource is stated first and the delegator/delegatee semantics follow immediately. Nothing extraneous, though it is too terse to cover usage or return behavior.

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 four-required-parameter read tool with full schema coverage and no output schema, the core concept is covered. Missing are the allowance units/format and behavior when no delegation is set, which an agent would want before presenting a result.

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 coverage is 100%, so all four parameters are already documented in the schema, including the hint to obtain variableDebtToken via aave_get_reserve_token_addresses. The description adds conceptual meaning to the delegator/delegatee pair but no format or unit details beyond the schema.

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 ('Check') and resource (credit delegation allowance) and disambiguates the direction of the relationship: a delegatee borrowing on behalf of a delegator. It does not distinguish itself from the near-sibling aave_get_delegation_info, so the agent cannot fully rule out overlap from the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no named alternatives, despite a plausibly overlapping sibling (aave_get_delegation_info) in the catalog. The read-only query intent is only implied by 'Check'.

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