Skip to main content
Glama

Get harmonised inflation history

economics_get_harmonised_inflation_history
Read-onlyIdempotent

Monthly harmonised inflation by period for one country. This is the harmonised index of consumer prices (HICP), all items, COICOP 2018, not seasonally adjusted. It is not the national inflation route, which gives each country's own measure. Each country has two series. The default is the annual rate of change, in percent, and it can be negative. Ask for the index level, base 2025=100, with series_id. Find that id with economics_list_series (country and family=harmonised-inflation): the series with unit index is the level. measure says which one the value is, base_period and base_value give the base of the index (index only), classification the price aggregate, and source the publisher of the series. Covers DNK, ESP, FIN, FRA, IRL, LVA, NLD, PRT, SVN and SWE. Any other country answers 404 series_not_found and is not charged. For only the newest value use economics_get_harmonised_inflation.

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": {
      "country": "<country>"
    },
    "name": "economics_get_harmonised_inflation_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast period or day to return, inclusive: `YYYY`, `YYYY-MM` or `YYYY-Q1` (for example `2025`, `2025-06`, `2025-Q2`). Leave out for no upper bound.
limitNoMost rows to return in one answer. Default 100, max 1000.
startNoFirst period or day to return, inclusive: `YYYY`, `YYYY-MM` or `YYYY-Q1` (for example `2025`, `2025-06`, `2025-Q2`). Leave out for no lower bound.
cursorNoPaging token. Leave out for the first page; to read the next one, pass the previous answer's `next_cursor` back unchanged with the same other arguments.
countryYesCountry as a three-letter ISO 3166-1 code in capitals, for example `USA`, `IDN` or `JPN`.
series_idNoSeries id (UUID) from an earlier answer. Leave out for the country's default series.

Output Schema

NameRequiredDescriptionDefault
unitYes
sourceYesWho published the figure. `publisher` is the statistics body whose index it is; `distributor` is the body Narwhal reads it from. One source per series, for its whole history.
countryYes
measureYes`year_over_year` is the annual rate of change in percent; `level` is the index level.
currencyNo
series_idYes
base_valueNoThe index value in the base year. Present for the index level only.
base_periodNoThe year the index is 100 in. Present for the index level only.
next_cursorYes
observationsYes
classificationYesThe price aggregate the figure covers: all items.
seasonal_adjustmentYesAlways `not_seasonally_adjusted` here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / $defs / SignedDepthObservation / properties / period_end
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "format": "date",
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Period End"
      -}
    • removedOutput schema / $defs / SignedDepthObservation / properties / period_start
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "format": "date",
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "title": "Period Start"
      -}
    • changedOutput schema / $defs / SignedDepthObservation / properties / release_status / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "preliminary",
      -      "revised",
      -      "final"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "const": "preliminary",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / $defs / SignedDepthObservation / properties / release_status / description
      Added value: +"`preliminary` when the publisher marks the figure provisional. Left out otherwise."
  2. Changed6 schema fields changed
    • addedInput schema / properties / country / description
      Added value: +"Country as a three-letter ISO 3166-1 code in capitals, for example `USA`, `IDN` or `JPN`."
    • addedInput schema / properties / cursor / description
      Added value: +"Paging token. Leave out for the first page; to read the next one, pass the previous answer's `next_cursor` back unchanged with the same other arguments."
    • addedInput schema / properties / end / description
      Added value: +"Last period or day to return, inclusive: `YYYY`, `YYYY-MM` or `YYYY-Q1` (for example `2025`, `2025-06`, `2025-Q2`). Leave out for no upper bound."
    • addedInput schema / properties / limit / description
      Added value: +"Most rows to return in one answer. Default 100, max 1000."
    • addedInput schema / properties / series_id / description
      Added value: +"Series id (UUID) from an earlier answer. Leave out for the country's default series."
    • addedInput schema / properties / start / description
      Added value: +"First period or day to return, inclusive: `YYYY`, `YYYY-MM` or `YYYY-Q1` (for example `2025`, `2025-06`, `2025-Q2`). Leave out for no lower bound."
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description still adds real behavior: two series per country with a documented default, values that can be negative, the base (2025=100) for index levels, unsupported countries returning series_not_found without being charged, and pagination via cursor in the schema. The billing and 404 notes are exactly the kind of context annotations cannot express.

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-loaded with the core definition and the default-vs-index distinction before the metadata and routing notes; nearly every clause carries signal. The one weak spot is the sentence enumerating `measure`, `base_period`, `base_value`, `classification` and `source`, which describes return fields an output schema already documents.

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?

For a six-parameter historical series tool with full schema coverage, an output schema and safety annotations, the description covers the remaining gaps: series selection, country support, error behavior, and the alternative tool for a single value. Nothing needed to invoke it correctly is missing.

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%, so the baseline is 3, but the description genuinely adds meaning: `series_id` is explained as the switch between annual rate (default) and index level, with an explicit procedure for locating the right id and how `unit` identifies it, and `country` is constrained to a concrete ten-country list beyond the ISO-code pattern in 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 ('Monthly harmonised inflation by period for one country') and immediately scopes it: HICP all items, COICOP 2018, not seasonally adjusted. It explicitly distinguishes itself from the national inflation route and from the single-value sibling, so an agent can place it without opening a 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?

Gives concrete routing rules: default is the annual rate of change, ask for the index level with `series_id`, and find that id via `economics_list_series` with `family=harmonised-inflation` selecting the series whose `unit` is index. It also names `economics_get_harmonised_inflation` for the newest value only, and lists the ten supported countries with the 404 behavior for others.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources