Skip to main content
Glama

Technical Analysis Toolbox

cc.data_tools
Read-onlyIdempotent

Call cc.data_tools — Comprehensive TA computation engine: 25+ indicators (SMA, EMA, RSI, MACD, ATR, Bollinger, Stochastic, ADX, CCI, Ichimoku, VWAP, Volume Profile, Fibonacci, Pivots, etc.) on any OHLCV data, plus the terminal's Smart Overlays (action smart_overlays: supply/demand zones, No-Trade Zone, EMA ribbon 8/13/21/34/55/89, FVG, liquidity sweeps) computed from the same code the chart draws. Purpose: Comprehensive TA computation engine: 25+ indicators (SMA, EMA, RSI, MACD, ATR, Bollinger, Stochastic, ADX, CCI, Ichimoku, VWAP, Volume Profile, Fibonacci, Pivots, etc.) on any OHLCV data, plus the terminal's Smart Overlays (action smart_overlays: supply/demand zones, No-Trade Zone, EMA ribbon 8/13/21/34/55/89, FVG, liquidity sweeps) computed from the same code the chart draws. Behavior: READ-ONLY. Does not place orders, move funds, or mutate your exchange account. Live / near-real-time data. Auth: X-Api-Key or x402 payment proof (X-PAYMENT / __x_payment). Anonymous unauthenticated calls receive HTTP 402 with payment accepts. Cost: $0.005 USDC per successful call (x402 Base USDC pay-per-use or prepaid X-Api-Key balance). Linked Connect keys are free. This is billing, not a side effect. Rate limit: 30/min (per API key). Tier: standard. Returns: Full indicator suite output for all requested tools: computed values, signals, divergences, and crossovers at every data point. Guidelines: Compute / parse / backtest only — no live orders. Feed outputs into cc.agent_strategy with force_paper=true to paper-trade. Tags: indicators, technical-analysis, computation, rsi, macd, bollinger, ichimoku, fibonacci.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barsNoCandles to analyse (default 100; use 300 for smart_overlays so the zone lookback matches the chart) Optional.
actionNocalculate_indicators (default) | compute_all_indicators | detect_patterns | analyze_regime | multi_timeframe_regime | find_support_resistance | cross_tf_analysis | evaluate_expressions | full_analysis | smart_overlays Optional.
symbolYesParameter `symbol` (string). Required.
candlesNoProvide your own OHLCV data instead of fetching Optional.
overlaysNoFor smart_overlays: supply_demand | no_trade_zone | ema_ribbon (default all three) | fvg | liquidity_sweeps | rainbow Optional.
timeframeYesParameter `timeframe` (string). Required.
indicatorsNoFor calculate_indicators: list of indicators to compute, TYPE:PERIOD Optional.
__x_paymentNoOptional x402 payment proof (same value as X-PAYMENT header). Use when retrying after HTTP 402 if your MCP client cannot set custom headers. Not a business parameter. Optional.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the gateway HTTP status is 2xx.
dataNoParsed JSON body from the endpoint (shape varies by slug).
errorNoError message when ok is false.
statusYesUpstream HTTP status from x402-gateway.
billingNoOptional payment / cost metadata when present.
endpointYesCatalog slug that was invoked (e.g. funding-rates).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / action
      Added value: +{
      +  "description": "calculate_indicators (default) | compute_all_indicators | detect_patterns | analyze_regime | multi_timeframe_regime | find_support_resistance | cross_tf_analysis | evaluate_expressions | full_analysis | smart_overlays Optional.",
      +  "type": "string"
      +}
    • addedInput schema / properties / bars
      Added value: +{
      +  "description": "Candles to analyse (default 100; use 300 for smart_overlays so the zone lookback matches the chart) Optional.",
      +  "type": "number"
      +}
    • changedInput schema / properties / indicators / description
      Previous value: -"List of indicators to compute Required."New value: +"For calculate_indicators: list of indicators to compute, TYPE:PERIOD Optional."
    • addedInput schema / properties / overlays
      Added value: +{
      +  "description": "For smart_overlays: supply_demand | no_trade_zone | ema_ribbon (default all three) | fvg | liquidity_sweeps | rainbow Optional.",
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "symbol",
      -  "timeframe",
      -  "indicators"
      -]New value: +[
      +  "symbol",
      +  "timeframe"
      +]
  2. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description goes well beyond them: auth methods (X-Api-Key or x402 proof with HTTP 402 on anonymous calls), a per-call cost of $0.005 USDC, a 30/min rate limit, standard tier, live/near-real-time data, and an explicit 'billing, not a side effect' clarification. These are exactly the operational traits an agent needs and cannot get from annotations alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The body is organized into labeled sections (Purpose, Behavior, Auth, Cost, Rate limit, Tier, Returns, Guidelines, Tags), which aids scanning. However, the entire 'Purpose' sentence is duplicated verbatim in the opening sentence and again after 'Purpose:', wasting a substantial block of tokens, and the indicator list is long enough to obscure the core instruction.

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

Completeness4/5

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

An output schema exists, so return values need not be explained, yet the description still summarizes them (values, signals, divergences, crossovers per data point). Combined with auth, cost, rate limits and the paper-trading handoff, the definition covers everything needed to invoke the tool correctly; only sibling disambiguation is thin.

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 the baseline is 3; the schema already documents bars, action, overlays, indicators, candles and __x_payment. The description adds only marginal meaning (default 100 bars, use 300 for overlay-consistent lookback, same code the chart draws), which is useful but largely restates the schema's enum/option lists.

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 names a concrete verb and resource — computing 25+ named technical indicators (SMA, EMA, RSI, MACD, ATR, Bollinger, Ichimoku, VWAP, etc.) on any OHLCV data, plus Smart Overlays via action=smart_overlays. That is specific enough to distinguish it from data-fetching siblings like cc.auto_fetch_market_data or cc.ma_fetch. It does not, however, contrast itself against the potentially overlapping cc.indicator_generator or cc.strategy_data_parser, so the boundary with those siblings is left implicit.

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 Guidelines block states the scope of use ('Compute / parse / backtest only — no live orders') and names the intended downstream step ('Feed outputs into cc.agent_strategy with force_paper=true to paper-trade'), which is actionable routing guidance. It also notes the 300-bar recommendation for smart_overlays. It stops short of explicit when-not-to-use or which sibling to prefer for raw market data, so it is clear context without full exclusion rules.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources