Skip to main content
Glama
0xReisearch

REI Crypto MCP Server

by 0xReisearch

get_first_price_record

Retrieve the earliest available price record for specified cryptocurrency tokens to establish historical baselines and analyze initial market entries.

Instructions

GET /coins/prices/first/{coins}

Get earliest timestamp price record for coins. Parameters: coins: comma-separated tokens in format {chain}:{address}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinsYes

Implementation Reference

  • The main handler function for the 'get_first_price_record' tool. It is decorated with @mcp.tool() for registration and implements the logic by making an HTTP GET request to the DefiLlama API endpoint '/coins/prices/first/{coins}' using the shared 'make_request' helper, then returns the result as a string.
    @mcp.tool() async def get_first_price_record(coins: str) -> str: """GET /coins/prices/first/{coins} Get earliest timestamp price record for coins. Parameters: coins: comma-separated tokens in format {chain}:{address} """ result = await make_request('GET', f'/coins/prices/first/{coins}') 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