Skip to main content
Glama
iran-crypto-mcp

iran-crypto-mcp

by sepehr071

Price Candles

ic_candles
Read-onlyIdempotent

Fetch recent OHLC candles for a single coin on a selected Iranian exchange to analyze price trends; returns oldest first and supports Toman/USDT quotes plus configurable intervals.

Instructions

Get recent OHLC candles of one coin on one exchange, oldest first.

Rows are [time, open, high, low, close, volume in coin]. Nobitex and Balinex have no USDT/IRT candles (use Wallex).

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": {
      "exchange": "<exchange>",
      "coin": "<coin>"
    },
    "name": "ic_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinYesCoin symbol, e.g. 'BTC', 'USDT'
limitNoMost recent candles
quoteNo'IRT' = Toman market, 'USDT' = Tether marketIRT
exchangeYesExchange id with candles (see ic_list_exchanges)
intervalNoCandle size1h

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • changedInput schema / properties / exchange / enum
      Previous value: -[
      -  "nobitex",
      -  "wallex",
      -  "bitpin",
      -  "ramzinex",
      -  "tabdeal",
      -  "ompfinex",
      -  "exir",
      -  "abantether",
      -  "kifpool",
      -  "okex",
      -  "tetherland",
      -  "bit24"
      -]New value: +[
      +  "nobitex",
      +  "wallex",
      +  "bitpin",
      +  "ramzinex",
      +  "tabdeal",
      +  "ompfinex",
      +  "exir",
      +  "abantether",
      +  "kifpool",
      +  "okex",
      +  "tetherland",
      +  "bit24",
      +  "balinex"
      +]
  2. Changed4 schema fields changedv0.4.0
    • changedInput schema / properties / coin / description
      Previous value: -"Coin symbol, e.g. 'BTC', 'ETH', 'USDT' (Tether in Toman), 'TON'"New value: +"Coin symbol, e.g. 'BTC', 'USDT'"
    • changedInput schema / properties / exchange / description
      Previous value: -"Exchange id; ic_list_exchanges shows which have candles (candles: true)"New value: +"Exchange id with candles (see ic_list_exchanges)"
    • changedInput schema / properties / limit / description
      Previous value: -"Most recent candles to return (1-100)"New value: +"Most recent candles"
    • changedInput schema / properties / quote / description
      Previous value: -"Quote currency: 'IRT' = Toman market (default), 'USDT' = Tether market"New value: +"'IRT' = Toman market, 'USDT' = Tether market"
  3. Changed2 schema fields changedv0.3.0
    • changedInput schema / properties / exchange / description
      Previous value: -"'nobitex' or 'wallex' (the only exchanges with candles)"New value: +"Exchange id; ic_list_exchanges shows which have candles (candles: true)"
    • changedInput schema / properties / exchange / enum
      Previous value: -[
      -  "nobitex",
      -  "wallex"
      -]New value: +[
      +  "nobitex",
      +  "wallex",
      +  "bitpin",
      +  "ramzinex",
      +  "tabdeal",
      +  "ompfinex",
      +  "exir",
      +  "abantether",
      +  "kifpool",
      +  "okex",
      +  "tetherland",
      +  "bit24"
      +]
  4. First observedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's added value is the row tuple [time, open, high, low, close, volume in coin], the chronological ordering, and the exchange/quote availability caveat. Missing are failure behavior for unsupported coin/exchange pairs and any rate limits, which keeps it from a 5.

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 padding: the core action and scope come first, then return format, then the availability caveat. Every clause carries information an agent needs.

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?

With no output schema, the description compensates by specifying the exact returned row layout and ordering, and it flags the main data-availability trap across exchanges. Nothing essential for a correct call is left out for a read-only, five-parameter tool.

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% and enums already constrain exchange, quote, and interval, so the schema does the heavy lifting. The description adds only the framing of coin-on-exchange scope and ordering semantics, not new meaning for limit, quote, or interval beyond what the schema states.

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 (Get) and resource (recent OHLC candles), plus the exact scope: one coin on one exchange. The sibling set (orderbook, trades, ticker) is implicitly distinguished because 'candles' is a distinct artifact, and 'oldest first' pins down the result shape.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives one concrete when-not rule: Nobitex and Balinex have no USDT/IRT candles, so use Wallex instead. It stops short of a general routing statement versus ic_recent_trades or ic_get_ticker for agents that just want latest price or fills, so the guidance is clear but not complete.

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