Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

fundamentals

Read-onlyIdempotent

Retrieves a company's price, market cap, EPS, P/E, Codal statements, margins, growth, ROE/ROA, leverage, TTM valuation, and three months of sales in one call for Tehran Stock Exchange analysis.

Instructions

One-call fundamental picture of a company (تحلیل بنیادی): price and market cap, the exchange's EPS and P/E, the latest Codal statements (revenue, net profit, EPS, equity), margins, growth, ROE/ROA, liquidity and leverage, valuation computed on trailing twelve months (EPS, P/E, P/S, P/B, marked estimated), and the last three months of sales from the monthly reports.

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": "fundamentals"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesPersian symbol such as 'فولاد', or an insCode

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile needs no restating. The description does add one genuinely useful behavioral caveat beyond them: valuation figures are 'computed on trailing twelve months' and 'marked estimated', signaling derived rather than reported numbers. It says nothing about freshness/latency of 'latest' filings or response size.

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 purpose is front-loaded in the opening clause, followed by a compact enumeration of returned sections. It is a single long sentence with no filler, though a bulleted field list would scan faster given the number of items.

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 return values, and it does so exhaustively across price, statements, ratios, valuation and monthly sales. Combined with a fully documented single parameter, an agent has enough to call it correctly; only units, currency conventions and data-freshness expectations are absent.

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?

There is a single parameter with 100% schema description coverage, and the schema already explains that 'symbol' accepts a Persian ticker such as 'فولاد' or an insCode. The description adds no further meaning, format rules, or resolution behavior for the identifier, so the baseline of 3 applies.

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 gives a precise resource ('One-call fundamental picture of a company') and enumerates the concrete contents: price/market cap, exchange EPS and P/E, latest Codal statements, margins, growth, ROE/ROA, leverage, TTM valuation, and three months of monthly sales. An agent knows exactly what comes back. It stops short of naming how this differs from codal_company or financial_statements, which cover overlapping statement data.

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 only implied by the phrase 'one-call fundamental picture', which suggests a consolidated snapshot in preference to stitching together several statement tools. There is no explicit when-to-use, when-not-to-use, or named alternative for agents that want full statements or historical filings.

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