Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getSpotMarginTradeFlexibleAvailableInventory

Check how much of a cryptocurrency is still borrowable from the spot margin lending pool. For unified accounts only.

Instructions

Retrieve the flexible available inventory (remaining borrowable amount from the lending pool) for a specified cryptocurrency in spot margin trading.

  • Unified account only

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYes
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It accurately implies a read-only operation with 'Retrive' and adds the important account-type constraint 'Unified account only,' but it does not disclose authentication needs, error cases, currency format issues, or the exact shape of the returned value.

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 very concise, front-loaded with the primary action and resource, and the 'Unified account only' constraint is stated in a separate clear line. There is no redundant wording or filler.

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?

For a one-parameter read-only endpoint, the description conveys the core semantics and a key precondition. However, because there is no output schema and no annotation, it leaves out the return type and currency format, and it does not route the agent away from similiar crypto-loan or fixed-inventory tools.

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%, and the description only says 'for a specified cryptocurrency,' which largely restates the parameter name 'currency.' It does not provide the expected format, valid values, or examples, so the agent must guess whether to pass 'BTC', 'BTCUSDT', or another identifier.

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 identifies the action ('Retrieve'), the resource ('flexible available inventory'), and the scope ('spot margin trading'). It also clarifies what the inventory means with the parenthetical 'remaining borrowable amount from the lending pool,' but it does not explicitly distinguish itself from similiar sibling tools such as getCryptoLoanFlexibleAvailableInventory.

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 is given about when to prefer this tool over alternatives like getSpotMarginTradeMaxBorrowable or queryFixedAvailableInventory. The 'Unified account only' note is a useful constraint but not enough to help an agent choose among the many similiar inventory-query siblings.

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