Skip to main content
Glama
RodrigoFlorencio86

mcp-mercado-bitcoin

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.

  1. First call with confirm=false (default) → returns a preview of the order

  2. Show the preview to the user and ask for approval

  3. 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

TableJSON Schema
NameRequiredDescriptionDefault
qtyNoQuantity of base asset (e.g. 0.001 BTC)
costNoTotal cost in quote currency — only for market buy orders
sideYesOrder side
typeYesOrder type
symbolYesTrading pair, e.g. BTC-BRL
confirmNoSet true to execute after preview
accountIdYesAccount ID
stopPriceNoStop trigger price — required for stoplimit
externalIdNoYour custom order ID for tracking
limitPriceNoLimit price — required for limit, post-only, stoplimit
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the critical safety behavior: the two-step confirm flow (confirm=false returns preview, confirm=true executes). It also explains that cost auto-calculates quantity. While it doesn't cover permissions or error handling, it provides key behavioral context beyond a simple 'place order' statement.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-organized with sections for confirmation flow, cost usage, and order type definitions. Every sentence provides value, and the structure makes complex information scannable. The length is appropriate for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 10 parameters and four order types, the description covers the essential usage patterns and safety flow. It lacks details on preview output format and whether confirm=true must reuse the exact same parameters, but these are minor given schema descriptions of conditional requirements and the clear step-by-step confirmation instructions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds substantial meaning beyond schema definitions: explains 'cost' vs 'qty' trade-off, defines order types and which parameters are relevant (e.g., 'stoplimit triggers a limit order when stopPrice is reached'). This significantly enhances parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the specific action: 'Place a buy or sell order on Mercado Bitcoin' and lists supported order types (market, limit, stoplimit, post-only). This clearly distinguishes it from sibling tools like mb_cancel_order or mb_get_order.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance on the two-step confirmation flow and explains when to use 'cost' instead of 'qty' for market buy orders. Also defines each order type with usage semantics. However, it does not explicitly mention when not to use this tool or direct users to alternative tools, but the context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/RodrigoFlorencio86/mcp-mercado-bitcoin'

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