Skip to main content
Glama

Eurostat EU Inflation HICP MCP

Get Eurostat HICP consumption basket weights by COICOP division

get_hicp_basket_weights
Read-onlyIdempotent

Retrieve official Eurostat HICP item weights (prc_hicp_inw, parts per 1,000 and percentage share) across major COICOP divisions for a geography.

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_hicp_basket_weights"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoNoEurostat geography code (default "EA20").
coicopsNoOptional COICOP codes (defaults to CP01 through CP12).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value by naming the source dataset and the output units, but says nothing about which reference year(s) the weights cover, refresh cadence, or response shape.

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?

One dense sentence, front-loaded with the verb and resource, with provenance and units packed into parentheses and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read with rich annotations this is nearly sufficient, and the units and dataset identity are given. However, with no output schema the description should clarify the temporal dimension (weights are typically annual and revised) and roughly what a record contains, which it does not.

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% and both parameters already document defaults (EA20, CP01–CP12). The description complements this by framing the coicops argument as 'major COICOP divisions' and geo as the geography the weights apply to, so an agent understands the semantics rather than just the types.

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?

States a specific verb (retrieve) and resource (Eurostat HICP item weights), plus the exact dataset code prc_hicp_inw, the units (parts per 1,000 and percentage share), and the COICOP dimension. This clearly separates it from the index/inflation siblings, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

No statement of when to use this versus get_hicp_price_index or get_hicp_annual_inflation, and no prerequisites, exclusions, or typical workflow context (e.g. using weights to compute contributions to inflation). Usage is only inferable from the noun 'weights'.

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.