Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

wsCreateOrder

Place a new order on Bybit via WebSocket for spot, linear, inverse, and option markets. Requires user confirmation of symbol, side, quantity, and price. Check order status separately.

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