Skip to main content
Glama
ime-mcp

ime-mcp

by sepehr071

Gold and other deposit certificates

ime_certificates
Read-onlyIdempotent

Retrieve continuous commodity deposit certificate data from Iran Mercantile Exchange: current prices in Rial for all certificates or day-by-day history for one commodity.

Instructions

Continuous commodity deposit certificates (گواهی سپرده پیوسته): gold bar, gold coin, silver, copper, steel and more.

No commodity: every certificate with its latest day. With commodity: its day-by-day history (default last 30 days, at most 90). Prices are Rial per certificate unit (about one gram for gold bar, one coin for GoldCoin). Fund and saffron symbols: ime_securities.

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": "ime_certificates"
  }
}

Input Schema

NameRequiredDescriptionDefault
date_toNoPersian 1405/08/09 or Gregorian 2026-10-31.
commodityNoCertificate id, code or name part: GoldBar, GoldCoin, SilverBar, SteelRebar... or طلا, سکه. Empty = all.
date_fromNoPersian 1405/08/09 or Gregorian 2026-10-31.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / commodity / description
      Previous value: -"Certificate id, code or name part: GoldBar, GoldCoin, SilverBar, CopperCthd, Bitumen, ZincIngot, SteelRebar... or طلا, سکه, نقره. Empty = all."New value: +"Certificate id, code or name part: GoldBar, GoldCoin, SilverBar, SteelRebar... or طلا, سکه. Empty = all."
    • changedInput schema / properties / date_from / description
      Previous value: -"Persian date 1405/08/09 or Gregorian 2026-10-31 (Persian digits are fine)."New value: +"Persian 1405/08/09 or Gregorian 2026-10-31."
    • changedInput schema / properties / date_to / description
      Previous value: -"Persian date 1405/08/09 or Gregorian 2026-10-31 (Persian digits are fine)."New value: +"Persian 1405/08/09 or Gregorian 2026-10-31."
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile needs no restatement. The description still adds real behavioral value: the default 30-day window and hard 90-day cap, and the Rial-per-unit pricing basis. It says nothing about response size, sorting, or behavior on empty results, so it is solid rather than rich.

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?

Three short blocks with the identifying sentence first, then the mode behavior, then units, then the sibling redirect — nothing redundant. The telegraphic phrasing ('No `commodity`: every certificate with its latest day') is dense but unambiguous. Slightly more connective wording would cost nothing and aid parsing.

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?

With no output schema, the description carries the return-shape burden and does discharge it partially: it tells the agent what a row is (certificate + day) and what the price number means. All three parameters are optional and pre-documented in the schema. What is missing is anything about ordering or pagination of the 'every certificate' mode, which matters for a potentially large result.

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 baseline is 3, but the description goes beyond the schema by explaining the semantic consequence of the `commodity` parameter (snapshot vs. time series) and the history window limits. The date_from/date_to interaction with the 90-day cap is implied rather than spelled out, keeping it from a 5.

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?

Names the resource precisely (continuous commodity deposit certificates) and enumerates the covered commodities (gold bar, gold coin, silver, copper, steel), plus states the unit of the returned prices. It even routes fund/saffron symbols elsewhere. It stops short of a 5 only because no explicit verb frames the operation; the listing behavior is inferred from 'every certificate with its latest day'.

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?

Explicitly defines the two usage modes: omit `commodity` for a latest-day snapshot of all certificates, supply it for day-by-day history. It also bounds the history window (default 30 days, max 90) and redirects fund/saffron queries to ime_securities. It does not differentiate against ime_price_history or ime_trades, which is the remaining gap.

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