mb_place_order
Place buy or sell orders on Mercado Bitcoin with market, limit, stop-limit, or post-only types. Includes a two-step preview-and-confirm flow for safety.
Instructions
Place a buy or sell order on Mercado Bitcoin. Supports market, limit, stoplimit and post-only orders.
IMPORTANT: This tool uses a two-step confirmation flow for safety.
First call with confirm=false (default) → returns a preview of the order
Show the preview to the user and ask for approval
If approved, call again with confirm=true → executes the order
For market buy orders, you can use 'cost' (value in BRL, e.g. 'buy R$500 of BTC') instead of 'qty'. The MCP will automatically calculate the quantity based on the current market price.
Order types:
market: executes immediately at best available price
limit: executes at limitPrice or better
stoplimit: triggers a limit order when stopPrice is reached
post-only: limit order that is rejected if it would execute immediately (maker only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | Quantity of base asset (e.g. 0.001 BTC) | |
| cost | No | Total cost in quote currency — only for market buy orders | |
| side | Yes | Order side | |
| type | Yes | Order type | |
| symbol | Yes | Trading pair, e.g. BTC-BRL | |
| confirm | No | Set true to execute after preview | |
| accountId | Yes | Account ID | |
| stopPrice | No | Stop trigger price — required for stoplimit | |
| externalId | No | Your custom order ID for tracking | |
| limitPrice | No | Limit price — required for limit, post-only, stoplimit |