Skip to main content
Glama
kydlikebtc

binance-mcp-server

by kydlikebtc

binance_spot_balances

Retrieve spot account balances with available, frozen, and total amounts per coin. Filter zero balances to present a clear asset distribution for portfolio analysis and pre-trade checks.

Instructions

💰 现货余额查询 - 资产分布详细统计

🔍 功能说明: 查询现货账户中所有币种的余额情况,包括可用余额、冻结余额和总余额。自动过滤余额为0的币种,提供清晰的资产分布概览和资金使用状况。

⚠️ 重要提醒: • 冻结余额:包含未成交订单占用的资金,不可用于新交易 • 余额精度:显示币种的实际持有精度,小数位数因币种而异 • 实时数据:余额会因交易、转账等操作实时变动 • 估值计算:仅显示数量,如需USD估值请使用价格工具计算

🎯 适用场景: • 投资者查看资产配置和持仓分布 • 交易前确认可用余额是否充足 • 资产管理和投资组合分析 • 审计和对账时核实资产明细

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

💰 现货账户余额统计

📊 资产概况:
持有币种:8种
总资产估值:需结合价格计算
更新时间:2024-01-15 15:30:25

💎 持仓明细:

🟡 USDT(泰达币)
可用余额:12,450.50 USDT
冻结余额:500.00 USDT(待成交订单)
总余额:12,950.50 USDT
资金状态:流动性充足

₿ BTC(比特币)  
可用余额:0.12567845 BTC
冻结余额:0.00000000 BTC
总余额:0.12567845 BTC
资金状态:全部可用

🔷 ETH(以太坊)
可用余额:2.55891230 ETH
冻结余额:0.25000000 ETH(限价卖单)
总余额:2.80891230 ETH
资金状态:部分冻结

🟠 BNB(币安币)
可用余额:45.75000000 BNB
冻结余额:0.00000000 BNB
总余额:45.75000000 BNB
资金状态:全部可用

📊 资金分布分析:
• USDT占比最高:适合作为交易基础货币
• BTC持仓适中:长期价值投资配置
• ETH有部分订单:注意市价变动风险
• BNB充足:可用于手续费抵扣

💡 资产建议:
当前资产配置较为均衡,流动性良好。
冻结资金主要来自待成交订单,属正常情况。
建议关注各币种价格走势,适时调整配置比例。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully covers behavioral traits: it notes that frozen balances include funds from pending orders, balances are real-time, precision varies by coin, and only quantities are shown (no USD valuation). The output example further clarifies the exact structure and status flags, making behavior highly transparent.

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?

The description is well-structured with sections (功能说明, 重要提醒, 适用场景, 输出示例) and front-loaded with a summary. While it is lengthy, the example output and warnings earn their place by providing concrete return format and operational caveats. Slight redundancy in the example (e.g., repeated '资金状态') prevents a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is remarkably complete. It explains the tool's scope, output format via a detailed example, behavioral nuances (real-time, precision, frozen order funds), and usage contexts. There are no gaps in what the agent needs to know to invoke this tool correctly.

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?

The tool has zero parameters, and the schema covers 100% of nothing. Baseline for 0 params is 4. The description adds value by explaining what the returned data represents (available, frozen, total), but there are no parameter details to elaborate on.

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 purpose: '查询现货账户中所有币种的余额情况,包括可用余额、冻结余额和总余额' (query all coin balances in spot account including available, frozen, and total). It specifies the resource (spot account balances) and the action (querying), and distinguishes itself from siblings by emphasizing spot balances and auto-filtering zero balances.

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 clear usage context with '适用场景' (applicable scenarios) listing specific use cases like checking asset allocation and verifying available balance. It also gives an alternative guidance: '如需USD估值请使用价格工具计算' (for USD valuation use price tool). However, it doesn't explicitly contrast with sibling tools like binance_account_info or binance_portfolio_account.

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