Skip to main content
Glama
iran-crypto-mcp

iran-crypto-mcp

by sepehr071

Compare Coin Price

ic_compare_price
Read-onlyIdempotent

Compare a coin's price across supported Iranian exchanges in one call, sorted cheapest first with spread, using Toman or USDT quote market.

Instructions

Compare one coin's price on every supported exchange in one call, cheapest first, with the spread.

coin='USDT' with quote='IRT' is the Tether rate in Toman. Exchanges that fail or do not list the coin appear under errors; the rest are still compared. To check a spread is real, call ic_get_orderbook on the cheapest and priciest.

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

Input Schema

NameRequiredDescriptionDefault
coinYesCoin symbol, e.g. 'BTC', 'USDT'
quoteNo'IRT' = Toman market, 'USDT' = Tether marketIRT

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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 / quote / description
      Previous value: -"Quote currency: 'IRT' = Toman market (default), 'USDT' = Tether market"New value: +"'IRT' = Toman market, 'USDT' = Tether market"
  2. First observedv0.1.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish that this is a safe, read-only, idempotent, open-world operation, so the description does not need to restate that. It adds useful behavior beyond annotations: results are ordered cheapest first, include the spread, and partial failures or missing listings appear under `errors` while remaining exchanges are still compared.

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?

The description is front-loaded with the core comparison operation and remains compact across a few short sentences. Each sentence contributes either scope, special-case semantics, error behavior, or a follow-up verification path.

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 read-only comparison tool with no output schema, the description gives enough context to select and invoke it correctly: scope, ordering, spread, partial-failure handling, and a special USDT/IRT case. It does not fully enumerate the response fields, but the essential output behavior is covered.

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%, so the schema already defines the two parameters, including the IRT/USDT quote enum and default. The description adds a meaningful special case: coin='USDT' with quote='IRT' means the Tether rate in Toman, which goes beyond the schema's generic wording.

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?

The description states a specific verb and resource: compare one coin's price on every supported exchange in one call. It also adds the result ordering (cheapest first) and that a spread is included, which distinguishes it from single-market siblings like ic_get_ticker and follow-up tools like ic_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 Guidelines4/5

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

The description makes the primary use case clear: cross-exchange price comparison for one coin. It also gives an alternative follow-up path by naming ic_get_orderbook for checking whether a spread is real, though it does not explicitly compare itself against ic_best_deal or ic_arbitrage.

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