Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

createSpreadOrder

Place a spread trading order by specifying symbol, side, and quantity. Choose between limit or market order, with optional custom identifier and time-in-force controls.

Instructions

Create a new spread trading order.

Usage Scenarios:

  • Open a new spread position by placing a limit or market order on a spread combination symbol.

  • Use orderLinkId to assign a custom identifier for tracking purposes.

  • Use timeInForce to control execution behavior (e.g., PostOnly for maker-only fills).

Important:

  • The response is an acknowledgement only. The order may still be rejected asynchronously. Monitor the WebSocket stream for final order status.

  • A maximum of 50 open orders is permitted per account.

  • For limit orders, the price parameter is required.

Agent hint: POST endpoint requiring authentication. The symbol must be a valid spread combination symbol (e.g., "SOLUSDT_SOL/USDT"). Price is required for Limit orders. The response is asynchronous; subscribe to the WebSocket for definitive status updates. Max 50 open orders per account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
sideYes
orderTypeYes
qtyYes
priceNo
orderLinkIdNo
timeInForceNo
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 acknowledgement only, orders may be rejected asynchronously, and max 50 open orders per account. It also mentions authentication and symbol constraints. This is valuable behavioral context beyond a simple 'create order'.

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-structured with sections for usage scenarios, important notes, and agent hint. Every sentence adds value, no redundancy. Concise yet informative.

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 no output schema, the description mentions async acknowledgement but not response format. It covers some parameters and behavioral constraints but omits details on error handling or success confirmation. Adequate but could be more complete.

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%, so the description must add meaning. It explains orderLinkId, timeInForce, and price (for limit orders), but does not describe side, orderType, or qty. Partial coverage adds some value but leaves gaps.

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 'Create a new spread trading order,' which is a specific verb and resource. It distinguishes from siblings like 'amendSpreadOrder' and 'cancelSpreadOrder' by focusing on creation. The usage scenarios further clarify the purpose.

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 includes explicit usage scenarios (opening new spread position, using orderLinkId, timeInForce) and important notes (async response, max 50 orders, price required for limit orders). It provides good context but does not explicitly compare to alternatives or state when not to use.

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