Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_derivatives_overview

Retrieve summaries and volume data for all derivatives across blockchain networks, with options to filter chart data in the response.

Instructions

GET /api/overview/derivatives

Lists all derivatives along summaries of their volumes filtering by chain. Parameters: exclude_total_data_chart: true to exclude aggregated chart from response exclude_total_data_chart_breakdown: true to exclude broken down chart from response

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exclude_total_data_chartNo
exclude_total_data_chart_breakdownNo

Implementation Reference

  • The main handler function for the 'get_derivatives_overview' tool. It uses the @mcp.tool() decorator for registration and defines input parameters with defaults. It constructs API parameters and calls the shared make_request helper to fetch data from DefiLlama's /api/overview/derivatives endpoint, returning the JSON response as a string.
    @mcp.tool() async def get_derivatives_overview( exclude_total_data_chart: bool = False, exclude_total_data_chart_breakdown: bool = False ) -> str: """GET /api/overview/derivatives Lists all derivatives along summaries of their volumes filtering by chain. Parameters: exclude_total_data_chart: true to exclude aggregated chart from response exclude_total_data_chart_breakdown: true to exclude broken down chart from response """ params = { 'excludeTotalDataChart': str(exclude_total_data_chart).lower(), 'excludeTotalDataChartBreakdown': str(exclude_total_data_chart_breakdown).lower() } result = await make_request('GET', '/api/overview/derivatives', params) return str(result)
  • Input schema defined by function parameters: exclude_total_data_chart (bool, default False), exclude_total_data_chart_breakdown (bool, default False). Output is str (API response). Docstring provides further description.
    async def get_derivatives_overview( exclude_total_data_chart: bool = False, exclude_total_data_chart_breakdown: bool = False ) -> str:
  • The @mcp.tool() decorator registers this function as an MCP tool named 'get_derivatives_overview' (inferred from function name).
    @mcp.tool()

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