Skip to main content
Glama

post_order_detail

Retrieve detailed information about a specific cryptocurrency order on the Bithumb exchange using order ID and currency symbol.

Instructions

Get details of a specific member order (Private)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderIdYesOrder ID
orderCurrencyYesCryptocurrency symbol (e.g. BTC, ETH)

Implementation Reference

  • Core handler function in ApiBithumb class that executes the Bithumb API request for retrieving specific order details.
    public async postOrderDetail( orderId: string, orderCurrency: string, ): Promise<IPostOrderDetail> { const param = { order_id: orderId, order_currency: orderCurrency, }; const res = <IPostOrderDetail>await this.requestInfo('order_detail', param); return res; }
  • src/index.ts:184-194 (registration)
    Tool registration including name, description, and input schema in the MCP tools list.
    name: 'post_order_detail', description: 'Get details of a specific member order (Private)', inputSchema: { type: 'object', properties: { orderId: { type: 'string', description: 'Order ID' }, orderCurrency: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)' } }, required: ['orderId', 'orderCurrency'] } },
  • MCP tool dispatcher case that invokes the postOrderDetail method with parsed arguments.
    case 'post_order_detail': result = await this.bithumbApi.postOrderDetail(args.orderId as string, args.orderCurrency as string); break;
  • TypeScript interface defining the expected response structure for the order detail API.
    export interface IPostOrderDetail extends IBithumbResponse { data: IOrderDetail; }
  • Helper method requestInfo used by postOrderDetail to make authenticated POST request to Bithumb info endpoint.
    private async requestInfo( endpoint: postEndpointType, params: Record<string, unknown> = {}, ): Promise<IBithumbResponse> { const param = Object.assign(params, { payment_currency: this.paymentCurrency, }); const headers = this.getBithumbHeaders(`/info/${endpoint}`, param); const res = <AxiosResponse<IBithumbResponse>>await axios({ method: 'POST', url: `${this.hosts.infoHost}/${endpoint}`, data: queryString.stringify(param), headers, }); this.checkStatus(res); return res.data; }

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/zereight/bithumb-mcp'

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