Skip to main content
Glama

US BLS Public Labor and CPI MCP

Get US CPI inflation data

get_cpi_inflation
Read-onlyIdempotent

Fetch US Consumer Price Index (CPI-U) observations and computed month-over-month and year-over-year inflation percentages.

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

Input Schema

NameRequiredDescriptionDefault
monthsNoNumber of recent monthly observations (default 12).
categoryNoCPI category: all_items (default), core, food, energy, or shelter.

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 readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description does add genuine behavioral value by disclosing that the tool computes MoM and YoY percentages rather than returning only raw index values, but it says nothing about data source, publication lag, revisions to prior months, or rate limits.

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?

A single front-loaded sentence with the verb first and no redundant restatement of the title or schema. Nothing could be trimmed without losing information.

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

Completeness4/5

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

With only two optional parameters, full schema coverage, and rich annotations, the description covers the essentials, and it partly compensates for the absent output schema by naming what comes back (observations plus computed MoM/YoY percentages). It stops short of stating the data source or freshness, which would fully close the gap.

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%, with both 'months' (1-36, default 12) and 'category' (five-value enum) fully documented in the schema, so the baseline is 3. The description adds no meaning about parameter effects — for example, whether 'core' vs 'all_items' changes the computed percentages or just the index series.

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 description gives a specific verb ('Fetch') and a specific resource ('US Consumer Price Index (CPI-U) observations'), plus the derived outputs ('month-over-month and year-over-year inflation percentages'). It clearly identifies this as a CPI-specific tool, though it never differentiates itself from the more generic-looking sibling get_series_data or compare_bls_series.

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?

There is no explicit guidance on when to choose this tool over get_series_data (which plausibly fetches arbitrary BLS series) or compare_bls_series. The intended use is inferable from the name and purpose, but no exclusions, prerequisites, or alternatives are stated.

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.