Skip to main content
Glama

Bybit MCP Server

validate_order_quantity

Ensures order quantity complies with Bybit trading rules by validating and formatting input based on category, symbol, and target amount. Fetches current price if not provided to ensure accuracy.

Instructions

Validate order quantity against Bybit trading rules and get properly formatted quantity

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory (spot, linear, inverse, etc.)
currentPriceNoCurrent price (optional, will fetch if not provided)
symbolYesSymbol (e.g., BTCUSDT)
targetAmountYesTarget amount in quote currency (e.g., 80 for $80 worth)

Input Schema (JSON Schema)

{ "properties": { "category": { "description": "Category (spot, linear, inverse, etc.)", "type": "string" }, "currentPrice": { "description": "Current price (optional, will fetch if not provided)", "type": "number" }, "symbol": { "description": "Symbol (e.g., BTCUSDT)", "type": "string" }, "targetAmount": { "description": "Target amount in quote currency (e.g., 80 for $80 worth)", "type": "number" } }, "required": [ "category", "symbol", "targetAmount" ], "type": "object" }

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/kondisettyravi/mcp-bybit-node'

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