Skip to main content
Glama
clumsynonono

Aave Liquidation MCP Server

by clumsynonono

get_protocol_status

Check Aave V3 protocol status and current block number to monitor network activity and assess liquidation conditions.

Instructions

Get general Aave V3 protocol status including current block number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main execution handler for the 'get_protocol_status' tool. It calls aaveClient.getBlockNumber() and formats a JSON response with protocol details including the current block number.
    case 'get_protocol_status': { const blockNumber = await aaveClient.getBlockNumber(); return { content: [ { type: 'text', text: JSON.stringify( { protocol: 'Aave V3', network: 'Ethereum Mainnet', blockNumber, poolAddress: '0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2', status: 'operational', }, null, 2 ), }, ], }; }
  • Input/output schema definition for the tool, specifying no required parameters.
    name: 'get_protocol_status', description: 'Get general Aave V3 protocol status including current block number.', inputSchema: { type: 'object', properties: {}, }, },
  • Supporting method in AaveClient class that retrieves the current Ethereum block number via the ethers provider.
    async getBlockNumber(): Promise<number> { return await this.provider.getBlockNumber(); }

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/clumsynonono/aave-liquidation-mcp'

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