Skip to main content
Glama
iran-bourse-mcp

iran-bourse-mcp

by msmahdinejad

codal_letter

Read-onlyIdempotent

Read any Codal letter by tracing number to extract financial statements, monthly activity reports, meeting decisions, and notices as structured tables or plain text, with key items and summaries.

Instructions

Read the CONTENT of any Codal letter (متن و جدول‌های اطلاعیه کدال): financial statements, monthly activity reports, meeting decisions (DPS, capital increases), explanations and notices. Structured reports come back as tables (columns from the report's own headers, numbers parsed, usually million rial: see unit_note), one sheet per call, with the other sheets listed in 'sheets'; a statement sheet also gets 'key_items' (revenue, profits, EPS, assets, equity, cash flows...) and a monthly report a 'monthly_summary' (month and year-to-date sales, by product). Plain letters come back as text. For the usual questions prefer financial_statements, monthly_activity or fundamentals, which find and read the right letters for you.

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": {
      "tracing_no": "<tracing_no>"
    },
    "name": "codal_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetNoSheet id from the 'sheets' list of a previous call (e.g. the balance sheet or cash flow of a statement); omit for the first sheet
tracing_noYesTracing number (شماره پیگیری) of the letter, from codal_filings or recent_filings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only give read-only/idempotent/open-world, but the description discloses the response shape in detail: structured reports return as tables with the report's own headers, one sheet per call with remaining sheets listed in 'sheets', statement sheets carry 'key_items', monthly reports carry 'monthly_summary', plain letters return text, and numbers are usually in million rial with a unit_note caveat. That is substantial context an agent cannot get from the annotations or schema.

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?

Front-loads the core purpose and scoping, then layers in return-shape details and finally the routing advice. Dense but every clause carries information; the mid-sentence parentheticals (Persian text, dps/capital increase examples, unit caveat) make it slightly heavy but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 full burden of explaining return values and does so thoroughly across the structured/plain-letter cases plus the key_items and monthly_summary extras. Combined with the sibling routing, an agent has everything needed to call it correctly.

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% and both parameters are already documented (sheet id from a previous call's 'sheets' list; tracing_no from codal_filings or recent_filings). The description still adds value by explaining the one-sheet-per-call model that makes the 'sheet' parameter necessary, though it does not add anything about tracing_no beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Read the CONTENT of any Codal letter") and immediately enumerates what that covers (financial statements, monthly reports, meeting decisions, notices). It also names the siblings that overlap (financial_statements, monthly_activity, fundamentals), so an agent can distinguish raw-content access from high-level wrappers without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells the agent when NOT to use this tool: "For the usual questions prefer financial_statements, monthly_activity or fundamentals, which find and read the right letters for you." That names the alternatives and the condition that selects them, leaving this tool positioned as the low-level escape hatch.

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