Skip to main content
Glama

Monthly statistics tables

cb_statistics
Read-onlyIdempotent

Read one Central Bank of Iran monthly statistics table as rows of numbers and Persian labels, with section, Jalali period, and sheet filters.

Instructions

Read one table of the Central Bank's monthly statistics Excel file as rows of numbers and Persian labels.

Numbers the site publishes only as spreadsheets. Check period: the newest month differs per section and lags. sheets lists every sheet name; call again with sheet to read another. Rows keep file order, empty cells dropped, title and header rows first. Money is mostly trillion rials. For liquidity use cb_liquidity.

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": {
      "section": "<section>"
    },
    "name": "cb_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoJalali year, e.g. 1404. Default: newest.
monthNoMonth 1-12 or Persian name (مرداد). Default: newest.
sheetNoSheet number or part of its name. Default: first.
sectionYesmonetary (money, credit, bank balance sheets), balance_of_payments (foreign debt, monthly dollar rates), fiscal (budget, taxes), capital_market (stock and sukuk indicators).
max_rowsNoMax rows (1-200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • changedInput schema / properties / max_rows / description
      Previous value: -"Max rows of the sheet to return (1-200)."New value: +"Max rows (1-200)."
    • changedInput schema / properties / month / description
      Previous value: -"Month 1-12 or Persian name (مرداد). Default: the newest month listed."New value: +"Month 1-12 or Persian name (مرداد). Default: newest."
    • changedInput schema / properties / section / description
      Previous value: -"monetary (money, credit, bank balance sheets; many sheets), balance_of_payments (foreign debt, monthly dollar rates in the official, free and preferential markets), fiscal (government budget and tax revenue), capital_market (stock exchange and Islamic securities indicators)."New value: +"monetary (money, credit, bank balance sheets), balance_of_payments (foreign debt, monthly dollar rates), fiscal (budget, taxes), capital_market (stock and sukuk indicators)."
    • changedInput schema / properties / sheet / description
      Previous value: -"Sheet number (1, 2, ...) or part of its name. Default: the first sheet."New value: +"Sheet number or part of its name. Default: first."
    • changedInput schema / properties / year / description
      Previous value: -"Jalali year, e.g. 1404. Default: the newest year listed."New value: +"Jalali year, e.g. 1404. Default: newest."
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/openWorld, yet the description still adds real value: per-section period lag, file-order row preservation, dropped empty cells, header rows first, and money units in trillion rials. That is meaningful disclosure of return shape and data caveats beyond the annotations, though it says nothing about truncation or what happens when a sheet exceeds max_rows.

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?

Five short sentences, front-loaded with what is returned and followed by caveats in rough priority order; little waste. The dangling "Check `period`" clause and the telegraphic fragment style cost it a point on clarity.

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: it characterizes the return payload (numbers plus Persian labels, file order, header rows), states the default-selection and lag caveats, and explains how to page through sheets. The one real gap is how max_rows interacts with larger sheets — truncation versus error is never stated.

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 year/month/sheet/section/max_rows already carry their own descriptions and the baseline is 3. The description adds useful iteration semantics ("`sheets` lists every sheet name; call again with sheet") but also references `period`, which is not an input parameter, muddying rather than clarifying the defaults.

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?

"Read one table of the Central Bank's monthly statistics Excel file as rows of numbers and Persian labels" gives a concrete verb and resource, and the spreadsheet-only framing is distinctive. It only differentiates itself from one sibling ("For liquidity use cb_liquidity"), leaving overlap with cb_inflation, cb_exchange_rates and cb_rate_history unaddressed, so it stops short of a 5.

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?

"Numbers the site publishes only as spreadsheets" tells the agent this is the fallback source for raw tabular data, and the liquidity case names an explicit alternative with the condition that selects it. No exclusion is given for the other overlapping siblings (inflation, exchange rates, rate history), so routing for those cases is left to inference.

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