Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

ETFs with price vs NAV

br_etfs
Read-onlyIdempotent

Lists exchange-traded funds with price, NAV, NAV gap, traded value, and returns so you can compare funds and sort by cost or premium.

Instructions

List exchange-traded funds with price, NAV and the gap between them (bubble), traded value and returns.

Use for "cheapest gold ETF" or "lowest bubble". Money is Rial. Next: br_stock (Mofid card) or br_fund (Agah) for one fund; br_screener (kind='etf' or 'mutual') filters funds on any column.

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

Input Schema

NameRequiredDescriptionDefault
sortNonav_gap = market price above(+)/below(-) NAV in %. market_cap is Mofid only.value
typeNoFund family; omit for all. Agah knows only fixedincome, stock and goldetf.
limitNoRows per source.
queryNoPart of the fund symbol, Persian or Latin.
sourceNomofid (default) = 375 ETFs; agah = 331 ETFs with NAV returns and manager; all = both.mofid
ascendingNoLowest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.2.0
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / sort / description
      Previous value: -"value = traded value today, change = price change %, nav_gap = market price above(+)/below(-) NAV in %. market_cap is Mofid only."New value: +"nav_gap = market price above(+)/below(-) NAV in %. market_cap is Mofid only."
    • changedInput schema / properties / source / description
      Previous value: -"mofid (default) = 375 ETFs; agah = 331 listed ETFs with NAV returns and manager; all = both for comparison."New value: +"mofid (default) = 375 ETFs; agah = 331 ETFs with NAV returns and manager; all = both."
    • removedInput schema / properties / type / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "stock",
      -      "fixedincome",
      -      "goldetf",
      -      "venturecapital",
      -      "silveretf",
      -      "mixed",
      -      "leveraged",
      -      "realstates",
      -      "privateequity",
      -      "fundoffunds",
      -      "agricultureetf",
      -      "projects"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / type / description
      Previous value: -"Fund family; omit for all. fixedincome = income funds, goldetf = gold-backed. Agah knows only fixedincome, stock and goldetf (as commodity funds)."New value: +"Fund family; omit for all. Agah knows only fixedincome, stock and goldetf."
    • addedInput schema / properties / type / enum
      Added value: +[
      +  "stock",
      +  "fixedincome",
      +  "goldetf",
      +  "venturecapital",
      +  "silveretf",
      +  "mixed",
      +  "leveraged",
      +  "realstates",
      +  "privateequity",
      +  "fundoffunds",
      +  "agricultureetf",
      +  "projects",
      +  null
      +]
    • addedInput schema / properties / type / 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 readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely new behavioral context: all monetary values are in Rial, "bubble" means the price-vs-NAV gap, and the two sources differ in coverage (375 vs 331 ETFs, with NAV returns and manager only on Agah). It does not describe result ordering/pagination beyond what the schema says.

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?

Two short paragraphs, purpose and returned fields front-loaded, followed by intent examples and sibling routing. The telegraphic "Next:" phrasing is slightly cryptic but carries real navigation value and there is no filler.

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 six fully documented parameters, no output schema, and annotations covering safety, the description supplies the remaining essentials: units, the definition of the bubble metric, and source coverage differences. A minor gap is that it does not clarify whether NAV/bubble is available on the default Mofid source, which the source hint only implies.

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 goes beyond the schema by tying intent phrases ("cheapest", "lowest bubble") to sort=nav_gap/ascending and clarifying the currency unit that gives meaning to the value parameter, adding practical interpretation the schema alone does not supply.

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?

The description states a specific verb and resource ("List exchange-traded funds") and enumerates the returned fields: price, NAV, the price-vs-NAV gap ("bubble"), traded value, and returns. It distinguishes itself from siblings by name, pointing to br_stock/br_fund for a single fund and br_screener for column-based filtering.

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?

It gives concrete intent examples ("cheapest gold ETF", "lowest bubble") that map directly to sort/type/ascending combinations, and routes the agent to alternatives with their distinguishing conditions (one fund → br_stock or br_fund; arbitrary column filters → br_screener). It stops short of an explicit when-not-to-use statement, so it is strong but not complete.

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