Skip to main content
Glama
ime-mcp

ime-mcp

by sepehr071

Options board

ime_options
Read-onlyIdempotent

Fetch a single trading day’s option board or a contract’s day-by-day history for gold, gold coin, gold funds, and saffron futures; filter by date, type, search, and sort.

Instructions

Options on gold, gold coin, gold funds and saffron futures (اختیار معامله): one day's board or one contract's history.

No dates: latest trading day. With dates (at most 10 days): every day in the range. contract (a code from the list): that contract's days, up to 45. Prices and strike are Rial. Daily market totals: ime_daily_totals(market="options").

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

Input Schema

NameRequiredDescriptionDefault
sortNoLargest first (settlement_change by size of move).volume
limitNoMax contracts or days to return (1-100).
searchNoCode or description contains this text, e.g. GCES or صندوق طلا.
date_toNoPersian 1405/08/09 or Gregorian 2026-10-31.
contractNoOne contract code: returns its day-by-day history.
date_fromNoPersian 1405/08/09 or Gregorian 2026-10-31.
option_typeNocall (خرید), put (فروش) or all.all
traded_onlyNoOnly contracts that traded (volume above 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • changedInput schema / properties / contract / description
      Previous value: -"One contract code (from an earlier answer): returns its day-by-day history instead."New value: +"One contract code: returns its day-by-day history."
    • 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 / search / description
      Previous value: -"Keep contracts whose code or description contains this text, e.g. GCES (gold coin) or صندوق طلا."New value: +"Code or description contains this text, e.g. GCES or صندوق طلا."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the list, largest first (settlement_change by size of the move)."New value: +"Largest first (settlement_change by size of move)."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the description only needs to add domain behavior — and it does: the 10-day ceiling on date ranges, the 45-row cap on contract history, and that prices and strike are in Rial. It does not say what happens when a range exceeds 10 days (error vs. truncation), which is the one operational ambiguity left.

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-loads what is being returned, then walks the mode-selection logic in three short clauses with no filler sentences. The phrasing 'at most 10 days' is slightly ambiguous about whether it is a hard limit or a soft guideline, costing a point.

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?

For an 8-parameter, all-optional tool with no output schema, the description covers mode selection, scope limits, units, and the sibling to use for aggregates — everything needed to call it correctly. Remaining field-level detail (sort, limit, search, option_type) is fully documented in the schema.

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; the description still adds real meaning by explaining that `contract` must be a code drawn from the list rather than an arbitrary string, and by reinforcing the Rial unit convention for price fields. This clarifies parameter interplay (dates + contract) beyond the per-field schema text.

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 the specific resource (options on gold, gold coin, gold funds, saffron futures) with the Persian term, and distinguishes the two output modes: one day's board vs. a single contract's history. The routing to ime_daily_totals for market totals further separates it from siblings.

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 decision tree: no dates means latest trading day; dates mean every day in the range; a `contract` code means that contract's day-by-day history. It also names the alternative (ime_daily_totals with market="options") for aggregate totals, so the agent has no inference to do.

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