Skip to main content
Glama

Merit — Ukrainian Law & Registers

Search Consumer Price Index

ua_cpi_inflation__search
Read-onlyIdempotent

Ukrainian consumer price index figures over a period range, newest first.

This is Derzhstat's own consumer price index, not a producer price index and not the NBU's mixed inflation series. The distinction matters: the month-on-month series (base_period PREV_MONTH) is what Article 625(2) of the Civil Code is computed from.

An index of 100.0 means no change against its base. Omitting base_period returns every base for each period, which is rarely what a calculation wants.

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

Input Schema

NameRequiredDescriptionDefault
freqNo'M' monthly or 'A' annual.
limitNoMax rows to return (0-500); 0 returns the count alone.
offsetNo
date_toNoInclusive upper bound.
date_fromNoInclusive lower bound: YYYY, YYYY-MM or YYYY-MM-DD.
base_periodNoDerzhstat BASE_PERIOD code, e.g. PREV_MONTH.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower. The description still adds real behavior: result ordering (newest first), the meaning of an index value of 100.0, and the fan-out behavior when `base_period` is omitted. It says nothing about pagination semantics beyond what the schema carries, which is the only gap.

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?

Three short paragraphs, front-loaded with what the tool returns, then the disambiguation, then the practical caveat. No filler. The Article 625(2) reference is domain-specific but justifies itself by telling the agent which series a legal calculation consumes.

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 read-only, no-required-parameter search with 83% schema coverage and no output schema, the description covers the remaining ambiguities an agent would hit: which series, ordering, index interpretation, and the base_period default trap. Nothing essential to a correct call 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 83%, so baseline would be 3. The description earns above baseline by explaining why `base_period` matters (PREV_MONTH is the Article 625(2) series) and what omitting it actually returns, which is semantic meaning absent from the schema's terse 'Derzhstat BASE_PERIOD code, e.g. PREV_MONTH.'

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?

Opens with a specific verb+resource+scope: 'Ukrainian consumer price index figures over a period range, newest first.' It then explicitly excludes two lookalike series (producer price index, NBU mixed inflation), which is exactly the differentiation an agent needs among the many ua_* statistical tools.

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?

Gives concrete usage guidance: the PREV_MONTH series is the one Article 625(2) calculations require, and omitting `base_period` returns every base per period, 'which is rarely what a calculation wants.' That steers the agent away from a default mistake. It stops short of naming a sibling tool to use instead for NBU or PPI series, so it is not a full when/when-not routing statement.

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.