Skip to main content
Glama
uk-ons-economic-statistics-mcp

uk-ons-economic-statistics-mcp

Get UK CPIH inflation latest version and dimensions

get_uk_cpih_inflation_metadata
Read-onlyIdempotent

Fetch UK CPIH inflation release metadata, alerts, available dimensions, and download links from the ONS API to inspect official consumer price inflation data without API keys.

Instructions

Fetch the latest UK CPIH inflation (cpih01) release metadata, alerts, available dimensions, and download links directly from the ONS API.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds value beyond them by enumerating exactly what is returned (release metadata, alerts, dimensions, download links) and identifying the upstream source as the ONS API, which matters for a network-dependent call. It stops short of noting auth needs 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 no filler; every clause contributes either the dataset identity, the returned content, or the source system. Nothing needs trimming or reordering.

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 no output schema, the description must carry the return-value burden, and it does so by listing the four content categories the agent will receive. A brief note on response shape or the meaning of "alerts" would close the remaining gap, but for a zero-parameter read tool this is largely complete.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. It correctly frames the call as parameter-free by describing a fixed, latest-release lookup.

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 pairs a specific verb ("Fetch") with a precisely scoped resource: the latest CPIH (cpih01) release metadata, alerts, dimensions, and download links from the ONS API. The dataset-code specificity makes it distinguishable from the generic ONS dataset siblings, though it never names or contrasts them explicitly.

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 narrow scope ("latest CPIH release metadata"), so an agent can infer this is the entry point for CPIH discovery. However, there is no explicit statement of when to prefer this over get_uk_ons_dataset_details or get_dataset_editions_and_versions, and no exclusions or prerequisites are given.

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