get_emission_data
Retrieve emission data for crypto protocols to analyze token distribution and supply metrics using the REI Crypto MCP Server.
Instructions
GET /api/emission/{protocol}
Unlocks data for a given token/protocol.
Parameters:
protocol: protocol slug (e.g., 'aave')
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes |
Implementation Reference
- defillama_server.py:257-267 (handler)The handler function for the 'get_emission_data' tool. It is decorated with @mcp.tool() for registration and fetches emission data for the given protocol from the DefiLlama API using the shared make_request helper.@mcp.tool() async def get_emission_data(protocol: str) -> str: """GET /api/emission/{protocol} Unlocks data for a given token/protocol. Parameters: protocol: protocol slug (e.g., 'aave') """ result = await make_request('GET', f'/api/emission/{protocol}') return str(result)