Skip to main content
Glama

Inflation rate

cb_inflation
Read-onlyIdempotent

Retrieve Iran's official Central Bank inflation data: monthly CPI inflation for a Jalali year and year-average annual history. Use it to analyze or compare inflation trends over time.

Instructions

Get Iran's inflation rate as published by the Central Bank: the monthly series for one year and annual history.

monthly: 12-month CPI inflation (percent) ending in each month of the Jalali year. annual: year-average inflation, newest first, back to 1316. latest is the newest month. 1401 has a base-year change.

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": "cb_inflation"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoJalali year, e.g. 1403. Default: current.
annual_yearsNoPast years of annual inflation (0-90).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / annual_years / description
      Previous value: -"How many past years of annual inflation to include (0-90)."New value: +"Past years of annual inflation (0-90)."
    • changedInput schema / properties / year / description
      Previous value: -"Jalali year for the monthly series, e.g. 1403. Default: current."New value: +"Jalali year, e.g. 1403. Default: current."
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, open-world operation, so the bar is lower. The description still adds genuine context not in the annotations: the data provenance (Central Bank), the depth of annual history back to 1316, the newest-first ordering, and the base-year discontinuity in 1401 that could otherwise produce a misleading interpretation.

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 core action is front-loaded in the first sentence, and the subsequent sentences each define a distinct series rather than repeating. The '1401 has a base-year change' line is terse to the point of ambiguity but still earns its place as a data caveat.

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?

There is no output schema, so the description must convey return shape, and it does: a 12-point monthly CPI series in percent and a year-average annual series newest-first. Units, ordering, and historical depth are all covered; what is missing is how the returned points are keyed or labeled, which leaves a small gap for an agent parsing results.

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?

The description's monthly/annual framing adds some meaning about what the result set represents, but it never explicitly connects that to the 'year' or 'annual_years' parameters. With 100% schema description coverage, the schema already carries parameter definitions, so the 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 description uses a specific verb and resource ('Get Iran's inflation rate as published by the Central Bank') and then enumerates the three series it serves: monthly, annual, and latest. This is concrete enough to distinguish it from rate or liquidity siblings, though it never explicitly names an alternative tool for comparison.

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

Usage Guidelines3/5

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

It describes what each variant returns, which implies when each is useful, but gives no explicit 'use this when' framing and no exclusions versus cb_rate_history, cb_policy_rates, or cb_statistics. The '1401 has a base-year change' note is a useful data caveat but is not routing guidance.

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