Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

get_candles

Retrieve OHLCV candlestick data for a specific market. Specify market ID, optional timeframe, and limit for historical price analysis.

Instructions

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.
Behavior2/5

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

With no annotations provided, the description carries the full burden. It mentions public access and timeframe options, but lacks details on rate limits, data range, pagination, or caching. This is insufficient for a tool with no annotation safety net.

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?

Two sentences, zero waste. The first sentence states the core purpose, and the second adds critical context (public access, timeframe details). Efficient and well-structured.

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?

The tool has 3 simple parameters and no output schema. The description explains the core function and key parameter options, but omits response structure (e.g., array of candles) and ordering. Adequate for simplicity but missing some context.

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 baseline is 3. The description adds context for the 'timeframe' parameter (e.g., default value of 1m), but adds nothing beyond schema for 'market_id' or 'limit'.

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 clearly states 'Get OHLCV candles for one market,' specifying the verb and resource. It also clarifies it's public and lists timeframe options, making the purpose distinct from sibling tools like get_ticker or get_orderbook.

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 description implies usage by stating 'Public — no credentials needed,' but provides no explicit when-to-use or alternatives. It doesn't differentiate from similar data tools such as get_stats_history or get_ticker.

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

Install Server

Other Tools

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/nexus-xyz/nexus-exchange-mcp'

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