Skip to main content
Glama
iuk-ink

Binance MCP Server

by iuk-ink

indicator_ma_cross

Detect moving average crossovers (golden cross or death cross) for any price series. Supports both SMA and EMA with customizable fast and slow periods.

Instructions

统一的均线交叉检测。同时支持 SMA 和 EMA,检测快线与慢线的交叉状态(golden_cross 金叉 / death_cross 死叉 / none 无交叉)。替代独立的 ema_cross 和 ma_cross 两个工具

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valuesYes价格序列(收盘价)
fastNo快线周期
slowNo慢线周期
typeNo平滑类型EMA
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions the output states but does not disclose behavioral traits such as minimum data requirements, handling of insufficient length, performance characteristics, or what happens when the cross is not found. The absence of an output schema further reduces transparency.

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 two sentences, each serving a distinct purpose: defining the tool's function and stating its replacement role. It is front-loaded, concise, and contains no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, so the description should explain the return format and structure. It only lists possible states but not the complete response (e.g., object fields, timing). Also missing edge cases and input constraints beyond schema. Incomplete for an agent to reliably invoke and interpret results.

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 coverage is 100% with descriptions for all parameters. The description adds no new meaning beyond the schema; it merely repeats the supported types and terms. Baseline score of 3 is appropriate as the schema does the heavy lifting.

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 it is a unified moving average cross detection tool supporting SMA and EMA, detecting golden cross, death cross, or none. It explicitly says it replaces two separate tools (ema_cross and ma_cross), distinguishing it from siblings and providing specific verb and resource.

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 indicates this tool should be used instead of the separate ema_cross and ma_cross tools, providing a clear recommendation. However, it does not discuss situations where the direct version 'indicator_ma_cross_direct' might be preferred or any prerequisites for usage.

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

Install Server

Other Tools

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