Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

createFGridBot

Automates futures grid trading by placing grid orders within a specified price range. Set parameters including symbol, grid count, leverage, and initial investment to execute the strategy.

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
symbolYes
grid_modeYes
min_priceYes
max_priceYes
cell_numberYes
leverageYes
grid_typeYes
total_investmentYes
take_profit_perNo
stop_loss_perNo
entry_priceNo
sourceNo
followed_grid_idNo
toolsDiscoveryParameterNo
stop_loss_priceNo
take_profit_priceNo
tp_sl_typeNo
block_sourceNo
create_typeNo
init_bonusNo
business_remarkNo
trailing_stop_perNo
move_up_priceNo
move_down_priceNo
channelNo
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