Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Market overview

br_market
Read-onlyIdempotent

Get today's Tehran bourse snapshot with indices, traded value, money flow, and buy/sell queues from Mofid and Agah to assess current market conditions.

Instructions

Show today's market snapshot: indices, traded value, money flow and buy/sell queues, from Mofid and Agah.

Start here for "how is the bourse today". Money is Rial. Next: br_market_top or br_stocks for rankings, br_industries for sectors, br_rates for price history.

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

Input Schema

NameRequiredDescriptionDefault
moversNoAgah: how many index-moving symbols to list.
pricesNoAgah: price groups to include; default metals, coins and currencies.
sourceNomofid, agah or all; each answers in its own block.all
breadthNoAgah: also add whole-market breadth (market P/E, busiest symbols).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • changedInput schema / properties / breadth / description
      Previous value: -"Also add Agah's whole-market breadth: market P/E, busiest symbols, buyer-power leaders."New value: +"Agah: also add whole-market breadth (market P/E, busiest symbols)."
    • removedInput schema / properties / prices / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "enum": [
      -        "metals",
      -        "baseMetals",
      -        "coins",
      -        "currencies",
      -        "energies",
      -        "cryptos"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / prices / description
      Previous value: -"Agah: global and local price groups to include; default metals, coins and currencies."New value: +"Agah: price groups to include; default metals, coins and currencies."
    • addedInput schema / properties / prices / items
      Added value: +{
      +  "enum": [
      +    "metals",
      +    "baseMetals",
      +    "coins",
      +    "currencies",
      +    "energies",
      +    "cryptos"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / prices / type
      Added value: +[
      +  "array",
      +  "null"
      +]
    • changedInput schema / properties / source / description
      Previous value: -"mofid, agah or all. Each source answers in its own block; with all, a source that fails shows {'error': ...} and the other still answers."New value: +"mofid, agah or all; each answers in its own block."
  2. First observedv0.1.2

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, openWorld and non-destructive, so the safety profile is covered. The description adds non-obvious context beyond the annotations: values are denominated in Rial and each source returns its own separate block. It does not discuss freshness/latency or partial-source failure, which keeps it at 4 rather than 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?

The capability and its contents come first, then the entry-point rule, then a compact routing list of siblings. Every clause carries information; there is no filler or repetition of the title.

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 does the job of telling the agent what comes back (indices, traded value, money flow, queues, per-source blocks) and the currency unit. It is complete enough to call correctly; only the response shape and per-source block structure are left implicit.

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%, so the baseline is 3. The description only restates that Mofid and Agah are the sources ('each answers in its own block'), which is already implied by the 'source' enum. It adds no meaning for movers, prices or breadth that the schema lacks.

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 verb ('Show') and a concrete resource ('today's market snapshot') and enumerates the contents: indices, traded value, money flow, buy/sell queues, with named data sources. An agent can distinguish it from br_market_top and br_index without opening any schema.

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 entry-point rule ('Start here for "how is the bourse today"') and routes to named alternatives by use case: br_market_top/br_stocks for rankings, br_industries for sectors, br_rates for price history. This is exactly the when-to-use/when-to-use-something-else guidance that is usually missing.

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