Skip to main content
Glama

Technical Analysis

ta_technicals
Read-only

Multi-timeframe technical-analysis snapshot for one coin, computed locally from real candles (not a vendor black box): per interval — last close, RSI(14), EMA20/50/200 + SMA200, MACD(12,26,9) with signal/histogram/cross freshness, ATR(14) with 2xATR stop suggestions (feed research_trade_plan), Bollinger(20,2) with %B and bandwidth, ADX(14) with +DI/-DI, volume vs 20-candle average, and a transparent trend rule (EMA alignment qualified by ADX). 'intervals' picks the timeframes (default 1h,4h,1d; max 4 of 1m|5m|15m|30m|1h|4h|12h|1d|1w); 'market' routes candles (spot|perp|auto, default auto: spot preferred; perp when spot fails or a recent spot listing has too little history for the indicators). Support/resistance comes from the same candles: daily swing highs/lows over the last year, clustered within half a daily ATR, nearest 3 on each side with distance, swing count and last touch, plus the year's range. For levels from executed perp flow (volume at price, liquidations, OI), use flow_levels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNoWhich candle series: 'spot', 'perp', or 'auto' (default: spot preferred; perp when spot fails or its history is too short)
symbolYesCoin symbol, e.g. 'ETH' or 'BTC'
intervalsNoCandle intervals to analyze, e.g. ["4h","1d"]. Default ["1h","4h","1d"]; max 4 of 1m|5m|15m|30m|1h|4h|12h|1d|1w

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelsNoDaily swing support/resistance; omitted when unavailable (see levelsUnavailable)
symbolYes
timeframesYes
lastPriceUsdYesNewest close of the finest analyzed timeframe
failedIntervalsNoIntervals that could not be analyzed, with reasons
levelsUnavailableNoWhy levels are missing, when they are

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / market / description
      Previous value: -"Which candle series: 'spot', 'perp', or 'auto' (default: spot preferred, perp fallback)"New value: +"Which candle series: 'spot', 'perp', or 'auto' (default: spot preferred; perp when spot fails or its history is too short)"
  2. Changed3 schema fields changed
    • removedOutput schema / properties / altFins
      Removed value: -{
      -  "description": "Vendor levels enrichment; omitted when the AltFINS feed is down",
      -  "properties": {
      -    "longTermTrend": {
      -      "type": "string"
      -    },
      -    "mediumTermTrend": {
      -      "type": "string"
      -    },
      -    "resistanceLevelsUsd": {
      -      "items": {
      -        "type": "number"
      -      },
      -      "type": "array"
      -    },
      -    "shortTermTrend": {
      -      "type": "string"
      -    },
      -    "supportLevelsUsd": {
      -      "items": {
      -        "type": "number"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / properties / levels
      Added value: +{
      +  "description": "Daily swing support/resistance; omitted when unavailable (see levelsUnavailable)",
      +  "properties": {
      +    "interval": {
      +      "type": "string"
      +    },
      +    "measuredFromUsd": {
      +      "description": "Price the levels are split around and distances measured from (the headline lastPriceUsd)",
      +      "type": "number"
      +    },
      +    "rangeHighAt": {
      +      "type": "string"
      +    },
      +    "rangeHighUsd": {
      +      "type": "number"
      +    },
      +    "rangeLowAt": {
      +      "type": "string"
      +    },
      +    "rangeLowUsd": {
      +      "type": "number"
      +    },
      +    "resistances": {
      +      "description": "Nearest first, at or above measuredFromUsd",
      +      "items": {
      +        "properties": {
      +          "distancePct": {
      +            "description": "Signed distance from measuredFromUsd, % (negative = below)",
      +            "type": "number"
      +          },
      +          "lastTouchAt": {
      +            "description": "Newest swing in the cluster, ISO-8601 UTC",
      +            "type": "string"
      +          },
      +          "priceUsd": {
      +            "type": "number"
      +          },
      +          "swings": {
      +            "description": "Confirmed swing highs/lows in the cluster",
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "supports": {
      +      "description": "Nearest first, below measuredFromUsd",
      +      "items": {
      +        "properties": {
      +          "distancePct": {
      +            "description": "Signed distance from measuredFromUsd, % (negative = below)",
      +            "type": "number"
      +          },
      +          "lastTouchAt": {
      +            "description": "Newest swing in the cluster, ISO-8601 UTC",
      +            "type": "string"
      +          },
      +          "priceUsd": {
      +            "type": "number"
      +          },
      +          "swings": {
      +            "description": "Confirmed swing highs/lows in the cluster",
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "toleranceUsd": {
      +      "description": "Cluster width: half a daily ATR(14), floored at 0.25% of price",
      +      "type": "number"
      +    },
      +    "windowCandles": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / levelsUnavailable
      Added value: +{
      +  "description": "Why levels are missing, when they are",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=true, so the description carries the burden and does so richly: local computation provenance, the transparent EMA-alignment-qualified-by-ADX trend rule, routing/fallback behavior for the candle series, the max-4-interval constraint, and the daily-ATR clustering logic for support/resistance. This is substantial behavioral context well beyond what the single annotation provides.

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?

Front-loads the core purpose and indicator inventory before the routing and S/R details, so an agent gets the gist immediately. It is dense and long, but nearly every clause conveys distinct capability information rather than filler, so the density is justified.

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

Completeness5/5

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

With an output schema present, the description need not explain return values, and combined with the schema and annotations it covers provenance, routing, constraints, and indicator coverage completely. Nothing an agent needs to call it correctly is missing.

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 schema already documents symbol, intervals (with the default and enum list), and market (with the spot-preferred/perp-fallback semantics), establishing the baseline of 3. The description largely restates these, adding only the 'max 4' emphasis and the rationale for the fallback rather than new syntax or format detail.

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?

States a specific verb+resource ('multi-timeframe technical-analysis snapshot for one coin'), enumerates exactly which indicators are computed (RSI, EMA/SMA, MACD, ATR, Bollinger, ADX, volume, trend rule), and explicitly distinguishes itself as computed locally from real candles rather than a vendor black box. An agent can separate it from flow_levels, market_candles, and research_trade_plan without opening a schema.

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?

Explicitly routes the agent: 'For levels from executed perp flow... use flow_levels' and notes ATR stop suggestions feed research_trade_plan. It also explains the market=auto fallback logic so the agent knows when spot vs perp applies. It does not enumerate when NOT to use it against the many other market_* siblings, but the named alternative covers the main ambiguity.

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