Skip to main content
Glama
Bybit MCP Server

Bybit MCP Server

by trenerok

get_orderbook

Retrieve order book depth for a trading pair by category and symbol, with an optional limit for market analysis; no authentication required.

Instructions

Get order book depth for a trading pair. Public endpoint (no 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>"
    },
    "name": "get_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOrder book depth (1-500, default: 25)
symbolYesTrading pair symbol
categoryYesProduct category

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose a genuinely useful behavioral trait: this is a public endpoint with no auth required. Beyond that it says nothing about rate limits, response shape, or how depth relates to the limit parameter, so key behavioral context is missing for a tool with zero annotation coverage.

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?

Two short sentences with no wasted wording, and the core purpose is front-loaded before the auth note. Nothing extraneous is included.

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?

For a simple read-only market data tool with a fully documented schema and no output schema, the description covers purpose and auth adequately. The only real gap is that it doesn't hint at the return structure (bids/asks levels), which would help an agent interpret results.

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

Parameters4/5

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

Schema description coverage is 100%, with each parameter documented including the limit range and default and the enum for category, so the schema does the heavy lifting and a baseline of 3 applies. The description adds only the notion of 'depth' and trading pair framing, which is marginal but slightly reinforces the limit parameter's meaning.

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?

States a specific verb ('Get') and resource ('order book depth') scoped to a trading pair, which is unambiguous and clearly distinct from siblings like get_klines or get_tickers. It does not explicitly name or contrast an alternative, which keeps it just short of a 5.

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

Usage Guidelines3/5

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

The description implies when this is useful (fetching market depth for a pair) and adds that it is a public endpoint requiring no auth, which helps an agent decide it can call it without credentials. However, it gives no explicit when-to-use vs when-not guidance and does not point to any alternative tool for related market data.

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