codal-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CODAL_MCP_PROXY | No | Optional HTTP proxy URL for codal.ir requests; system proxy settings are ignored. A comma-separated list is used one at a time: the next proxy takes over when one is blocked or cannot connect. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cd_search_lettersA | Search codal.ir disclosures (letters) of Iranian listed companies, newest first, 20 per page. Use it for "latest letters of a company", financial statements, monthly reports, meeting decisions, dividend
schedules or capital increases. With no filters it lists the newest letters of all companies. Combine filters
to narrow down; |
| cd_letterA | Read one codal.ir letter: its text or tables, plus links to its page, PDF, Excel and attachments. Use it after cd_search_letters to see what a letter says. Structured reports (financial statements, monthly
activity reports) come back as |
| cd_companyA | Find companies and funds on codal.ir by symbol or name, with their market, industry and type. Use it to get the exact |
| cd_letter_typesA | List codal.ir letter groups, or the letter types of one group with the ids cd_search_letters takes. Call it without arguments for the 11 groups, then with |
| cd_financial_yearsA | List the fiscal year-end dates codal.ir knows for one company, newest first (Jalali). Use it to learn when a company's fiscal year ends (e.g. 12/29 or 03/31) before searching for its annual statements with cd_search_letters (from_date after the year end, period_months 12). An empty list usually means the symbol is wrong: check it with cd_company. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool occupies a distinct niche: search (cd_search_letters), read one record (cd_letter), entity lookup (cd_company), taxonomy browsing (cd_letter_types), and fiscal calendar (cd_financial_years). The only near-overlap — cd_letter_types vs. the letter_type filter of cd_search_letters — is explicitly explained in the descriptions, so an agent can choose correctly.
All names share a clear 'cd_' namespace prefix and read naturally. The minor deviation is verb style: cd_search_letters uses a verb_noun form while cd_letter, cd_company, cd_letter_types and cd_financial_years are pure noun phrases, but the pattern is still predictable enough to guess names.
Five tools is well-scoped for a read-only gateway to one disclosure site: one search, one reader, and three small resolution/lookup helpers. Every tool has a clear purpose and no filler operations appear to exist.
The surface covers the full read workflow — find company, find letter type, find fiscal year, search letters, read letter content and get file links (PDF/Excel/attachments). As a read-only source CRUD is not applicable, though there is no bulk/aggregate retrieval (e.g. multi-year statement series) and no tool for non-letter codal content, which are minor gaps an agent can work around through repeated calls.