Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Valuation scores

br_scores
Read-onlyIdempotent

Score stocks by ISIN or rank the market by fundamental sections, returning theoretical versus market price, a Buy/Neutral/Sell technical rating, and a 0–10 fundamental score.

Instructions

Return Bourse View's valuation scores: theoretical vs market price, a Buy/Neutral/Sell technical rating and a fundamental score out of 10.

Source: Mofid only. Pass ISINs for specific symbols, a section to rank the market on one aspect, or nothing for the best fundamental scores overall.

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

Input Schema

NameRequiredDescriptionDefault
isinsNoISINs to score. Omit to rank the whole market by section.
limitNoRows to return.
sectionNoRank all symbols on one fundamental section (score out of 10); omit isins. Omit both for the overall table.
technicalNoOverall table only: keep this technical rating.
min_fundamentalNoOverall table only: minimum fundamental score (0-10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.2.0
    • removedInput schema / properties / isins / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "maxItems": 30,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / isins / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / isins / maxItems
      Added value: +30
    • addedInput schema / properties / isins / type
      Added value: +[
      +  "array",
      +  "null"
      +]
    • removedInput schema / properties / section / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "Profitability",
      -      "Efficiency",
      -      "FinancialRisk",
      -      "MarketRisk",
      -      "RelativeEvaluation",
      -      "Momentum",
      -      "MonthlySales",
      -      "ShareholdersPerformance",
      -      "Liquidity"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / section / description
      Previous value: -"Rank all symbols on one fundamental section (score out of 10). Needs isins to be omitted. Omit both for the overall table."New value: +"Rank all symbols on one fundamental section (score out of 10); omit isins. Omit both for the overall table."
    • addedInput schema / properties / section / enum
      Added value: +[
      +  "Profitability",
      +  "Efficiency",
      +  "FinancialRisk",
      +  "MarketRisk",
      +  "RelativeEvaluation",
      +  "Momentum",
      +  "MonthlySales",
      +  "ShareholdersPerformance",
      +  "Liquidity",
      +  null
      +]
    • addedInput schema / properties / section / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / technical / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "Buy",
      -      "Neutral",
      -      "Sell"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / technical / enum
      Added value: +[
      +  "Buy",
      +  "Neutral",
      +  "Sell",
      +  null
      +]
    • addedInput schema / properties / technical / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. First observedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the call read-only, idempotent, and non-destructive, so the description is free to add domain behavior: scores are bounded out of 10, ratings are a fixed three-value scale, and data comes only from Mofid. It also implies mutual exclusivity between isins and section modes, which is genuinely useful context beyond the safety hints, though nothing is said about size or latency of market-wide rankings.

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?

Two sentences, no filler: the return payload comes first, then the routing rule for the three modes. Every clause earns its place and nothing is repeated from the schema.

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 does the necessary work of enumerating the returned fields and their value ranges. It is nearly complete for a five-parameter read tool, but a note on what the market-wide ranking returns or how much data a section ranking covers would close the remaining gap.

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?

Schema description coverage is 100% and both enums are documented inline, so the schema already carries the parameter semantics. The description adds only the high-level mode relationship (isins vs section vs neither), which the schema text also states. Baseline 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 first sentence names the exact payload (theoretical vs market price, a Buy/Neutral/Sell technical rating, a fundamental score out of 10), so an agent knows precisely what comes back. The 'Source: Mofid only' note partially separates it from siblings like br_technical, but it never explicitly contrasts with them.

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?

The second sentence lays out the three invocation modes clearly: ISINs for specific symbols, a section to rank the market on one aspect, or nothing for the overall table. It gives clear context for how to call it but never states when to prefer a sibling tool (e.g. br_technical for raw technicals, br_screener for filtering).

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