Skip to main content
Glama

get_flash_loan_info

Obtain flash loan fees and details for a specified protocol and asset on any supported EVM network, helping you evaluate lending costs before executing.

Instructions

Get flash loan information and fees for a protocol

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetYesAsset address to flash loan
networkNoNetwork name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.bsc
protocolYesLending protocol name (e.g., 'Aave V3')
Behavior2/5

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

No annotations are present, so the description bears the full burden. It implies a read-only operation with 'Get' but does not confirm safety, response format, or any caveats such as network support or fee calculation specifics.

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?

The description is a single, concise sentence that is front-loaded with the main action and resource. There is no unnecessary content or verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Without an output schema or annotations, the description should explain what information is returned, but it only says 'flash loan information and fees.' It lacks details on return format, error conditions, or network dependencies, making it incomplete for a simple info tool.

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?

All three parameters (asset, network, protocol) are documented in the schema with descriptions, meeting the baseline. The description adds no additional semantic meaning beyond the schema, only reiterating the protocol context.

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 clearly states the tool retrieves flash loan information and fees for a protocol, using a specific verb and resource. It is distinct enough from siblings focused on lending rates, though it could be more explicit about distinguishing itself.

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 guidance is provided on when to use this tool versus alternatives like get_lending_rates or other lending-related tools. The description states only the function without situational context or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nirholas/universal-crypto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server