Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Fund detail, history or comparison

br_fund
Read-onlyIdempotent

Retrieves Agah investment fund details, NAV, returns, asset mix, holdings and daily history, or compares two to six funds side by side by code or name.

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 shows ETFs through br_stock and br_etfs, and its own funds through br_mofid_funds). One fund gives the detail with issue and redeem prices, returns vs index, dollar and gold, and for an ETF the live bubble and order book. One fund with metric gives NAV, bubble, traded value or NAV gap history, oldest first. Several funds give returns, NAV, manager and asset mix side by side. Money is Rial, returns percent. Find codes with br_search(kind='fund') and filter many funds with br_screener.

Input Schema

NameRequiredDescriptionDefault
fundsYesFund national code (11 digits), name or ETF symbol, e.g. 'هستی بخش آگاه' or '14004856587'. One fund for detail or history; two to six to compare.
metricNoWith one fund: return this daily series instead of the detail. price and returns have unlabeled columns.
pointsNoWith metric: most recent N daily points.
columnsNoWith several funds: screener column names to compare; omit for returns, NAV, size and manager.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. Beyond that the description discloses genuinely useful behavior the annotations do not: data comes from Agah only, monetary values are in Rial and returns in percent, history is ordered oldest first, and the price/returns series have unlabeled columns. It stops short of mentioning rate limits or error behavior, which keeps it at a 4 rather than a 5.

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 structure is strongly front-loaded: capability first, source/routing second, then a compact enumeration keyed to one fund, one fund plus metric, and several funds. It is dense but each clause carries distinct information; the only slight redundancy is restating the metric/history mode that the schema also describes.

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?

There is no output schema, so the description carries the burden of describing return shapes, and it does so at three levels of granularity (detail fields, daily series, comparison table). Combined with units, ordering, and the 6-fund comparison cap implied by the schema, an agent has enough to call this correctly, though a hint on series length defaults would make it complete.

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 schema already documents each parameter and the baseline is 3. The description still adds meaning not in the schema: units (Rial, percent), the oldest-first ordering of metric series, and the ETF-specific extras (live bubble and order book) that a caller would not infer from parameter names alone.

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 first sentence states a specific verb (show) and resource (an Agah investment fund) and enumerates the three output modes: detail, daily history, and side-by-side comparison. The second sentence explicitly separates it from siblings, noting that Mofid funds live in br_mofid_funds and Mofid ETFs in br_stock/br_etfs, so an agent can route correctly 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?

Usage is spelled out per cardinality of the `funds` argument: one fund yields detail (issue/redeem prices, returns vs index, dollar and gold), one fund plus `metric` yields a history series, and several funds yield a comparison. It also names the companion tools for the surrounding steps (br_search with kind='fund' to find codes, br_screener to filter many funds), which is exactly the when/when-not guidance an agent needs.

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