Skip to main content
Glama

CBS index history (chain-linked)

get_index_history

Retrieve monthly or quarterly CBS index history between two months, with rebased values for continuity across base changes plus chain-linked changes and range statistics.

Instructions

Monthly (or quarterly) history of a CBS index between two months. Every observation is returned as published plus a rebased_value on the latest base, giving one continuous series across CBS base changes. Also returns the chain-linked change_pct, annualized_pct, min/max and the base changes (with chaining coefficients) inside the range. Up to 360 observations are listed; statistics always cover the full range.

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": {
      "start_month": "<start_month>"
    },
    "name": "get_index_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoCBS index code, e.g. 120010 for the headline CPI (find codes with search_indices)
end_monthNoLast month, YYYY-MM. Defaults to the latest published
start_monthYesFirst month, YYYY-MM

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that observations are returned as published plus a rebased_value on the latest base, that chaining coefficients accompany base changes, and critically that results are capped at 360 observations while statistics still cover the full range. It does not mention auth or error behavior, but the truncation disclosure is exactly the kind of context an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each front-loaded and purposeful: purpose first, then return content, then the 360-observation cap. No filler and nothing that repeats structured fields.

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 3-parameter tool with no output schema and no annotations, the description compensates well by explaining return values (rebased_value, change_pct, annualized_pct, min/max, base changes) and the truncation rule. An agent has everything needed to call it correctly and interpret the result.

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 the schema already documents code, start_month, and end_month formats. The description reinforces the two-month range concept and the monthly/quarterly granularity, but adds no syntax or default details beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description opens with a specific verb and resource: monthly/quarterly history of a CBS index between two months. It distinguishes itself from get_latest_index by making clear this returns a range with chain-linked rebasing rather than a single current value. An agent can identify the tool's job without opening the schema.

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?

Usage is implied by the range-based framing, but the description never explicitly says when to use this instead of get_latest_index or get_annual_changes. The only routing hint (find codes with search_indices) lives in the parameter schema, not the description. Adequate but with a clear gap in explicit alternative guidance.

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