Skip to main content
Glama
kydlikebtc

binance-mcp-server

by kydlikebtc

binance_spot_orderbook

Retrieve real-time spot order book depth for any Binance trading pair to analyze market liquidity, identify support and resistance levels, and optimize limit order placement.

Instructions

【现货订单簿】获取现货市场的买卖盘深度信息

📋 功能说明

  • 查询指定交易对的实时订单簿深度

  • 显示买盘和卖盘的价格与数量分布

  • 分析市场流动性和支撑阻力位

  • 用于精确的交易时机判断

⚠️ 重要提醒

  • 订单簿数据实时变化,瞬息万变

  • 大单可能不在订单簿中显示(冰山订单)

  • 数据仅供参考,实际成交以市场为准

🎯 适用场景

  • 分析市场流动性和深度

  • 寻找支撑位和阻力位

  • 优化限价单下单价格

  • 评估大额交易的市场冲击

📊 输出示例 查询成功后将返回:

📊 现货订单簿查询结果

📈 市场概况
交易对:BTCUSDT (BTC/USDT现货)
更新时间:2022-01-01 10:30:25
深度级别:10档 买卖盘

🔴 卖盘深度 (压力位)
卖5   45,350.50  →  0.125 BTC  (5,668.81 USDT)
卖4   45,325.25  →  0.250 BTC  (11,331.31 USDT)  
卖3   45,300.00  →  0.500 BTC  (22,650.00 USDT)
卖2   45,275.75  →  0.875 BTC  (39,616.28 USDT)
卖1   45,251.50  →  1.250 BTC  (56,564.38 USDT)

───── 中间价: 45,250.00 USDT ─────

🟢 买盘深度 (支撑位)
买1   45,248.50  →  1.125 BTC  (50,904.56 USDT)
买2   45,225.25  →  0.750 BTC  (33,918.94 USDT)
买3   45,200.00  →  0.625 BTC  (28,250.00 USDT)
买4   45,175.75  →  0.375 BTC  (16,940.91 USDT)
买5   45,150.50  →  0.200 BTC  (9,030.10 USDT)

📊 流动性分析
买盘总量:3.075 BTC (139,044.51 USDT)
卖盘总量:2.000 BTC (90,830.78 USDT)
买卖比例:60.6% : 39.4%
市场偏向:买盘较强,支撑充足

💡 交易建议
当前买盘深度较好,适合适量卖出。
45,200-45,250区间有较强支撑。
如需大额交易建议分批进行,避免冲击市场。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo返回的买盘和卖盘档位数量。可选值:5, 10, 20, 50, 100, 500, 1000, 5000。默认100。数值越大响应越慢但信息越完整。
symbolYes必填。要查询的现货交易对,如"BTCUSDT"。
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses important behavioral traits: the order book changes rapidly ('订单簿数据实时变化,瞬息万变'), hidden iceberg orders may not appear ('大单可能不在订单簿中显示'), and data is for reference only. The output example also gives a sense of the response format. However, it does not mention rate limits, authentication requirements, or whether the output is JSON vs a formatted string.

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

Conciseness3/5

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

The description is well-structured with clear section headers (功能说明, 重要提醒, 适用场景, 输出示例) and uses emojis for readability. However, the output example is excessively long and takes up a large portion of the text, making it less concise. Every section earns its place, but the example could be trimmed to essential information.

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?

Given there is no output schema and no annotations, the description compensates well by providing purpose, usage scenarios, warnings, and a detailed output example. It covers the essential aspects of the tool for an agent to select and invoke it correctly. The main gap is the lack of explicit return type (JSON vs formatted text) and any error handling notes, but overall it is reasonably complete for a simple market data tool.

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 both 'symbol' and 'limit' already well-described in the input schema. The description itself does not add extra parameter semantics beyond the schema; for example, the output example shows '深度级别:10档' but that's just an illustrative value. The default value and enum are already in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: '获取现货市场的买卖盘深度信息' (get spot market bid/ask depth information). It explicitly mentions displaying bid and ask price/quantity distribution and analyzing liquidity, which distinguishes it from sibling tools like price checkers or klines.

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 provides specific applicable scenarios (analyzing market depth, finding support/resistance, optimizing limit orders, assessing market impact), giving clear context for when to use the tool. However, it does not explicitly mention alternatives or when not to use it, such as comparing with futures orderbook or using klines for historical analysis.

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/kydlikebtc/binance-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server