Skip to main content
Glama
ime-mcp

ime-mcp

by sepehr071

Supply offers

ime_supply
Read-onlyIdempotent

List upcoming supply offers on the Iran Mercantile Exchange by date, category, market, or keyword to see what is for sale, session volume, and base price.

Instructions

List supply offers (اطلاعیه عرضه): what is up for sale on which session, volume and base price.

Dates are offer dates; default today to 7 days ahead; at most 45 days. Filters as in ime_trades; page with offset. market=premium adds premium_price. After the session ime_trades shows what sold.

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

Input Schema

NameRequiredDescriptionDefault
catNoCategory id from ime_categories (0 = all).
limitNoMax offers to return (1-50).
marketNophysical, premium or export (Kish hall, priced in $).physical
offsetNoSkip this many offers (paging).
searchNoCommodity, symbol, producer or supplier contains this text.
date_toNoPersian 1405/08/09 or Gregorian 2026-10-31.
sub_catNoCategory id from ime_categories (0 = all).
main_catNoCategory id from ime_categories (0 = all).
producerNoCategory id from ime_categories (0 = all).
date_fromNoPersian 1405/08/09 or Gregorian 2026-10-31.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 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 / market / description
      Previous value: -"physical (default), premium (اطلاعیه عرضه پریمیوم) or export (Kish export hall, priced in $)."New value: +"physical, premium or export (Kish hall, priced in $)."
    • changedInput schema / properties / search / description
      Previous value: -"Keep offers whose commodity, symbol, producer or supplier contains this text."New value: +"Commodity, symbol, producer or supplier contains this text."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description still adds useful behavior beyond that: the implicit max 45-day lookahead, the 7-day default window, and the fact that market=premium enriches results with a premium_price field. It does not mention result ordering or paging edge behavior, which keeps it from a 5.

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?

Four compact clauses, front-loaded with purpose, then date semantics, then paging, then the sibling contrast. Every sentence carries information an agent would otherwise have to guess, and nothing is repeated from the schema.

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?

No output schema exists, and the description compensates by naming the returned fields (session, volume, base price, conditional premium_price). With 10 parameters and read-only annotations this is nearly complete; only filter interaction details are delegated to 'as in ime_trades' rather than stated directly.

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 adds value on top by explaining the default and 45-day cap on the date parameters and by describing what the market enum value 'premium' actually changes in the output. It does not clarify the date_from/date_to format beyond the schema, but that is already documented there.

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?

Uses a specific verb and resource ('List supply offers') and immediately explains the content: what is for sale, on which session, volume and base price. The closing sentence explicitly contrasts it with ime_trades ('after the session ime_trades shows what sold'), so an agent can pick between the two siblings without opening either schema.

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?

Gives a clear temporal framing ('Dates are offer dates; default today to 7 days ahead; at most 45 days') and routes post-session questions to ime_trades. It falls just short of 5 because 'Filters as in ime_trades' is an indirect pointer rather than an in-place statement of when to use which filter.

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