Skip to main content
Glama
iran-brokers-mcp

iran-brokers-mcp

by sepehr071

Learn: education articles and courses

br_learn
Read-onlyIdempotent

Search Mofid blog and Agah Pedia for bourse, fund, option, and gold explainers, then read a selected article by reference.

Instructions

Search the Mofid learning blog and Agah Pedia for bourse, fund, option and gold explainers, or read one article.

Search first, then call again with ref from a result to read it (ref picks the source itself). Agah Pedia and Academy answer only from an Iranian network. Article text is third-party content.

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

Input Schema

NameRequiredDescriptionDefault
refNoRead one article in full: Mofid post id (number) or Agah Pedia slug, from a previous result.
kindNoarticles = search or read articles, categories = Mofid blog topics with ids, courses = Agah Academy.articles
pageNoPage number, 1-based.
queryNoPersian search words, e.g. 'صندوق طلا'. Agah article search needs 4+ characters.
sourceNomofid, agah or all; each answers in its own block.all
per_pageNoArticles per page.
max_charsNoWith ref: cut the article text at this many characters.
category_idNoBrowse one category; needs source 'mofid' or 'agah'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.2.0
    • removedInput schema / properties / category_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / category_id / description
      Previous value: -"Browse one category; needs source 'mofid' (id from kind='categories') or 'agah' (category_id of a result)."New value: +"Browse one category; needs source 'mofid' or 'agah'."
    • addedInput schema / properties / category_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / kind / description
      Previous value: -"articles = search or read articles (both sources), categories = Mofid blog topics with ids, courses = Agah Academy topics and course search."New value: +"articles = search or read articles, categories = Mofid blog topics with ids, courses = Agah Academy."
    • removedInput schema / properties / query / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / query / description
      Previous value: -"Persian search words, e.g. 'صندوق طلا', 'اختیار معامله'. Agah article search needs 4+ characters."New value: +"Persian search words, e.g. 'صندوق طلا'. Agah article search needs 4+ characters."
    • addedInput schema / properties / query / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / ref / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / ref / description
      Previous value: -"Read one article in full: a number (Mofid post id) or a slug (Agah Pedia, e.g. 'return-on-equity'), taken from a previous result."New value: +"Read one article in full: Mofid post id (number) or Agah Pedia slug, from a previous result."
    • addedInput schema / properties / ref / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / source / description
      Previous value: -"mofid, agah or all. Each source answers in its own block; with all, a source that fails shows {'error': ...} and the other still answers."New value: +"mofid, agah or all; each answers in its own block."
  2. First observedv0.1.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and open-world behavior, and the description adds real context beyond that: a geographic network gate on two of the sources, the fact that article text is third-party content, and the search-then-ref retrieval pattern. It does not describe result shape or pagination limits, so it is strong but not exhaustive.

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 sentence, followed by workflow, then the network constraint, then provenance—each line carries a distinct piece of information. The parenthetical '(`ref` picks the source itself)' is slightly cryptic phrasing rather than waste, and there is no 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?

For an eight-parameter tool with no output schema and full annotation coverage, the description supplies the essential operating context: search-versus-read modes, source selection, network restriction and content provenance. Pagination and category browsing are left entirely to the schema, which is acceptable but leaves minor gaps.

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 coverage is 100%, so the schema already documents all eight parameters, making the baseline 3. The description does add a non-obvious clarification that `ref` itself selects the source (Mofid post id vs Agah slug) and that `max_chars` applies only in ref mode, which is mildly useful but largely a restatement of the structured fields.

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 specific verb and resource: it searches the Mofid learning blog and Agah Pedia for explainers on bourse, funds, options and gold, and can read a single article. The domain (educational content) is self-evidently distinct from market-data siblings like br_news and br_quotes, though no sibling is named, so it stops short of explicit differentiation.

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 explicitly prescribes a two-step workflow ('Search first, then call again with `ref` from a result to read it'), which tells the agent which mode to use and when. It also states a hard prerequisite—Agah Pedia and Academy answer only from an Iranian network—but offers no guidance on when to prefer this over other research-type siblings.

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