Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

createFGridBot

Creates a futures grid trading bot that automatically places grid orders within a specified price range. Set parameters like symbol, leverage, and investment, with optional TP/SL and trailing stop.

Instructions

Creates a single futures grid trading bot. The bot will automatically place grid orders within the specified price range.

Required parameters include symbol, grid_mode, price range, grid count, leverage, grid type, and initial investment. Optional parameters include TP/SL settings, entry price trigger, and trailing stop.

Before calling this endpoint, use /v5/fgridbot/validate to validate parameter ranges. The response check_code indicates specific validation errors if the creation fails.

Rate limit: 10 requests per second per UID. Subject to compliance wall and KYC verification.

Agent hint: Always call validateFGridInput first to verify parameters are in range. If status_code is non-zero, check the check_code for the specific error. The bot_id in a successful response is needed for subsequent operations like getFGridDetail or closeFGridBot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNo
symbolYes
channelNo
leverageYes
grid_modeYes
grid_typeYes
max_priceYes
min_priceYes
init_bonusNo
tp_sl_typeNo
cell_numberYes
create_typeNo
entry_priceNo
block_sourceNo
move_up_priceNo
stop_loss_perNo
business_remarkNo
move_down_priceNo
stop_loss_priceNo
take_profit_perNo
followed_grid_idNo
total_investmentYes
take_profit_priceNo
trailing_stop_perNo
toolsDiscoveryParameterNo
Behavior5/5

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

Despite no annotations, the description covers key behavioral aspects: the bot will automatically place orders, validation is required, rate limits apply, and error handling via status_code and check_code is explained. It also implies financial impact by noting KYC/compliance and the need for a bot_id for subsequent operations.

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 front-loaded with the primary action, followed by a clear enumeration of required/optional parameters, preconditions, rate limits, and an agent hint. No redundant sentences; every part adds value.

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 high complexity (25 params, 0% schema coverage, no output schema), the description covers purpose, usage guidelines, error handling, and follow-up actions. However, it lacks explanations for parameter enums and nested structures, leaving some ambiguity for agents.

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

Parameters2/5

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

Schema description coverage is 0%. While the description lists required and optional parameters by name, it does not explain the meaning or allowed values of enums (e.g., grid_mode, grid_type, tp_sl_type) or provide context for nested objects like toolsDiscoveryParameter. With 25 parameters, this insufficiently aids the agent in selecting correct values.

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 the tool's core function: 'Creates a single futures grid trading bot.' It specifies the automation of grid orders within a price range and distinguishes itself from sibling tools like validateFGridInput (validation), closeFGridBot (closing), and getFGridDetail (inspection).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit guidance: 'Before calling this endpoint, use /v5/fgridbot/validate to validate parameter ranges.' It also mentions rate limits (10 req/s per UID), compliance/KYC requirements, and an agent hint to always call validateFGridInput first. This clearly tells the agent when and how to use the tool.

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