Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

depth

Retrieve order book data for cryptocurrency trading pairs to analyze market depth and liquidity for informed trading decisions.

Instructions

Get the order book for a symbol.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results. Default 500, max 1000.
symbolYesTrading symbol, e.g., BTCUSDT

Implementation Reference

  • src/index.ts:55-66 (registration)
    Registration of the 'depth' tool, including name, description, and input schema in the tools array.
    { name: 'depth', description: 'Get the order book for a symbol.', inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol, e.g., BTCUSDT' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1000.' }, }, required: ['symbol'], }, },
  • Input schema for the 'depth' tool defining parameters symbol (required) and optional limit.
    inputSchema: { type: 'object', properties: { symbol: { type: 'string', description: 'Trading symbol, e.g., BTCUSDT' }, limit: { type: 'number', description: 'Number of results. Default 500, max 1000.' }, }, required: ['symbol'], },
  • Handler implementation for 'depth' tool, which makes a GET request to Binance Futures API /fapi/v1/depth endpoint with provided arguments.
    case 'depth': return makeRequest('GET', '/fapi/v1/depth', args);

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