Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

wsCreateOrder

Place a new order on Bybit V5 via WebSocket. Specify trading pair, side, quantity, and order type to execute trades directly on the unified account.

Instructions

Place a new order via WebSocket on Bybit V5 unified account.

IMPORTANT: This tool places/modifies real orders via WebSocket. Confirm symbol, side, quantity, and price with the user before calling. Response is an acknowledgment only; use subscribeOrder or REST endpoints to verify actual order status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mmpNoMarket maker protection flag. Valid for options only.
qtyYesOrder quantity (positive number as string).
sideYesOrder direction.
priceNoOrder price. Required for limit orders; ignored for market orders.
symbolYesTrading pair or contract name.
orderIvNoImplied volatility for option orders. e.g., "0.1" means 10%.
smpTypeNoSelf-match prevention execution type.
categoryYesProduct type.
stopLossNoStop-loss price.
tpslModeNoTP/SL mode. `Full`=entire position (market only), `Partial`=partial position (supports limit)
orderTypeYesOrder type.
triggerByNoPrice type used to trigger conditional orders.
isLeverageNoWhether to borrow (spot margin). `0`=spot trading, `1`=margin trading
marketUnitNoUnit for spot market order quantity. `baseCoin` or `quoteCoin`
reduceOnlyNoReduce-only flag. Valid for futures and options.
takeProfitNoTake-profit price.
orderFilterNoOrder type filter (spot only). `Order`=normal, `tpslOrder`=TP/SL, `StopOrder`=conditional
orderLinkIdNoUser-defined order ID. Required for options.
positionIdxNoPosition index for linear/inverse hedge mode. `0`=one-way, `1`=buy-side, `2`=sell-side
slOrderTypeNoOrder type for stop-loss.
slTriggerByNoPrice type to trigger stop-loss.
timeInForceNoTime-in-force. `GTC`=Good Till Cancel, `IOC`=Immediate or Cancel, `FOK`=Fill or Kill, `PostOnly`=maker-only
tpOrderTypeNoOrder type for take-profit.
tpTriggerByNoPrice type to trigger take-profit.
slLimitPriceNoLimit price when stop-loss is triggered (Partial mode).
tpLimitPriceNoLimit price when take-profit is triggered (Partial mode).
triggerPriceNoTrigger price for conditional or TP/SL orders.
closeOnTriggerNoClose-on-trigger flag. Valid for linear/inverse futures.
rpiTakerAccessNoWhether OpenAPI orders can take RPI orders.
triggerDirectionNoConditional order trigger direction. `1`=rise, `2`=fall
Behavior5/5

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

With no annotations, the description carries full burden. It clearly states the tool places/modifies real orders, that the response is just an acknowledgment, and directs users to verify order status via other means. No contradictions.

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 concise with two short paragraphs. The first states the core purpose, the second adds critical usage guidance. Every sentence is meaningful and front-loaded.

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?

Given 30 parameters and no output schema, the description adequately explains the acknowledgment nature and where to verify orders. It lacks details on error handling or return format, but covers essential context.

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 coverage is 100%, so baseline is 3. The description adds no additional meaning beyond the schema, except the note to confirm certain parameters. The parameter descriptions in schema are adequate.

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

Purpose4/5

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

The description clearly states it places new orders via WebSocket, using a specific verb and resource. It distinguishes from REST equivalents (createOrder) but does not explicitly differentiate from other WebSocket order tools like wsAmendOrder.

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 IMPORTANT note tells users to confirm symbol, side, quantity, and price before calling, and explains that the response is only an acknowledgment, advising to use subscribeOrder or REST endpoints for verification. It does not provide when-not-to-use or alternatives for amendments.

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