Skip to main content
Glama
dydx-perps-markets-api-mcp

dydx-perps-markets-api-mcp

Get dYdX market candles

get_dydx_market_candles
Read-onlyIdempotent

Fetch OHLCV candlesticks and USD volume for a dYdX v4 perpetual market at minute, hourly, or daily resolution to analyze price trends and market activity.

Instructions

Fetch OHLCV historical candlesticks and USD volume for a dYdX v4 perpetual market at minute, hourly, or daily resolution.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_dydx_market_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of candles to return (1-100, default 24).
tickerYesdYdX perpetual market ticker (e.g. "BTC-USD", "ETH-USD").
resolutionNoCandle interval resolution (default "1HOUR").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this as a read-only, idempotent, non-destructive open-world call. The description contributes useful content by naming the returned fields (OHLCV plus USD volume), which matters since there is no output schema, but it says nothing about pagination, ordering, or empty-result behavior for invalid tickers.

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?

A single front-loaded sentence with no filler; the resource and resolution scope arrive before any qualifiers.

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 simple three-parameter read tool with complete schema coverage and full safety annotations, the definition is nearly sufficient, and the volume/OHLCV disclosure substitutes partly for a missing output schema. Minor gaps remain around result ordering and failure modes.

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%, so ticker, resolution enum, and limit bounds are already fully documented in the schema. The description's 'minute, hourly, or daily resolution' is a loose summary that omits the five intermediate resolutions present in the enum, adding little beyond the schema.

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 gives a specific verb (fetch) and resource (OHLCV candlesticks plus USD volume) scoped to dYdX v4 perpetual markets. It implicitly separates itself from siblings like the orderbook or market details by emphasizing historical candles, though it never names 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?

The word 'historical' signals this is for past price series rather than live orderbook data, which implies when to reach for it. There is no explicit when-to-use or when-not-to-use guidance and no pointer to a sibling tool for related needs.

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