Skip to main content
Glama
trustxai

amazing-binance-mcp

by trustxai

binance_get_rolling_ticker

Read-onlyIdempotent

Get price change statistics over a custom rolling window (e.g., 4h, 7d) for one or multiple symbols, covering periods the standard 24-hour ticker does not.

Instructions

Fetch price change statistics over an arbitrary rolling window.

Calls GET /api/v3/ticker (weight 4 per symbol, capped at 200 once >50 symbols requested). Unlike binance_get_ticker_24h, the window is not fixed at 24 hours.

When to Use:

  • For a custom window (e.g. 4h, 7d) that the fixed 24h/trading-day tickers don't cover.

When NOT to Use:

  • For the standard 24h window — binance_get_ticker_24h is cheaper for that case.

Returns: Markdown: stat blocks per symbol (up to 50 shown). JSON: count/shown plus tickers.

Examples: params = {"symbol": "BTCUSDT", "window_size": "4h"} params = {"symbols": ["BTCUSDT", "ETHUSDT"], "window_size": "7d"}

Error Handling: window_size outside 1m-59m/1h-23h/1d-7d is rejected by Binance; more than 100 symbols or neither symbol nor symbols is rejected locally.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

Annotations declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive. The description adds API weight/cap (weight 4 per symbol, capped at 200), error handling for invalid window sizes, local rejection of >100 symbols, and return format differences – valuable operational context beyond the structured metadata.

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 well-structured with clear sections: overview, usage guidance, returns, examples, and error handling. It is front-loaded with the core purpose and every line adds value – no filler or tautology.

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?

Covers usage scope, alternatives, error conditions, return format, and concrete examples. Combined with the output schema and annotations, an agent has everything needed to correctly invoke this tool, including constraints and failure modes.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

While the description does not repeat parameter descriptions, the input schema itself fully documents every parameter (type, symbol, symbols, window_size, symbol_status, response_format) with constraints like max 100 symbols and window patterns. The description enhances this with concrete examples and error notes, providing actionable guidance without redundancy.

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 states a specific action ('Fetch price change statistics') over a custom rolling window, and immediately contrasts with binance_get_ticker_24h by noting the window is not fixed. This precisely scopes the tool and differentiates it from a key sibling.

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?

Explicit 'When to Use' and 'When NOT to Use' sections name the alternative (binance_get_ticker_24h) and the condition that selects it (cheaper for 24h). This leaves no ambiguity about when to invoke this tool.

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

Deploy Server

Other Tools