Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

get_candles

Retrieve OHLCV candles for one market at 1s, 1m, 5m, or 1h intervals. Deprecated: use fetch_ohlcv for current candle requests.

Instructions

Deprecated: use fetch_ohlcv. Get OHLCV candles for one market. Public — no credentials needed. Timeframe is one of 1s, 1m, 5m, 1h (default 1m).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of candles to return (max 1000).
market_idYesMarket id, e.g. "BTC-USDX-PERP".
timeframeNoCandle interval. Defaults to 1m.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden and does well: it states the tool is public and requires no credentials, discloses the deprecation status, and clarifies the timeframe default. It does not mention return shape or any limits, but the auth and lifecycle context is a meaningful addition.

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?

Three short sentences with zero filler, and the deprecation warning — the most consequential fact — is front-loaded first.

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 deprecated read-only market-data tool with no output schema, the description covers auth requirements, scope, timeframe options, and the replacement path. Only the return shape is unstated, which is a minor gap given the tool is being retired in favor of `fetch_ohlcv`.

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 all three parameters are already documented in the schema, including the enum and the 1m default. The description restates the enum values and default rather than adding format or syntax beyond the schema, so the baseline 3 applies.

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 and resource ('Get OHLCV candles for one market') and immediately names the replacement sibling `fetch_ohlcv`, so an agent can distinguish it from the many other market-data tools 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 Guidelines5/5

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

Explicitly marks the tool as deprecated and directs the agent to `fetch_ohlcv` instead, which is the strongest possible when/when-not guidance: it tells the agent which sibling to prefer.

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