Skip to main content
Glama
fipiran-mcp

fipiran-mcp

by sepehr071

Fund history

fp_history
Read-onlyIdempotent

Retrieve a fund’s daily NAV, returns, size and flows, investor mix, or dividends for a selected period, plus NAV change or net units issued/redeemed. Analyze historical fund performance and flows.

Instructions

Get a fund's daily history: NAV, returns, size and flows, investor mix or dividends, at most 60 points.

Oldest first. Also gives NAV change over the window (nav) or net units issued minus redeemed (size).

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": {
      "reg_no": "<reg_no>"
    },
    "name": "fp_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLatest trading days (about 250 per year).
reg_noYesFund reg_no from fp_search_funds.
seriesNonav: issue/redeem/statistical NAV per unit (rial). returns: six rolling returns (percent). size: net assets (billion Toman) and daily units issued/redeemed. investors: institutional vs retail unit share (percent). dividends: all payouts per unit (rial).nav
group_idNoSeries number from the search row; empty = first series.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / days / description
      Previous value: -"How many latest trading days to cover (about 250 per year)."New value: +"Latest trading days (about 250 per year)."
    • changedInput schema / properties / group_id / description
      Previous value: -"Series number from the search row; leave empty for the first series."New value: +"Series number from the search row; empty = first series."
    • changedInput schema / properties / reg_no / description
      Previous value: -"Fund registration number from fp_search_funds."New value: +"Fund reg_no from fp_search_funds."
    • changedInput schema / properties / series / description
      Previous value: -"nav: price per unit (issue/redeem/statistical NAV, rial). returns: the six rolling returns (percent). size: net assets (billion Toman) and units issued/redeemed per day (flows). investors: share of units held by institutions and by retail investors (percent). dividends: payouts per unit (rial), all of them."New value: +"nav: issue/redeem/statistical NAV per unit (rial). returns: six rolling returns (percent). size: net assets (billion Toman) and daily units issued/redeemed. investors: institutional vs retail unit share (percent). dividends: all payouts per unit (rial)."
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses two non-obvious behaviors: results are capped at 60 points and returned oldest-first, plus which derived figures accompany each series. The cap is also a useful warning given the days parameter allows up to 4000, though the tension between those limits is left unexplained.

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 sentences with the resource and series list front-loaded; every clause carries information. The parenthetical '(nav)' / '(size)' fragments are terse enough to read slightly like shorthand.

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 must carry return-value burden; it names the per-series contents and derived metrics but never describes the shape of a returned point or how the 60-point cap interacts with days. Adequate for selection, thin for interpreting results.

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 earns more by clarifying the derived outputs — NAV change over the window for the nav series and net units issued minus redeemed for the size series — which the schema does not state.

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?

Uses a specific verb+resource ("Get a fund's daily history") and enumerates the selectable series (NAV, returns, size/flows, investor mix, dividends), which separates it from fp_index_history or fp_fund. It stops short of naming a sibling explicitly, so an agent must still infer the boundary from the resource noun.

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?

Usage is implied by the resource and by the pointer 'Fund reg_no from fp_search_funds', which supplies a workflow prerequisite. There is no explicit when-to-use/when-not guidance distinguishing fp_history from fp_fund (snapshot) or fp_compare.

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