Skip to main content
Glama

post_place

Place limit buy or sell orders on the Bithumb cryptocurrency exchange by specifying currency, quantity, price, and order type.

Instructions

Place a limit order (buy/sell) (Private)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderCurrencyYesCryptocurrency symbol (e.g. BTC, ETH)
unitsYesOrder quantity
priceYesOrder price
typeYesOrder type (bid or ask)

Implementation Reference

  • Core handler function implementing the logic to place a limit order by calling Bithumb's trade API endpoint.
    public async postPlace( orderCurrency: string, units: number, price: number, type: tradeType, ): Promise<IPostPlace> { const param = { order_currency: orderCurrency, units, price, type, }; const res = <IPostPlace>await this.requestTrade('place', param); return res; }
  • MCP server tool call handler that receives 'post_place' invocations and delegates to the ApiBithumb instance.
    case 'post_place': result = await this.bithumbApi.postPlace( args.orderCurrency as string, args.units as number, args.price as number, args.type as tradeType // Cast to expected type ); break;
  • src/index.ts:210-222 (registration)
    Tool registration in the MCP server's tools list, including name, description, and input schema.
    name: 'post_place', description: 'Place a limit order (buy/sell) (Private)', inputSchema: { type: 'object', properties: { orderCurrency: { type: 'string', description: 'Cryptocurrency symbol (e.g. BTC, ETH)' }, units: { type: 'number', description: 'Order quantity' }, price: { type: 'number', description: 'Order price' }, type: { type: 'string', enum: ['bid', 'ask'], description: 'Order type (bid or ask)' } }, required: ['orderCurrency', 'units', 'price', 'type'] } },
  • TypeScript interface defining the expected response structure for the postPlace API call.
    import { IBithumbResponse } from './bithumb-response.interface.js'; export interface IPostPlace extends IBithumbResponse { order_id: string; }

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