Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_derivatives_overview

Retrieve summaries and volumes of all derivatives filtered by blockchain chain; customize response by excluding aggregated or breakdown charts for concise data analysis.

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 handler function implementing the get_derivatives_overview tool. It constructs parameters from inputs and makes an async HTTP GET request to the DefiLlama API endpoint '/api/overview/derivatives', returning the JSON response as a string.
    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)
  • The @mcp.tool() decorator registers the get_derivatives_overview function as an MCP tool, using the function signature and docstring for input/output schema.
    @mcp.tool()
  • Docstring providing the tool description, API endpoint details, and parameter descriptions used by FastMCP to generate the tool schema.
    """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 """

Other Tools

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

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