Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Industries

br_industries
Read-onlyIdempotent

Rank Tehran Stock Exchange industries by value, return, market cap, P/E, dividend yield, or money flow from Mofid and Agah, then inspect a chosen Agah industry’s return table and member stocks.

Instructions

Rank the bourse industries by value, return, market cap, P/E or money flow, from Mofid and Agah.

With industry (Agah) it shows that industry's return table and member stocks. Money is Rial. Next: br_technical with an industry ISIN, or br_stock.

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

Input Schema

NameRequiredDescriptionDefault
sortNovalue, return_1m, return_1y: both sources. Mofid only: market_cap, return_1w, return_3m, p2e, dividend_yield. Agah only: change, money_flow.value
limitNoRows per source.
sourceNomofid, agah or all; each answers in its own block.all
industryNoAgah only: industry ISIN (IRX6...) or name part, to show one industry with its stocks.
ascendingNoLowest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • removedInput schema / properties / industry / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / industry / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / sort / description
      Previous value: -"value, return_1m and return_1y work in both sources. Mofid only: market_cap, return_1w, return_3m, p2e, dividend_yield. Agah only: change, money_flow. An unsupported sort is an error in that source's block."New value: +"value, return_1m, return_1y: both sources. Mofid only: market_cap, return_1w, return_3m, p2e, dividend_yield. Agah only: change, money_flow."
    • 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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior. The description adds useful context that 'Money is Rial' and that results come from Mofid and Agah, but it does not disclose rate limits, error behavior, or the shape of the returned ranking beyond what the schema already states.

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?

The description is short and front-loaded: the ranking purpose comes first, followed by the industry-mode behavior, currency note, and next-step routing. Every sentence contributes something, though 'from Mofid and Agah' slightly repeats what the source parameter already says.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries more burden to explain returns. It does explain the industry-mode output as a return table with member stocks and notes the currency, but it does not describe the ranking output structure, pagination across sources, or how blocks from Mofid and Agah are organized beyond the brief schema note.

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 parameters such as sort, source, and industry are already fully documented. The description reinforces the Agah-only nature of the industry parameter but adds little format or semantic detail beyond the schema, which is the expected baseline when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Rank the bourse industries' by named metrics, and identifies the two data sources. It is clear what the tool does, but it does not explicitly distinguish itself from siblings like br_screener or br_stocks that might also offer industry-level data.

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

Usage Guidelines3/5

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

The description implies usage through the ranking statement and the 'With industry (Agah)' mode, plus next-step routing to br_technical or br_stock. However, it does not say when to choose this tool over alternatives such as br_screener, nor does it give explicit exclusions or prerequisites.

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