Skip to main content
Glama

F1ow Crypto Market Data & Research MCP

Price Candles

market_candles
Read-only

OHLC(V) candle history for a coin by symbol (e.g. 'ETH', 'BTC'). 'interval' picks the candle size (1m|5m|15m|30m|1h|4h|12h|1d|1w, default 1d); 'limit' the number of candles (default 100, max 400); 'market' picks the series — 'spot' (Binance, Bybit, then CoinGecko/CoinMarketCap), 'perp' (Hyperliquid, Bybit, then Binance futures — perpetual marks), or 'auto' (default: spot preferred; perp when spot fails, or when spot's history is shorter than the request and than 210 candles while perp's is materially longer — e.g. a coin whose spot pair listed recently). spot/perp are hard constraints and error rather than substitute. The response labels the market, interval and source actually delivered, includes USD volume when the source carries it, and flags a still-forming last candle.

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": {
      "symbol": "<symbol>"
    },
    "name": "market_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDEPRECATED: trailing window in days; use interval+limit instead. Ignored when interval is given.
limitNoNumber of candles, newest last. Default 100, max 400.
marketNoWhich market's series: spot exchange trades, perpetual-futures marks, or auto (spot preferred; perp when spot fails or its history is too short). Default auto.
symbolYesCoin symbol, e.g. 'ETH' or 'BTC'
intervalNoCandle size. Default 1d.

Output Schema

NameRequiredDescriptionDefault
coinIdNoIdentifier the answering provider queried
marketNo'spot' or 'perp' — which market the series describes
sourceNoProvider that answered
symbolNoThe coin symbol that was requested, upper-cased
candlesNo
intervalNoCandle size actually delivered, e.g. '4h'
lastCandleIsPartialNoTrue when the newest candle is still forming; exclude it from indicator math

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / symbol
      Added value: +{
      +  "description": "The coin symbol that was requested, upper-cased",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / market / description
      Previous value: -"Which market's series: spot exchange trades, perpetual-futures marks, or auto (spot preferred, perp fallback). Default auto."New value: +"Which market's series: spot exchange trades, perpetual-futures marks, or auto (spot preferred; perp when spot fails or its history is too short). Default auto."
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The readOnlyHint is consistent and the description adds substantial behavior beyond it: provider fallback ordering per market, the exact auto-selection heuristic (including the 210-candle threshold and 'materially longer' comparison), failure semantics for hard constraints, and the fact that the response labels the market/interval/source actually delivered. It also discloses that the last candle may still be forming and that volume is USD when the source carries it.

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 purpose is front-loaded in the first clause and every subsequent sentence carries operational detail rather than filler. It is dense and semicolon-heavy, with the auto-fallback rule compressed into a long nested clause that takes effort to parse, which costs it a point.

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

Completeness5/5

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

For a five-parameter read tool, the definition covers selection semantics, failure modes, and response shape (source labeling, volume currency, incomplete-candle flag) — more than enough even without leaning on the output schema. Nothing an agent needs to call it correctly appears to be missing.

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

Parameters5/5

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

Schema coverage is already 100%, so baseline would be 3, but the description adds real meaning: the enumerated intervals, defaults and max limits, and most importantly the provider-chain semantics behind each 'market' value and the conditional logic of 'auto'. That is information the schema's one-line enum descriptions do not convey.

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 states a specific resource and form ('OHLC(V) candle history for a coin by symbol') with concrete examples of symbols, which is well beyond a tautology. It does not name or contrast with any sibling (e.g. market_history or market_quotes), so an agent must infer the boundary itself, keeping it out of 5 territory.

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?

Guidance is strong at the parameter level (when to choose 'spot' vs 'perp' vs 'auto', including the explicit note that spot/perp are hard constraints that error rather than substitute), but there is no tool-level guidance on when to reach for this tool instead of a sibling such as market_history or market_quotes. Usage is implied by the OHLC framing rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources