Skip to main content
Glama
Binance MCP Server

Binance MCP Server

by ethancod1ng

get_orderbook

Retrieve order book depth data for a Binance trading pair to analyze market liquidity and price levels, with an optional depth limit.

Instructions

获取订单簿深度数据

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": {
      "symbol": "<symbol>"
    },
    "name": "get_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo深度限制,默认100
symbolYes交易对符号,如 BTCUSDT

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.0
    • addedInput schema / properties / limit / enum
      Added value: +[
      +  5,
      +  10,
      +  20,
      +  50,
      +  100,
      +  500,
      +  1000,
      +  5000
      +]
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  2. 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 are provided, so the description carries the full behavioral burden, yet it says nothing about whether this is a read-only public endpoint, whether the result is a point-in-time snapshot or a live stream, or what the returned depth looks like. A single phrase of market-data terminology leaves the mutation/safety profile and response shape entirely undisclosed.

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?

It is a single front-loaded phrase with no filler or redundancy. However, the brevity is closer to under-specification than to disciplined conciseness for a tool that returns complex depth data.

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?

With no annotations and no output schema, the description is the only behavioral surface, and it omits the return structure (bids/asks arrays?), the meaning of the limit levels, and ordering. For a market-depth tool whose output shape is the whole point, this is a substantial gap.

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%, so symbol's format (BTCUSDT) and limit's default of 100 plus its enumerated allowed values are already fully documented in the schema. The description adds no extra meaning on top of that, which is the expected baseline when the schema does the work.

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 gives a clear verb+resource: 获取 (get) 订单簿深度数据 (orderbook depth data). It is instantly distinguishable from siblings like get_klines or get_24hr_ticker, but it never states how it differs from get_price or that it returns a market-depth snapshot rather than a single price.

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?

There is no when-to-use guidance at all: no mention of when to prefer this over get_price or get_klines, no prerequisite or rate-limit context, and no excluded scenarios. The agent must infer usage purely from the tool name.

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