Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_fdv_performance

Retrieve performance charts for crypto narratives by category, weighted by market capitalization, across specified time periods.

Instructions

GET /fdv/performance/{period}

Get chart of narratives based on category performance (with individual coins weighted by mcap). Parameters: period: One of ['7', '30', 'ytd', '365']

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodYes

Implementation Reference

  • Handler function implementing the get_fdv_performance tool. Registered via @mcp.tool() decorator. Validates period input, fetches data from DefiLlama API /fdv/performance/{period}, and returns JSON string. Type hints provide input schema (period as Literal).
    @mcp.tool() async def get_fdv_performance(period: Literal['7', '30', 'ytd', '365']) -> str: """GET /fdv/performance/{period} Get chart of narratives based on category performance (with individual coins weighted by mcap). Parameters: period: One of ['7', '30', 'ytd', '365'] """ if period not in ['7', '30', 'ytd', '365']: raise ValueError("Period must be one of: '7', '30', 'ytd', '365'") result = await make_request('GET', f'/fdv/performance/{period}') return str(result)

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/0xReisearch/crypto-mcp-beta'

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