Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

createOrder

Place a new buy or sell order on Bybit for spot, linear, inverse, or option products. Supports market, limit, take-profit, stop-loss, and conditional orders.

Instructions

Place a new order on the Bybit exchange.

  • Spot: supports normal orders, TP/SL orders, and conditional (stop) orders via orderFilter

  • Linear/Inverse: supports one-way and hedge mode via positionIdx

  • Options: orderLinkId is required; implied volatility ordering via orderIv

Response is an acknowledgment only. Use WebSocket order stream to confirm actual order status.

Agent hint: Use this endpoint to place a new buy or sell order for spot, linear, inverse, or option products. TradFi: xStock tokens use category=spot (e.g. TSLAXUSDT); equity perpetuals and commodity perpetuals use category=linear (e.g. TSLAPUSDT, XAUUSDT, CLUSDT).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYes
symbolYes
isLeverageNo0
sideYes
orderTypeYes
qtyYes
marketUnitNo
slippageToleranceTypeNo
slippageToleranceNo
priceNo
triggerDirectionNo
orderFilterNoOrder
triggerPriceNo
triggerByNo
orderIvNo
timeInForceNoGTC
positionIdxNo
orderLinkIdNo
takeProfitNo
stopLossNo
tpTriggerByNo
slTriggerByNo
reduceOnlyNo
closeOnTriggerNo
smpTypeNo
mmpNo
tpslModeNo
tpLimitPriceNo
slLimitPriceNo
tpOrderTypeNo
slOrderTypeNo
bboSideTypeNo
bboLevelNo
rpiTakerAccessNo
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the response is an acknowledgment and advises using WebSocket for confirmation. It covers support for various order types and categories. However, it omits behavioral details like authentication requirements, rate limits, or potential side effects on positions.

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

Conciseness4/5

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

The description is well-structured with bullet points and breaks down by category. It front-loads the core purpose. Although it is moderately long due to the complexity of the tool, it remains efficient and avoids redundancy.

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

Completeness3/5

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

Given the tool's complexity (34 parameters, no output schema, no parameter descriptions in schema), the description addresses the main use cases and key parameters. However, it does not fully cover all parameter interactions or provide examples for all order types (e.g., conditional orders, TP/SL setups), leaving some gaps for an AI agent.

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

Parameters3/5

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

Schema description coverage is 0%. The description adds meaning for key parameters like orderFilter, positionIdx, orderLinkId, and orderIv, and explains category usage for TradFi tokens. However, many parameters (e.g., timeInForce, triggerPrice, takeProfit) remain unexplained, so the description only partially compensates for missing schema documentation.

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 clearly states 'Place a new order on the Bybit exchange' and elaborates on supported categories (spot, linear/inverse, options) and specific token examples. It effectively distinguishes from sibling tools like amendOrder, cancelOrder, etc., by focusing on order creation.

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?

The description provides clear guidance on when to use this tool ('to place a new buy or sell order for spot, linear, inverse, or option products') and includes TradFi examples. It lacks explicit exclusion criteria or alternative tools for specific scenarios, but the context is sufficient for most cases.

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/bybit-exchange/trading-mcp'

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