Skip to main content
Glama
questflowai

Aster Finance MCP Server

by questflowai

queryOrder

Check cryptocurrency order status on Aster Finance Futures API using symbol and optional order identifiers to monitor trading positions.

Instructions

Check an order's status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderIdNo
origClientOrderIdNo
symbolYes

Implementation Reference

  • Handler for the 'queryOrder' tool. Makes a signed GET request to '/fapi/v1/order' endpoint on Aster futures API to query an order's status.
    case 'queryOrder': return makeRequest('GET', '/fapi/v1/order', args, true);
  • Input schema definition for 'queryOrder' tool: requires 'symbol', optional 'orderId' or 'origClientOrderId'.
    inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, orderId: { type: 'number' }, origClientOrderId: { type: 'string' }, }, required: ['symbol'], },
  • src/index.ts:296-308 (registration)
    Registration of the 'queryOrder' tool in the MCP server's listTools response, including name, description, and input schema.
    { name: 'queryOrder', description: "Check an order's status.", inputSchema: { type: 'object', properties: { symbol: { type: 'string' }, orderId: { type: 'number' }, origClientOrderId: { type: 'string' }, }, required: ['symbol'], }, },

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