Skip to main content
Glama
CCXT MCP Server

CCXT MCP Server

by MyronKoch

indicators_calculate

Calculate RSI, MACD, Bollinger Bands, ATR, Stochastic, and Ichimoku from OHLCV data for a given exchange and trading pair; specify timeframe and candle limit.

Instructions

Calculate technical indicators (RSI, MACD, Bollinger Bands, ATR, Stochastic, Ichimoku) from OHLCV data

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "exchange": "<exchange>",
      "symbol": "<symbol>"
    },
    "name": "indicators_calculate"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of candles to fetch (minimum 52 for all indicators)
symbolYesTrading pair (e.g., BTC/USDT)
exchangeYesExchange ID
timeframeNoTimeframe (1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w)1h
indicatorsNoSpecific indicators to calculate (rsi, macd, bollingerBands, atr, stochastic, ichimoku). If empty, calculates all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it says nothing about whether this performs remote exchange calls, whether exchange_init must run first, whether results are cached, or what happens when limit is below 52. Only the mutation-vs-read nature is indirectly inferable from 'Calculate', and even that is not stated outright.

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?

A single front-loaded sentence with no filler and no repetition. Its brevity is efficient rather than padded, though the same terseness is what leaves the operational gaps noted elsewhere.

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?

For a 5-parameter tool with no annotations and no output schema, the description should clarify that the tool fetches candles from the named exchange and describe the shape of the returned indicator values. Neither is covered, leaving an agent unsure of the fetch dependency and the response format.

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 description coverage is 100%, so every parameter including the indicator list and the 52-candle minimum is already documented in the schema. The description adds essentially no semantics beyond that, so the baseline of 3 applies; the indicator names it lists merely duplicate the schema's indicator enumeration.

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?

States a specific verb (Calculate) and resource (technical indicators) and enumerates the exact indicator set (RSI, MACD, Bollinger Bands, ATR, Stochastic, Ichimoku) along with the data source (OHLCV). An agent can distinguish this from data-fetching siblings like market_ohlcv. It stops short of naming or contrasting any sibling explicitly.

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?

There is no when-to-use guidance, no statement of prerequisites, and no mention of alternatives such as market_ohlcv for raw candles. The phrase 'from OHLCV data' is the only hint of the workflow, and it is ambiguous because the schema requires exchange and symbol, implying the tool fetches candles rather than accepting them.

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