Skip to main content
Glama

Histori Basis Native (Index vs Futures)

binance_get_basis
Read-only

Histori basis resmi Binance (GET /futures/data/basis): selisih futures price vs index price per period (5m–1d). Source of truth untuk premium/discount historis — beda dari binance_get_basis_history yang pakai snapshot D1 cron futures-vs-spot (hanya watchlist tetap). Cocok deteksi premium ekstrem, mean-reversion basis, dan konfirmasi funding lag. Default ringkas (avg/range/tren + <=10 poin); detail: "full" untuk semua poin sesuai limit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoJumlah data poin (max 500, default 30)
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
periodNoInterval antar data poin: 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d1h
symbolYesPair futures, contoh BTCUSDT. Dikirim ke Binance sebagai param `pair`.
contractTypeNoTipe kontrak: PERPETUAL (default), CURRENT_QUARTER, NEXT_QUARTERPERPETUAL

TDQS

A4.3/5.0
Behavior4/5

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

The annotations (readOnlyHint=true, openWorldHint=true) are consistent with the description (a read-only data fetch). The description adds valuable context: the default summary mode returns derived metrics and at most 10 points to save tokens, and the 'detail: full' option provides raw levels. It also warns about potential output size. The openWorldHint is not elaborated, but the description covers the main behavioral aspects.

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 moderately long but front-loaded with the core purpose and endpoint. It uses an em-dash to break up the content, which is a stylistic choice. The use cases and differentiation appear early, and the default/detail explanation is efficient. Slightly verbose but no redundant fluff.

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?

For a simple read-only tool with full schema documentation and no output schema, the description covers the essential distinctions from siblings and the key behavior modes. There is no mention of pagination or exact output structure, but the summary/full detail is explained and references a docs file. The tool is not complex, and the description is adequate for correct invocation.

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 coverage is 100%, so parameters are already fully documented. The description adds context for the 'detail' parameter (summary vs full) and explains the token-saving benefit, which goes beyond the schema's description. The 'symbol' parameter description mentions it is sent as 'pair' to Binance, adding useful API mapping. However, since the schema already covers most semantics, a baseline of 3 is appropriate.

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 explicitly states the tool fetches historical basis data from Binance's official endpoint, distinguishing it from the sibling binance_get_basis_history. It clearly specifies the resource (futures data basis endpoint), the measured quantity (futures price vs index price), and the period intervals. The distinction from the sibling is crisp: this tool is the source of truth for historical premium/discount, while the sibling uses a snapshot D1 cron with a fixed watchlist.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description names the sibling tool explicitly and explains the key difference (snapshot D1 cron vs official endpoint), making it clear when to choose one over the other. It also lists specific use cases: detecting extreme premium, mean-reversion basis, and confirming funding lag. No exclusionary conditions are mentioned, but the use cases and differentiation are strong.

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