Skip to main content
Glama
iuk-ink

Binance MCP Server

指数移动平均

indicator_ema
Read-only

Calculate exponential moving average (EMA) for Binance futures symbols using K-line data. Specify symbol and interval to receive the EMA series.

Instructions

直连版:拉取 K 线后计算指数移动平均,返回 EMA 序列(以首价为平滑种子,period 为周期)。

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. 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 / interval / description
      Removed value: -"计算周期"
    • addedInput schema / properties / interval / enum
      Added value: +[
      +  "1m",
      +  "3m",
      +  "5m",
      +  "15m",
      +  "30m",
      +  "1h",
      +  "2h",
      +  "4h",
      +  "6h",
      +  "8h",
      +  "12h",
      +  "1d",
      +  "3d",
      +  "1w",
      +  "1M"
      +]
    • removedInput schema / properties / interval / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / interval / minimum
      Removed value: -2
    • changedInput schema / properties / interval / type
      Previous value: -"integer"New value: +"string"
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 200,
      +  "maximum": 1500,
      +  "minimum": 2,
      +  "type": "integer"
      +}
    • addedInput schema / properties / period
      Added value: +{
      +  "default": 20,
      +  "maximum": 500,
      +  "minimum": 2,
      +  "type": "integer"
      +}
    • addedInput schema / properties / symbol
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / values
      Removed value: -{
      -  "description": "价格序列(收盘价)",
      -  "items": {
      -    "type": "number"
      -  },
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "values",
      -  "interval"
      -]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. Changed3 schema fields changedv2.0.3
    • addedInput schema / properties / interval / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / interval / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / values / description
      Previous value: -"价格数组"New value: +"价格序列(收盘价)"
  3. First observedv2.0.2

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the tool's non-destructive nature is known. The description adds context by revealing that the tool pulls K-lines internally and uses the first price as the smoothing seed, but it does not specify behavior for insufficient data or limit/period pitfalls. No contradiction exists.

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?

It is a single front-loaded sentence that introduces the main action before modifiers, and adds only concise formula-relevant detail. The term "直连版" is a slight ambiguity that could be clearer, so it is not a perfect score.

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?

The output schema and read-only annotation covered return structure and safety, and the description covers the core algorithm. However, with four poorly specified parameters, no sibling differentiation, and no usage alternatives, the definition does not fully equip an agent to choose and calibrate the call across similar indicators.

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 must supply parameter meaning. It only elaborates on period, calling it the周期, and gives the smoothing-seed behavior; it does not explain limit, interval usage, or how symbol/interval parameterize the K-line pull. This leaves much of the parameter understanding to inference.

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 states a clear operation and resource: "拉取 K 线后计算指数移动平均" and returns an "EMA 序列". It also gives a useful formula detail (first price as smoothing seed). It does not explicitly contrast with sibling tools like indicator_sma or indicator_macd, which prevents a 5.

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

Usage Guidelines2/5

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

The description provides no when-to-use direction, no stated preference compared to other indicator tools, and no examples of scenarios where EMA is appropriate. The only contextual phrase "直连版" is ambiguous and does not explain selection between this and sibling indicators.

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