Skip to main content
Glama

x402_dydx_get_v1_candles_market

Fetch dYdX v4 candlestick data for a perpetual market to analyze price movement. Specify resolution and limit to retrieve recent OHLCV history.

Instructions

dydx — dYdX v4 indexer public data: perpetual markets, order books, candles [GET /v1/candles/{market}] $0.005 USDC on eip155:8453+137+42161+480. Example: /v1/candles/BTC-USD?resolution=1HOUR&limit=24

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_dydx_get_v1_candles_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose that this is a paid call costing $0.005 USDC across four listed EVM chains, which is genuinely useful behavioral context. It does not state rate limits, pagination, response shape, or whether the paid call is charged on failed requests, so transparency is partial.

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?

A single compact line with the endpoint front-loaded, but it is crammed with pipe-separated metadata and opaque chain identifiers ("eip155:8453+137+42161+480") that cost parsing effort, and the domain preamble about order books and perpetual markets is noise for this specific tool.

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

Completeness3/5

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

There is no output schema, so the description must convey what comes back, and it never says the response contains OHLCV candle fields, valid `resolution` enum values, or the maximum `limit`. For a paid market-data endpoint those omissions leave the agent guessing at call correctness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the four generic wrapper params, so the baseline would be 3, but the description adds real value the schema lacks: the example shows the market goes in the path and reveals the concrete query keys `resolution` and `limit` with a valid value (`1HOUR`, `24`), which are not documented anywhere in 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 names both the specific resource ("candles") and the exact endpoint ("GET /v1/candles/{market}"), so an agent can tell it fetches OHLC candles for one market rather than an order book or a market list. The opening phrase "perpetual markets, order books, candles" describes the whole indexer API family and momentarily blurs the scope, but the endpoint path resolves it.

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 only implied through an example invocation ("/v1/candles/BTC-USD?resolution=1HOUR&limit=24"). There is no statement of when to pick this over the Coinbase candles or Huobi kline siblings, and no note on required vs optional query params or defaults.

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

Deploy Server

Other Tools