Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Fund detail, history or comparison

br_fund
Read-onlyIdempotent

Retrieve Agah investment fund details—type, NAV, returns, asset mix, holdings, and daily history—or compare up to six funds side by side.

Instructions

Show an investment fund from Agah: type, NAV, returns, asset mix and holdings, a daily history, or a side-by-side comparison.

Source: Agah only (Mofid ETFs: br_stock, br_etfs; Mofid funds: br_mofid_funds). metric gives a daily series, oldest first. Money is Rial, returns percent. Find codes with br_search(kind='fund'); filter many with br_screener.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "funds": "<funds>"
    },
    "name": "br_fund"
  }
}

Input Schema

NameRequiredDescriptionDefault
fundsYesFund national code (11 digits), name or ETF symbol, e.g. '14004856587'. One fund for detail or history; two to six to compare.
metricNoWith one fund: return this daily series instead of the detail.
pointsNoWith metric: most recent N daily points.
columnsNoWith several funds: screener column names; omit for a default set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.2.0
    • removedInput schema / properties / columns / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / columns / description
      Previous value: -"With several funds: screener column names to compare; omit for returns, NAV, size and manager."New value: +"With several funds: screener column names; omit for a default set."
    • addedInput schema / properties / columns / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / columns / type
      Added value: +[
      +  "array",
      +  "null"
      +]
    • changedInput schema / properties / funds / description
      Previous value: -"Fund national code (11 digits), name or ETF symbol, e.g. 'هستی بخش آگاه' or '14004856587'. One fund for detail or history; two to six to compare."New value: +"Fund national code (11 digits), name or ETF symbol, e.g. '14004856587'. One fund for detail or history; two to six to compare."
    • removedInput schema / properties / metric / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "nav",
      -      "bubble",
      -      "trade_value",
      -      "nav_gap",
      -      "price",
      -      "returns"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / metric / description
      Previous value: -"With one fund: return this daily series instead of the detail. price and returns have unlabeled columns."New value: +"With one fund: return this daily series instead of the detail."
    • addedInput schema / properties / metric / enum
      Added value: +[
      +  "nav",
      +  "bubble",
      +  "trade_value",
      +  "nav_gap",
      +  "price",
      +  "returns",
      +  null
      +]
    • addedInput schema / properties / metric / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive open-world call, so the safety profile is covered. The description adds genuinely useful behavior beyond that: daily series are ordered oldest-first, monetary values are in Rial, and returns are percentages — units and ordering an agent cannot get from annotations.

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-loaded with the capability list, then the source/alternative routing and the unit conventions in a compact second paragraph. Dense but every clause carries information; the only minor cost is the parenthetical sibling list, which is slightly list-like rather than prose.

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 work of saying what comes back (NAV, returns, asset mix, holdings, history, comparison) and what the numbers mean. For a four-parameter read-only tool this is nearly sufficient; pagination/truncation beyond the points cap and default column behavior are the only unstated details.

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 and the schema already documents funds, metric, points, and columns including their modes. The description marginally reinforces the series semantics ('daily series, oldest first') and unit conventions, but adds little parameter-level meaning the schema does not already carry.

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?

Opens with a specific verb and resource ('Show an investment fund from Agah') and enumerates exactly what can be returned: type, NAV, returns, asset mix, holdings, daily history, or a comparison. It also distinguishes itself from siblings by scoping the source to Agah and naming where Mofid funds/ETFs live instead (br_stock, br_etfs, br_mofid_funds).

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?

Explicit routing is given: find codes via br_search(kind='fund'), filter many via br_screener, and go to br_stock/br_etfs/br_mofid_funds for non-Agah instruments. The funds parameter description further states the mode switch (one fund = detail/history, two to six = comparison), leaving nothing to infer.

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