Skip to main content
Glama

Annual inflation by year (שיעור אינפלציה שנתי)

get_annual_changes

Retrieve year-by-year changes for any CBS index, including December-over-December, 12-month, annual-average, cumulative changes, and CPI target checks.

Instructions

Year-by-year change of a CBS index, e.g. Israel's annual inflation rate for each of the last 10 years. For every year: December-over-December change (Q4-over-Q4 for quarterly series; year-to-date through the latest month for the current year), the 12-month change exactly as published by CBS, and the change of the annual average. Chain-linked across base changes. Summary: cumulative and average annual change, highest and lowest year. For the headline CPI (120010) each year is also checked against the Bank of Israel 1%-3% target range. Works for any index, e.g. 40010 home prices or 200010 residential building inputs.

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

Input Schema

NameRequiredDescriptionDefault
codeNoCBS index code, e.g. 120010 for the headline CPI (find codes with search_indices)
end_yearNoLast year (default: the current year, shown year-to-date)
start_yearNoFirst year (default: 9 years before end_year)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/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 it does substantial work: it discloses the exact computation per year (December-over-December, Q4-over-Q4 for quarterly series, year-to-date for the current year), the 12-month published change, chain-linking across base changes, and the summary aggregates. Gaps remain around failure behavior, missing-data handling, and performance, but the computational semantics are unusually well disclosed.

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?

Purpose is front-loaded in the first clause and every subsequent sentence adds substantive detail about outputs rather than filler. It is dense to the point of being run-on, with stacked parentheticals, but little could be cut without losing behavioral information.

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?

There is no output schema, so the description must describe return values, and it does so thoroughly: per-year fields, the summary block (cumulative and average annual change, highest/lowest year), and the Bank of Israel target-range check for headline CPI. For a three-parameter computed series tool this covers everything an agent needs before calling it.

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 description coverage is 100%, so all three parameters (code, start_year, end_year) are already documented with defaults and ranges. The description restates the current-year year-to-date default and the nine-year window but adds no new syntax, constraints, or edge-case meaning beyond the schema, so the baseline of 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 opening sentence names a specific derived resource — annual change of a CBS index — and the body clarifies it is a computed year-by-year series rather than raw history, which implicitly separates it from get_index_history. It stops short of explicitly naming a sibling or stating the boundary, so it is clear but not fully differentiated.

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 context is present through concrete examples (120010 headline CPI, 40010 home prices, 200010 building inputs) and 'Works for any index', which tells the agent the applicable scope. There is no explicit when-to-use-this-vs-alternatives guidance, no exclusions, and no pointer to search_indices for code discovery even though that tool appears in the schema text.

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