Skip to main content
Glama
PaulieB14

graph-lending-mcp

get_flashloans

Read-only

Get recent flashloan events and fee amounts for supported v3+ lending protocols across multiple networks.

Instructions

Recent flashloan events including fee amounts. Only available for v3+ schema protocols (e.g. aave-v3, compound-v3, spark-lend).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstNoNumber of events to return
networkNoNetwork filter. Use these exact values: MAINNET (Ethereum), MATIC (Polygon), ARBITRUM_ONE (Arbitrum), AVALANCHE, BASE, BSC (BNB Chain), OPTIMISM, FANTOM, GNOSIS, BLAST, SCROLL, NEAR, HARMONY, MOONBEAM, MOONRIVER, AURORA, LINEA, ZKSYNC_ERA. Omit to use the default (first) deployment.
protocolYesProtocol registry slug. Must be one of: aave-amm, aave-arc, aave-rwa, aave-v2, aave-v3, abracadabra, alpaca-finance-lending, banker-joe, bastion-protocol, benqi, burrow, compound-v2, compound-v3, cream-finance, dforce, euler-finance, geist-finance, goldfinch, inverse-finance, iron-bank, liquity, makerdao, maple-finance-v1, maple-finance-v2, moonwell, morpho-aave-v2, morpho-aave-v3, morpho-compound, notional-finance, pac-finance, qidao, radiant, rari-fuse, scream, seamless-protocol, seismic, sonne-finance, spark-lend, truefi, uwu-lend, venus, vesta-finance, zerolend
Behavior3/5

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

The annotation readOnlyHint=true already indicates a read operation. The description adds the constraint of v3+ protocols and mentions fee amounts, but does not disclose other behavioral traits like pagination, rate limits, or handling of empty results. The added context is moderate but not rich.

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 two concise sentences, front-loaded with the core purpose, followed by a critical constraint. Every word adds value with no redundancy.

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?

Given the tool has no output schema, the description adequately explains what the tool returns (flash loan events with fees) and the protocol constraint. It lacks detail on pagination or default behavior for 'first', but those are covered in schema. The description is sufficient for selection and basic invocation.

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%, meaning every parameter (first, network, protocol) already has a description in the input schema. The tool description does not add additional meaning about these parameters; it only describes the overall purpose. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns 'Recent flashloan events including fee amounts', which is a specific verb+resource combination. It distinguishes itself from sibling event tools like get_borrows or get_deposits by focusing on flash loans, and the constraint 'Only available for v3+ schema protocols' adds specificity.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool by specifying the v3+ protocol limitation, which implicitly guides the agent away from older protocols. However, it does not explicitly mention alternatives or when not to use it, though the sibling set makes the purpose distinct.

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/PaulieB14/graph-lending-mcp'

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