Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Currency, gold, coin and commodity prices

br_rates
Read-onlyIdempotent

Fetch free-market prices for currencies, crypto, gold coins, 18k gold, oil and metals, or retrieve a code's daily price history back to 2019.

Instructions

Return free-market prices of currencies, crypto, coins, 18k gold, the global ounce, oil and metals, or one code's daily history.

Source: Mofid only. Rial prices: divide by 10 for Toman. History is oldest first, back to 2019-2021.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "br_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNocurrency = currencies and crypto (Rial), gold_coin = coins, 18k gold, ounce (Rial), commodity = oil, metals (USD).gold_coin
limitNoHistory: newest N days.
queryNoFilter by code (USD, EUR, USDT, BTC, IMCOIN, Gold18, WTI, Cu) or Persian name. History needs the exact code.
history_daysNo0 = live prices; above 0 = daily history over this many days (exact code in query).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • changedInput schema / properties / history_days / description
      Previous value: -"0 = live prices. Above 0 (with an exact code in query) = daily history over this many calendar days."New value: +"0 = live prices; above 0 = daily history over this many days (exact code in query)."
    • changedInput schema / properties / kind / description
      Previous value: -"currency = free-market currencies and crypto (Rial), gold_coin = coins, 18k gold, ounce and 1-day coin certificates (Rial), commodity = oil, metals (USD)."New value: +"currency = currencies and crypto (Rial), gold_coin = coins, 18k gold, ounce (Rial), commodity = oil, metals (USD)."
    • changedInput schema / properties / limit / description
      Previous value: -"History: return only the newest N days."New value: +"History: newest N days."
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / query / description
      Previous value: -"Filter by code (USD, EUR, USDT, BTC, IMCOIN, Gold18, WTI, Cu) or Persian name. With history_days it must be the exact code."New value: +"Filter by code (USD, EUR, USDT, BTC, IMCOIN, Gold18, WTI, Cu) or Persian name. History needs the exact code."
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv0.1.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavioral context: the single upstream source (Mofid), the Rial-to-Toman conversion rule, and that history is ordered oldest-first with coverage back to 2019-2021. That is real value beyond the annotations, though return shape and pagination of live results remain unstated.

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?

Two short blocks, front-loaded with what is returned, followed by operating notes on source, unit conversion, and history ordering. Nearly every sentence earns its place. Minor cost: 'Source: Mofid only' is terse enough to be slightly ambiguous without surrounding context.

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, four-optional-parameter price lookup with no output schema, the description covers the crucial things an agent needs: what categories exist, which currency units apply, the history ordering and range, and the exact-code requirement. It would be a 5 with a sentence on the returned record shape or how large live result sets behave, but nothing essential is missing.

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%, so every parameter including the kind enum and the 'exact code required for history' rule is already documented in structured data. The description largely restates this (Rial for currency/gold, USD for commodity) without adding syntax, defaults, or edge-case behavior beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and a well-enumerated set of resources (currencies, crypto, coins, 18k gold, ounce, oil, metals) plus the history mode. An agent can tell what data this returns without opening the schema. It does not, however, differentiate itself from overlapping siblings such as br_quotes or br_history, which is the only thing keeping it from a 5.

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?

Usage is only implied through the kind enum and the history_days convention, and 'Source: Mofid only' hints at a data-source constraint. There is no explicit when-to-use / when-not-to-use guidance and no routing to sibling tools like br_quotes or br_history. An agent must infer selection criteria rather than read them.

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