Skip to main content
Glama
PaulieB14

graph-lending-mcp

get_borrows

Read-only

Fetch recent borrow events from 40+ lending protocols, filterable by market, account, network, and protocol.

Instructions

Recent borrow events. Optionally filter by market ID and/or account address.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstNoNumber of events to return
accountNoAccount address to filter by (0x...)
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
market_idNoMarket contract address to filter by (0x...). Get from get_markets.
Behavior2/5

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

The description adds only the adjective 'recent' beyond the annotations' readOnlyHint. It does not disclose data freshness, pagination, rate limits, or any behavioral traits. Annotations already provide readOnlyHint, so the description adds minimal value.

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?

The description is a single, clear sentence with no wasted words. It could benefit from slightly more structure (e.g., stating the output), but it is appropriately concise for a simple tool.

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?

With 5 parameters (including enums for protocol and network) and no output schema, the description is too brief. It does not explain what 'recent' means, how to interpret events, or provide any guidance on using the optional parameters effectively. This leaves significant gaps for an AI agent.

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 schema already documents all parameters. The description mentions filtering by market ID and account, which matches the schema but adds no new meaning beyond what the schema provides. 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 borrow events' and specifies optional filters by market ID and account address. This directly distinguishes it from sibling tools like get_deposits, get_liquidations, etc.

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?

The description implies usage for retrieving borrow events with optional filters, but does not explicitly state when to use this tool versus alternatives, nor provide any when-not guidance. The context of sibling tool names partially implies differentiation.

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