Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

market_watch

Read-onlyIdempotent

Filter, sort, and page about 3,700 Bourse and Fara Bourse instruments in one call to review market-wide quotes across shares, funds, bonds, options, futures, rights, and commodities.

Instructions

Whole-market table (دیده‌بان بازار) of the exchange's own feed: about 3,700 instruments (shares, base market, funds, bonds, options, futures, rights, commodities) on Bourse and Fara Bourse, filtered, sorted and paged in one call. To find instruments by conditions use screen_stocks.

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

Input Schema

NameRequiredDescriptionDefault
boardNoBoard substring, e.g. 'اول', 'دوم', 'پایه'
limitNoMaximum rows to return (1-700); the server rejects larger values
detailNo'compact' (default) or 'full' (every field incl. best bid/ask, limits, EPS, base volume, NAV)compact
marketNo'bourse' or 'fara' (Fara Bourse). Omit for both where applicable.
sort_byNolast_pct, close_pct, value, volume, trades, market_cap, pe, effect_on_indexvalue
industryNoIndustry name substring, e.g. 'فلزات', 'بانک'
min_valueNoMinimum traded value in rial
descendingNo
only_tradedNo
security_typeNoType of instrument: 'stock' (default, سهام), 'fund' (صندوق), 'bond', 'option', 'future', 'rights', 'commodity', 'base' (بازار پایه) or 'all'; a Persian substring such as 'صندوق' works too.سهام

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.4.0
    • changedInput schema / properties / board / description
      Previous value: -"Board substring, e.g. 'اول', 'دوم', 'نوآفرین'"New value: +"Board substring, e.g. 'اول', 'دوم', 'پایه'"
    • changedInput schema / properties / detail / description
      Previous value: -"'compact' (default) or 'full' (every field incl. best bid/ask, limits, EPS)"New value: +"'compact' (default) or 'full' (every field incl. best bid/ask, limits, EPS, base volume, NAV)"
    • addedInput schema / properties / limit / description
      Added value: +"Maximum rows to return (1-700); the server rejects larger values"
    • changedInput schema / properties / security_type / default
      Previous value: -nullNew value: +"سهام"
    • changedInput schema / properties / security_type / description
      Previous value: -"Substring filter, e.g. 'سهام' (stocks), 'صندوق' (funds), 'اوراق'"New value: +"Type of instrument: 'stock' (default, سهام), 'fund' (صندوق), 'bond', 'option', 'future', 'rights', 'commodity', 'base' (بازار پایه) or 'all'; a Persian substring such as 'صندوق' works too."
  2. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and open-world, so the safety profile is covered. The description adds useful context: the data comes from the exchange's own feed and spans ~3,700 instruments including obscure classes (rights, base market, commodities). It does not disclose freshness/latency, row-level field composition, or pagination/truncation behavior, so it stays at minimum-viable-plus.

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?

Two sentences with zero waste: the capability and scope come first, the routing hint second. The parenthetical Persian term and the instrument enumeration earn their space by disambiguating the resource.

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 10-parameter read-only listing tool with no output schema, the description plus the 80%-covered schema give an agent enough to call it correctly. The main gap is that nothing describes the returned row shape, though the 'detail' parameter's own description ('every field incl. best bid/ask, limits, EPS...') compensates substantially.

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 80%, so the schema already documents board, market, limit, detail, sort_by, industry, min_value and security_type. The description only adds that filtering/sorting/paging happen 'in one call' and notes the instrument universe; it adds no syntax or semantics beyond the schema, so the baseline 3 applies.

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?

States a specific resource ('Whole-market table ... of the exchange's own feed'), quantifies scope (~3,700 instruments across named security classes and both exchanges), and says what it does: filters, sorts and pages in one call. It also names the sibling it is not (screen_stocks), so an agent can distinguish it without opening schemas.

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 routes conditional screening to screen_stocks ('To find instruments by conditions use screen_stocks'), which is the main ambiguity here. It does not address other adjacent siblings such as market_snapshot or top_movers, so when-not guidance is partial rather than exhaustive.

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