Skip to main content
Glama

Set Threshold Custom per Pair

binance_set_pair_threshold

Simpan threshold funding rate dan/atau basis custom untuk sebuah pair, menggantikan default hardcoded (±0.03% funding, ±0.05% basis) yang dipakai binance_get_funding_rate dan binance_get_spot_price. Berguna karena pair volatil (altcoin kecil) dan pair stabil (BTC/ETH) punya rentang funding/basis 'normal' yang beda jauh -- threshold universal bisa false-positive di pair volatil atau kurang sensitif di pair stabil. Disimpan permanen di Workers KV sampai di-overwrite. Kirim tanpa salah satu parameter (undefined) untuk reset field itu balik ke default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesSimbol pair Binance Futures, contoh: BTCUSDT, ETHUSDT. Harus pair perpetual yang terdaftar di Binance USDS-M Futures.
basisThresholdNoThreshold basis custom (desimal, misal 0.001 = 0.1%). Kosongkan untuk pakai default (0.0005).
fundingThresholdNoThreshold funding rate custom (desimal, misal 0.001 = 0.1%). Kosongkan untuk pakai default (0.0003).

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses key behavioral traits: persistence ('Disimpan permanen di Workers KV sampai di-overwrite'), overwrite semantics, and the reset behavior ('Kirim tanpa salah satu parameter (undefined) untuk reset field itu balik ke default'). It also reveals that the thresholds affect other tools by replacing their defaults, giving the agent a complete understanding of side effects.

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 three sentences long and every sentence earns its place: the first states the core action, the second explains the rationale, and the third covers persistence and reset. It is front-loaded with the primary operation, avoids fluff, and is appropriately sized for the tool's complexity.

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 low-complexity mutation tool with no output schema, the description is quite complete: it covers purpose, when to use, persistence, reset behavior, and the relationship to other tools. The only notable omission is the lack of explicit information about the return value/response format, which an agent would need to confirm success. Given the simplicity, this gap is minor but still present.

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% and each parameter already has detailed descriptions with examples and default values (e.g., basisThreshold: 'default (0.0005)', fundingThreshold: 'default (0.0003)'). The description adds the percentage equivalents (±0.03%, ±0.05%) and clarifies reset semantics, but these are largely redundant with the schema's 'kosongkan' instructions. Therefore, the description provides marginal additional value beyond 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 action ('Simpan threshold funding rate dan/atau basis custom untuk sebuah pair') and identifies the resource (per-pair thresholds). It distinguishes itself from siblings by explicitly referencing the default thresholds used by binance_get_funding_rate and binance_get_spot_price and by complementing the getter binance_get_pair_threshold. The mention of 'menggantikan default hardcoded' makes the unique purpose obvious.

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 strong contextual usage guidance by explaining why custom thresholds are needed: 'pair volatil (altcoin kecil) dan pair stabil (BTC/ETH) punya rentang funding/basis normal yang beda jauh -- threshold universal bisa false-positive di pair volatil atau kurang sensitif di pair stabil.' This tells the agent when the tool is appropriate. It also describes how to reset fields to default, but it does not explicitly state when not to use the tool or name alternative setters (though none exist).

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