Skip to main content
Glama
Binance MCP Server

Binance MCP Server

by hiteshgarg02

get_spot_trade_history

Retrieve recent spot trade history for a specified trading pair, with an optional limit to control how many trades are returned.

Instructions

Get recent spot trade history for a symbol.

Args: symbol: Trading pair symbol (e.g., 'BTCUSDT') limit: Number of trades to fetch (default 10, max 1000)

Returns: Markdown formatted trade history

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_spot_trade_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
symbolYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the return format ('Markdown formatted trade history') and the limit ceiling of 1000, which is useful, but leaves critical traits unspecified: what time window 'recent' covers, ordering of results, whether pagination exists beyond the limit, and whether this exposes private account data requiring authentication.

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 short, front-loaded with the core action, then structured as Args/Returns. Every line carries information, with no filler. The only minor inefficiency is restating parameter names that the schema already lists.

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?

An output schema exists, so return values need not be explained in depth, and the tool has only two parameters. However, the unresolved definition of 'recent,' the absence of any authentication or rate-limit note for what is clearly account-scoped data, and the lack of sibling routing leave gaps for a two-parameter trading-history tool.

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 0%, so the description must document both parameters itself, and it largely does: it gives the symbol format with a concrete example ('BTCUSDT'), plus the default (10) and maximum (1000) for limit. It stops short of explaining whether limit counts newest-first trades or is capped by an internal window, but the added meaning over the bare schema is substantial.

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 uses a specific verb and resource: 'Get recent spot trade history for a symbol.' That clearly separates it from sibling order-book tools like get_spot_open_orders or ticker tools, though it never explicitly names or contrasts those siblings. Purpose is unambiguous without opening the schema.

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 or when-not-to-use guidance, no mention of prerequisites (e.g., whether authenticated account access is required), and no routing to alternatives such as futures income or open-orders tools. The only implied guidance comes from the phrase 'for a symbol,' which an agent must interpret on its own.

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