Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getSpotMarginTradeFlexibleAvailableInventory

Read-only

Check the remaining borrowable amount in the spot margin lending pool for a specified cryptocurrency (unified account 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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.18

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful context by defining what 'flexible available inventory' means (remaining borrowable amount) and restricting use to unified accounts. It does not disclose output shape, pagination, or error behavior, which is acceptable given the read-only nature but leaves some behavioral details absent.

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 two short sentences with no filler. The core definition is front-loaded, and the account restriction is presented as a clear standalone note. Every sentence earns its place.

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 single-parameter read-only lookup, the description provides the core concept and an important account restriction. However, it lacks guidance on the expected format of the 'currency' parameter and does not describe the return value, which could leave an agent uncertain about how to pass the parameter and interpret the result.

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?

The schema has one required parameter, 'currency', with no description (0% schema coverage), so the description must compensate. It only says 'for a specified cryptocurrency', which essentially restates the parameter name without adding format, accepted values, or examples such as 'BTC' or a trading pair. This adds minimal semantic value for an agent trying to choose the correct 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 uses a specific verb ('Retrieve') and names the exact resource ('flexible available inventory' / remaining borrowable amount from the lending pool) for a specified cryptocurrency in spot margin trading. It is clear enough to be distinguished from similar inventory, borrowing, and crypto-loan tools, though it does not explicitly name any sibling alternative.

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

Usage Guidelines4/5

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

The description explicitly states 'Unified account only', giving a clear prerequisite and exclusion for when this tool should not be used. It does not explicitly compare with alternatives like getCryptoLoanFlexibleAvailableInventory or getSpotMarginTradeMaxBorrowable, but the context and account restriction provide practical usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools