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

uk-ons-economic-statistics-mcp

Get UK ONS dataset editions, versions, and dimensions

get_dataset_editions_and_versions
Read-onlyIdempotent

Retrieve all published editions, version IDs, and dimension definitions for a UK ONS dataset to inspect available releases and prepare data queries.

Instructions

Retrieve all published editions, latest version IDs, and dimension definitions for any UK ONS dataset.

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

Input Schema

NameRequiredDescriptionDefault
dataset_idNoUK ONS dataset slug (default "cpih01").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/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 safety is covered. The description adds one genuinely behavioral nuance — that only the *latest* version IDs are returned rather than every historical version — but says nothing about rate limits, auth, what happens with an unknown dataset_id, or how large the payload may be.

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 sentence that front-loads the verb and then lists the three returned artifacts and the scope. There is no filler, hedging, or repetition.

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?

For a read-only, one-optional-parameter lookup with no output schema, the description sketches the return structure by naming editions, latest version IDs, and dimensions. It stops short of noting how the three are nested or how empty/unpublished datasets are handled, which is the only meaningful remaining 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 description coverage is 100% and the single optional parameter already documents the slug format and the 'cpih01' default. The description only broadens scope ('any UK ONS dataset') without adding format, validation, or defaulting detail 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 description names a specific verb ('Retrieve') and enumerates exactly what comes back: published editions, latest version IDs, and dimension definitions for a UK ONS dataset. This is clearly distinct from a plain dataset listing or a CPIH-specific metadata call, though no sibling tool 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 Guidelines3/5

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

The phrase 'for any UK ONS dataset' implies this is the generic lookup versus the dataset-specific siblings, but the description never says when to prefer it over get_uk_ons_dataset_details or get_uk_cpih_inflation_metadata, nor does it state any prerequisites or exclusions.

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