Skip to main content
Glama
iuk-ink

Binance MCP Server

平均趋向指标

indicator_adx
Read-only

Calculates ADX from Binance K-lines to quantify trend strength (0-100) regardless of direction, returning a stable sequence for market analysis.

Instructions

直连版:拉取 K 线后计算 ADX,返回稳定序列(衡量趋势强度,0-100,与方向无关)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
periodNo
symbolYes
intervalYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed10 schema fields changedv3.0.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / candles
      Removed value: -{
      -  "description": "HLC K 线数组 [{high, low, close}]",
      -  "items": {
      -    "properties": {
      -      "close": {
      -        "type": "number"
      -      },
      -      "high": {
      -        "type": "number"
      -      },
      -      "low": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "high",
      -      "low",
      -      "close"
      -    ],
      -    "type": "object"
      -  },
      -  "minItems": 1,
      -  "type": "array"
      -}
    • addedInput schema / properties / interval
      Added value: +{
      +  "enum": [
      +    "1m",
      +    "3m",
      +    "5m",
      +    "15m",
      +    "30m",
      +    "1h",
      +    "2h",
      +    "4h",
      +    "6h",
      +    "8h",
      +    "12h",
      +    "1d",
      +    "3d",
      +    "1w",
      +    "1M"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 200,
      +  "maximum": 1500,
      +  "minimum": 2,
      +  "type": "integer"
      +}
    • removedInput schema / properties / period / description
      Removed value: -"计算周期"
    • changedInput schema / properties / period / maximum
      Previous value: -9007199254740991New value: +100
    • removedInput schema / properties / smoothingType
      Removed value: -{
      -  "default": "EMA",
      -  "enum": [
      -    "EMA",
      -    "RMA",
      -    "SMA",
      -    "WMA",
      -    "WSMA"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / symbol
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "candles"
      -]New value: +[
      +  "symbol",
      +  "interval"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  2. Changed6 schema fields changedv2.0.3
    • changedInput schema / properties / candles / description
      Previous value: -"HLC 数组"New value: +"HLC K 线数组 [{high, low, close}]"
    • removedInput schema / properties / interval
      Removed value: -{
      -  "description": "计算周期",
      -  "minimum": 2,
      -  "type": "number"
      -}
    • addedInput schema / properties / period
      Added value: +{
      +  "default": 14,
      +  "description": "计算周期",
      +  "maximum": 9007199254740991,
      +  "minimum": 2,
      +  "type": "integer"
      +}
    • addedInput schema / properties / smoothingType / default
      Added value: +"EMA"
    • removedInput schema / properties / smoothingType / description
      Removed value: -"平滑类型"
    • changedInput schema / required
      Previous value: -[
      -  "candles",
      -  "interval"
      -]New value: +[
      +  "candles"
      +]
  3. First observedv2.0.2

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already mark this as read-only and open-world. The description adds useful behavioral detail beyond annotations by stating the internal flow: it fetches K-lines, calculates ADX, and returns a stable sequence. It also clarifies the numeric output domain and that the value is direction-independent, which helps an agent understand what the tool actually returns.

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 one compact sentence that front-loads the tool's access mode and calculation flow, then adds the key context about the output range and interpretation. There is no wasted text or redundant schema re-statement.

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?

For a read-only indicator with output schema and annotations, the description is reasonably complete for a basic call. It does not provide explicit guidance about the period/limit parameters or how to choose this tool over sibling indicators, but the output schema and defaults make an ordinary symbol/interval call feasible.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needs to compensate. However, the description only mentions K-lines and ADX, providing no explanation of period (default 14), limit (default 200), or how these affect the calculation and returned series. The agent must infer meaning from parameter names and defaults alone.

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 gives a clear verb and resource: it pulls K-lines and computes ADX, returning a stable trend-strength sequence. The additional context that the result is 0-100 and direction-independent clearly identifies the indicator's purpose, although it does not explicitly distinguish itself from the many sibling indicator tools.

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

Usage Guidelines3/5

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

The description implies the tool is appropriate when trend strength is needed regardless of direction, but it does not explicitly say when to use ADX instead of another indicator such as indicator_rsi or indicator_bb. There is no when-not-to-use information or explicit sibling alternative.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/iuk-ink/binance-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server