Skip to main content
Glama

Data Candlestick (Klines)

binance_get_klines
Read-only

Candlestick OHLCV native Binance (source of truth, bukan Coinalyze). Balikin bias arah, swing high/low, harga terakhir. Isi startTime untuk histori jauh ke belakang (maks limit candle/panggilan, maks 1500). Default (detail: summary) cuma balikin ringkasan + 5 candle terakhir -- set detail: "full" atau includeCandles: true untuk array candle penuh.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoJumlah candle yang diambil, maksimal 1500
detailNo'summary' (default): metrik turunan + <=10 poin terbaru saja, HEMAT TOKEN. 'full': array/level mentah lengkap seperti sebelumnya. Lihat docs/tool_response_reference.md.summary
symbolYesSimbol pair Binance Futures, contoh: BTCUSDT, ETHUSDT. Harus pair perpetual yang terdaftar di Binance USDS-M Futures.
endTimeNoWaktu akhir (ISO 8601) — opsional, dipakai bareng startTime untuk membatasi window spesifik.
intervalYesTimeframe candle: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d
startTimeNoWaktu mulai (ISO 8601, contoh "2026-07-01T00:00:00Z") — opsional, buat narik histori jauh ke belakang untuk backtest, bukan cuma data terbaru.
includeCandlesNoDEPRECATED, dipertahankan untuk kompatibilitas -- pakai `detail: "full"` sebagai gantinya. true = sama seperti detail:"full".

TDQS

A4.4/5.0
Behavior4/5

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

The description adds valuable behavioral context beyond the annotations: it explains that default mode returns only the last 5 candles and derived metrics (token-saving), and that setting detail='full' or includeCandles=true returns the full candle array. It also notes the deprecated includeCandles parameter and the use of startTime for backtesting. The readOnlyHint annotation aligns with the read-only nature described, with no contradiction.

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?

The description is compact and efficient: a couple of sentences that front-load the core purpose, then immediately cover default behavior and how to opt into full data. It avoids filler and every sentence adds meaningful information about tool operation.

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, the description provides a reasonable overview of what is returned (summary metrics, last 5 candles, or full array). It also covers limit and startTime for historical data. It could be more explicit about the exact structure of the summary output, but it is sufficiently complete for a read-only data-fetching tool with good annotation coverage.

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% (all 7 parameters have descriptions), so baseline is 3. The description adds extra value by clarifying the default behavior of the 'detail' parameter (summary vs full) and the deprecation of 'includeCandles', as well as emphasizing the backtest use case for 'startTime'. This goes beyond mere schema repetition.

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 it returns native Binance OHLCV candlestick data ('Candlestick OHLCV native Binance'), and specifies it provides direction bias, swing highs/lows, and last price. It also distinguishes itself from Coinalyze as the source of truth, which helps differentiate from other data sources. This is a specific verb+resource with clear scope.

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 mentions 'native Binance (source of truth, bukan Coinalyze)' which implies this is the preferred tool for Binance Futures data, and it discusses the default summary mode versus full mode for token efficiency. However, it does not explicitly contrast with sibling tools like binance_get_spot_klines or binance_get_continuous_klines, though the mention of 'Binance Futures' in the symbol parameter provides context. This is clear on when to use it but lacks explicit exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.7/5.0
Disambiguation4/5

Most tools map to a distinct Binance metric or analytic concept, and descriptions explicitly contrast near-neighbors (spot vs futures, snapshot vs delta, 'BEDA dari...' notes). A few pairs could still be confused—`binance_get_basis` vs `binance_get_basis_history` and `binance_get_agg_trades` vs `binance_get_recent_trades`—but their purpose differences are explained well enough for careful agents.

Naming Consistency4/5

The dominant pattern is `binance_<verb>_<object>` in snake_case, with consistent complementary pairs like `get_*` and `get_*_history`. There are minor style breaks: `orderbook` vs `order_book`, the `whalescope_*` prefix, and `whalescope_full_pipeline` which lacks a verb, but the overall structure is readable and predictable.

Tool Count1/5

56 tools cross the explicit '50+ tools' extreme threshold. Although the Binance Futures domain is broad, many tools are single-endpoint or single-metric wrappers—multiple klines variants, order book variants, and ticker variants—that could be consolidated into parameterized composite tools. The surface is far too large for most agents to navigate efficiently.

Completeness4/5

The public market-data and analytics surface is remarkably complete: klines, funding, open interest, long/short ratios, top-trader data, liquidations, basis, order book behavior, regime detection, and full pipeline scoring are all covered. The main gaps are documented limitations such as unavailable liquidation-by-price data and non-public account/execution tooling, but agents can work around them without dead ends.

Resources