Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

fundingRate

Retrieve historical funding rate data for cryptocurrency futures trading on Aster Finance to analyze market trends and inform trading strategies.

Instructions

Get funding rate history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endTimeNoEnd time in ms
limitNoNumber of results. Default 100, max 1000.
startTimeNoStart time in ms
symbolNoTrading symbol

Implementation Reference

  • The handler logic for the 'fundingRate' tool within the CallToolRequestSchema switch statement. It calls the shared makeRequest function with GET method to the '/fapi/v1/fundingRate' endpoint, passing the tool arguments.
    case 'fundingRate': return makeRequest('GET', '/fapi/v1/fundingRate', args);
  • Input schema definition for the 'fundingRate' tool, specifying the expected parameters and their types/descriptions.
    inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol' }, startTime: { type: 'number', description: 'Start time in ms' }, endTime: { type: 'number', description: 'End time in ms' }, limit: { type: 'number', description: 'Number of results. Default 100, max 1000.' }, }, },
  • src/index.ts:162-174 (registration)
    Registration of the 'fundingRate' tool in the ListToolsRequestSchema response's tools array, including name, description, and input schema.
    { name: 'fundingRate', description: 'Get funding rate history.', inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol' }, startTime: { type: 'number', description: 'Start time in ms' }, endTime: { type: 'number', description: 'End time in ms' }, limit: { type: 'number', description: 'Number of results. Default 100, max 1000.' }, }, }, },

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/questflowai/aster-mcp-server'

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