Skip to main content
Glama
ime-mcp

ime-mcp

by sepehr071

Commodity securities trades

ime_securities
Read-onlyIdempotent

Retrieve daily trades for salaf, commodity deposit certificates, and commodity funds on the Iran Mercantile Exchange, filtered by symbol, date range, and sort order for market analysis.

Instructions

Daily trades of the exchange's financial-market symbols: salaf, commodity deposit certificates and commodity funds.

No dates: latest trading day; with dates every day in the range (at most 45). Prices are Rial per unit, value in Rial. Gold bar / gold coin / silver certificates: ime_certificates; live bid and ask: ime_board.

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_securities"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNosalaf (سلف), certificate (saffron etc.), fund (commodity ETFs, mostly gold) or all.all
sortNovalue/volume largest first, change biggest move first, date newest first.value
limitNoMax rows to return (1-100).
searchNoSymbol, code or name contains this text.
date_toNoPersian 1405/08/09 or Gregorian 2026-10-31.
date_fromNoPersian 1405/08/09 or Gregorian 2026-10-31.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • 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."
    • changedInput schema / properties / kind / description
      Previous value: -"salaf (standard forward, سلف استاندارد), certificate (گواهی سپرده کالایی such as saffron), fund (commodity ETFs, mostly gold) or all."New value: +"salaf (سلف), certificate (saffron etc.), fund (commodity ETFs, mostly gold) or all."
    • changedInput schema / properties / search / description
      Previous value: -"Keep rows whose symbol, code or name contains this text."New value: +"Symbol, code or name contains this text."
    • changedInput schema / properties / sort / description
      Previous value: -"value or volume (largest first), change (biggest move first) or date (newest first)."New value: +"value/volume largest first, change biggest move first, date newest first."
  2. First observedv0.1.0

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, openWorld and non-destructive, so the safety profile is covered structurally. The description adds genuinely new behavioral facts: the 45-day range cap and the default of falling back to the latest trading day when no dates are given. It stops short of describing row-level return shape or how limit interacts with multi-day ranges, which keeps it at a 4.

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?

Front-loaded with the resource definition, then the date-scoping rule, then sibling routing — all in three compact sentences with no filler. The final unit sentence ('Prices are Rial per unit, value in Rial') is slightly cryptic in placement but still earns its space as output 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?

With 6 optional params, a fully described schema and no output schema, the description supplies what the structure cannot: the default-day behavior, the range cap, and the currency units for returned prices and values. Minor residual gaps are the pagination/sort interaction across multi-day ranges, which the annotation and schema set does not cover.

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 description coverage is 100%, including enum value explanations and date formats, so the schema carries parameter meaning on its own. The description adds only one parameter-relevant detail beyond the schema (the 45-day maximum span for date_from/date_to); the Rial unit statements describe output values rather than inputs.

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?

Names a specific resource (daily trades of exchange-listed financial-market symbols) and enumerates the instrument classes it covers: salaf, commodity deposit certificates, commodity funds. It explicitly carves out gold/silver certificates to ime_certificates and live quotes to ime_board, so an agent can separate it from siblings without inspecting schemas.

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

Usage Guidelines5/5

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

Gives an explicit branching rule: no dates returns the latest trading day, supplying dates returns every day in the range up to a 45-day cap. It also names the two sibling tools to use instead for certificates and live bid/ask, which is exactly the when-to-use/when-not guidance needed.

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