Skip to main content
Glama

aave_get_flash_loan_enabled

Check whether flash loans are enabled for a specific reserve asset on a given chain to determine if flash-loan operations are supported.

Instructions

Check if flash loans are enabled for a specific asset on a chain

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

Input Schema

NameRequiredDescriptionDefault
assetYesReserve token address
chainYesChain to query (ethereum, polygon, arbitrum, optimism, base, avalanche)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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. It conveys that this is a non-mutating eligibility lookup, but says nothing about the response shape (a boolean flag), whether it errors or returns false for an unlisted reserve, or any rate/permission constraints. For an inherently safe read the gap is modest, but it is still undisclosed.

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?

A single front-loaded sentence with no redundant or filler wording; the scope qualifiers ('specific asset', 'on a chain') are exactly the ones that matter. Nothing could be removed without losing information.

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 two-parameter read-only check with no output schema and no annotations, the description covers the core intent but leaves the return semantics unstated — an agent cannot tell whether the answer is a boolean, a struct, or a revert for unsupported assets. Adequate but with a clear remaining gap.

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%: 'asset' documents the reserve token address with a 0x pattern, and 'chain' lists the six allowed values in its enum. The description only restates 'asset on a chain' and adds no format or constraint meaning beyond the schema, so the baseline 3 applies.

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 and object ('Check if flash loans are enabled') plus a clear scope ('for a specific asset on a chain'), so an agent can distinguish it from execution tools like aave_flash_loan or the sibling that returns the premium. It does not explicitly contrast itself with those siblings, which keeps it short of a 5.

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 can infer this is a pre-flight eligibility check used before aave_flash_loan, but the description never says when to call it, when not to, or what alternative to use instead. No prerequisites (e.g., asset must be a listed reserve) are stated.

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