Skip to main content
Glama
Bybit MCP Server

Bybit MCP Server

by trenerok

get_borrow_quota

Retrieve the available spot margin borrow quota for a trading pair and order side, so you can check borrowing capacity before placing a margin order.

Instructions

Get spot margin borrow quota. Auth required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "category": "<category>",
      "symbol": "<symbol>",
      "side": "<side>"
    },
    "name": "get_borrow_quota"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYesOrder side
symbolYesTrading pair symbol
categoryYesMust be "spot"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden, and it discloses only one trait: authentication is required. It does not confirm the operation is read-only, explain what a "quota" represents (maximum borrowable amount, per symbol and side, in what units), or mention rate limits, though the verb "Get" weakly implies a non-mutating call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with the resource stated first and the precondition second; nothing is wasted. The brevity borders on under-specification rather than verbosity, but there is no filler to cut.

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?

The tool is simple (three fully documented required parameters, no nesting), so the schema does most of the work. However, with no output schema, the description should have clarified what the returned quota value means and whether it is per-side or per-symbol, which it does not.

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

Parameters3/5

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

Schema description coverage is 100% with two enums, so the schema already documents side, symbol, and category fully. The description adds no meaning beyond the schema — for instance, that quota is computed per symbol and side combination — so the baseline 3 applies.

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 names a specific verb and resource ("Get spot margin borrow quota"), so an agent knows it retrieves a margin borrowing limit rather than history or balances. It does not, however, contrast itself with the nearby get_borrow_history or get_risk_limit siblings, leaving differentiation to inference from the name.

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?

"Auth required" is a prerequisite, not usage guidance. The description never says when this tool should be chosen over alternatives such as get_borrow_history or get_risk_limit, nor does it state any exclusions or preconditions beyond authentication.

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