Skip to main content
Glama
alekskram

dydx-agent-gateway

Market Ta

market_ta
Read-only

Compute technical analysis from dYdX candles: RSI, EMA trend, ATR, Bollinger, MACD, VWAP, and realized volatility for any ticker and resolution.

Instructions

Technical snapshot computed from dYdX candles: RSI(14), EMA20/EMA50 trend, ATR(14) volatility, Bollinger(20,2) position, MACD(12,26,9), VWAP(20) and annualized realized vol. Pure local math — no external TA library. Key fields: price, trend_ema20_50 ("up"/"down"), rsi14 (0-100) and rsi_zone (overbought >70 / oversold <30 / neutral), atr14 (absolute) and atr_pct_of_price (pct), bollinger_pctB (0 = lower band, 1 = upper band), macd_line/signal_line/macd_hist (classic 12/26/9; hist > 0 = bullish momentum), vwap_20 (volume-weighted average price over the last 20 candles: typical price (H+L+C)/3 weighted by usdVolume) and realized_vol_annualized_pct (population std of log returns x sqrt(candles-per-year), scaled by resolution). Needs >=55 candles; returns {"error": ...} for thin markets. Example: market_ta(ticker="BTC-USD", resolution="1HOUR")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes
resolutionNo1HOUR

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/destructive annotations, the description discloses meaningful behavior: pure local math with no external TA library, a 55-candle minimum, and an error return for thin markets. It also explains conventions such as hist > 0 = bullish momentum and bollinger_pctB boundaries, which help the agent interpret results.

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?

The description is long but well structured: a one-sentence summary, an organized key-fields list, then operational notes and an example. Some indicator formulas overlap with what an output schema would provide, but each section serves a distinct purpose.

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?

For a read-only technical indicator tool with an output schema, it supplies the prerequisites, failure behavior, key output fields, and a usage example. The only notable gap is the lack of enumeration or definition of valid resolution values, though the example and schema default cover most invocation needs.

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?

The schema has 0% description coverage, so the description must compensate. It provides a concrete example (ticker="BTC-USD", resolution="1HOUR") and contextual meaning via dYdX candles, but it does not define valid resolution values or fully explain the ticker market identifier semantics.

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 specific resource (dYdX candles) and a concrete output (technical snapshot) while enumerating indicators such as RSI(14), EMA20/EMA50, ATR(14), Bollinger(20,2), MACD(12,26,9), VWAP(20), and annualized realized vol. It is clear enough to distinguish from raw-candle siblings, though it does not explicitly name an alternative.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent needing technical indicator values rather than raw candles would pick this tool. It adds a data prerequisite (>=55 candles) and a thin-market error case, but it never says when to prefer candles/market_digest or when not to use this tool.

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/alekskram/dydx-agent-gateway'

If you have feedback or need assistance with the MCP directory API, please join our Discord server