Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getSpreadMaxQty

Retrieve the available balance in the spread wallet for a specific symbol and side, returning the maximum order quantity.

Instructions

Query the spread wallet available balance for a given symbol and side.

Notes:

  • This endpoint requires authentication.

  • The returned available balance (ab) is truncated to 8 decimal places (not rounded).

  • Maps internally to /siteapi/unified/private/spread-walletbalance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
sideYes
orderPriceYes
Behavior3/5

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

With no annotations, the description adds some behavioral context: requires authentication, truncates to 8 decimal places, internal API mapping. However, it does not disclose rate limits, read-only nature, or response structure.

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?

Extremely concise: two sentences plus two bullet points. Purpose is front-loaded. No redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, no annotations, and 3 params with 0% coverage, the description lacks completeness. It does not explain the return value beyond a truncated balance field, nor the role of orderPrice.

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 coverage is 0%, yet the description only loosely explains 'symbol' and 'side' (from the main sentence). The 'orderPrice' parameter is not mentioned at all, leaving its purpose unclear.

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 the tool queries the spread wallet available balance for a given symbol and side. It is specific enough but does not differentiate from siblings like getWalletBalance or getSpreadInstrumentsInfo.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. Despite many sibling tools, there is no mention of context or exclusions.

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