Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

shareholder_history

Read-onlyIdempotent

Retrieve dated major-shareholder snapshots for a stock symbol, including position changes between snapshots, or filter by holder to track one major holder’s stake and buy/sell days over time.

Instructions

Dated major-holder snapshots for a symbol with computed changes between snapshots; or, with holder=..., one major holder's position over time and the days it bought or sold (تاریخچه سهامدار عمده).

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": {
      "symbol": "<symbol>"
    },
    "name": "shareholder_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoGregorian 2026-11-03 / 20261103 or Jalali 1405/08/12. Omit for the latest trading day.
daysNoWith holder: how many daily records to read (default 250, about one year) (max 500)
holderNoName fragment (or holder_id) of one major holder, e.g. 'کشوری'. Returns that holder's position over time and the days it changed, instead of snapshots.
symbolYesPersian symbol such as 'فولاد', or an insCode

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.0
    • addedInput schema / properties / days
      Added value: +{
      +  "default": 250,
      +  "description": "With holder: how many daily records to read (default 250, about one year) (max 500)",
      +  "maximum": 500,
      +  "minimum": 5,
      +  "title": "Days",
      +  "type": "integer"
      +}
    • addedInput schema / properties / holder
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Name fragment (or holder_id) of one major holder, e.g. 'کشوری'. Returns that holder's position over time and the days it changed, instead of snapshots.",
      +  "title": "Holder"
      +}
  2. First observedv0.1.0

TDQS

A4.1/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 adds useful behavior: the snapshot mode returns computed changes between snapshots, and the holder mode returns position-over-time plus the specific days the holder bought or sold. Pagination and rate limits are not mentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One tightly constructed sentence that front-loads the default snapshot mode and then the alternative mode. The Persian gloss in parentheses is a small addition that aids symbol/domain matching rather than 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 no output schema, the description carries the burden of describing returns, and it does so for both modes. For a 4-parameter read-only research tool this is close to sufficient; only sorting, coverage limits of the snapshot window, and empty-result behavior are left unstated.

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 description coverage is 100%, so a 3 is the baseline. The description earns above baseline by explaining the mode switch on 'holder' (name fragment or holder_id) and the interaction with 'days', which is semantic guidance the schema states only locally per-property.

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 names a specific resource (dated major-holder snapshots per symbol) and a distinct second mode (single holder's position over time with buy/sell days), so an agent can tell what data comes back. It does not explicitly distinguish itself from the sibling tools 'shareholders' and 'shareholder_portfolio', which is the only gap.

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 clearly signals the branch condition: omit 'holder' for multi-holder snapshots, supply 'holder' for a single-holder time series. There are no explicit exclusions or named alternatives, so an agent must infer the boundary with 'shareholders' and 'shareholder_portfolio', which keeps this below a 5.

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