Skip to main content
Glama
iuk-ink

Binance MCP Server

均线交叉

indicator_ma_cross
Read-only

Detects moving average crossover signals (golden cross, death cross) and market bias from Binance futures K-line data, helping identify trend reversals or continuations.

Instructions

直连版:拉取 K 线后检测双均线交叉状态(golden_cross / death_cross / none)与多空偏向。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fastNo
slowNo
typeNo均线类型EMA
limitNo
symbolYes
intervalYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
biasYes
fastYes
slowYes
crossYes

Schema Changelog

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

  1. Changed12 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 / fast / description
      Removed value: -"快线周期"
    • changedInput schema / properties / fast / maximum
      Previous value: -9007199254740991New value: +250
    • 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 / slow / description
      Removed value: -"慢线周期"
    • changedInput schema / properties / slow / maximum
      Previous value: -9007199254740991New value: +250
    • addedInput schema / properties / symbol
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"平滑类型"New value: +"均线类型"
    • removedInput schema / properties / values
      Removed value: -{
      -  "description": "价格序列(收盘价)",
      -  "items": {
      -    "type": "number"
      -  },
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "values"
      -]New value: +[
      +  "symbol",
      +  "interval"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "bias": {
      +      "enum": [
      +        "bullish",
      +        "bearish",
      +        "neutral"
      +      ],
      +      "type": "string"
      +    },
      +    "cross": {
      +      "enum": [
      +        "golden_cross",
      +        "death_cross",
      +        "none"
      +      ],
      +      "type": "string"
      +    },
      +    "fast": {
      +      "type": "number"
      +    },
      +    "slow": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "cross",
      +    "bias",
      +    "fast",
      +    "slow"
      +  ],
      +  "type": "object"
      +}
  2. Addedv2.0.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark this as read-only and open-world, so the safety profile is known. The description adds meaningful behavioral context by stating that it fetches K-lines before computing crossover status and that it produces a directional bias classification, which goes beyond the annotations.

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 a single concise sentence that front-loads the tool identity and immediately lists the key output categories. There is no redundant writing or repetition of schema defaults.

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?

With an output schema and readOnly annotations, the description does not need to repeat return values or safety guarantees. However, given six parameters and low schema coverage, the description is thin on parameter-level context and does not help an agent decide between this and related indicator tools. It is minimally sufficient but not fully complete.

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 very low at 17%, and the description only vaguely compensates by mentioning "dual moving average." It does not explain how fast, slow, type, limit, symbol, or interval interact, nor does it clarify fast vs slow behavior. Schema fields like symbol and interval are self-explanatory, but the important indicator parameters remain under-documented.

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 a specific action and resource: it pulls K-line data and detects dual moving average crossover state, listing explicit outputs (golden_cross / death_cross / none) and bullish/bearish bias. This distinguishes it from sibling tools like indicator_sma, indicator_ema, and indicator_macd, which either return raw indicator values or use a different construction.

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 its use case: an agent should call this when the user wants dual moving average crossover detection. However, it gives no explicit when-to-use or when-not-to-use guidance, nor does it mention alternative tools such as indicator_macd or indicator_multi for similar signal detection.

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