Skip to main content
Glama

Uk Ons Get Dataset

uk_ons_get_dataset
Read-onlyIdempotent

Single dataset metadata: title, description, methodology, contacts, release frequency, latest version, related links.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset_id": "cpih01"
    },
    "name": "uk_ons_get_dataset"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesONS dataset ID (e.g., "cpih01", "ashe-table-1")

Output Schema

NameRequiredDescriptionDefault
idYesDataset ID
typeYesDataset type
stateYesDataset state
themeYesTheme category
titleYesDataset title
licenseYesLicense information
contactsYesContact information
publisherYesPublisher name
descriptionYesDataset description
next_releaseYesNext release date
latest_version_idYesID of the latest version
release_frequencyYesRelease frequency
national_statisticYesWhether it is a national statistic

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so safety and side-effect behavior is covered structurally. The description adds value by disclosing what payload fields come back, but says nothing about behavior for an unknown dataset ID or which IDs are valid without a separate discovery call.

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?

A single front-loaded sentence fragment with no filler; the payload fields are listed compactly. It reads as a gloss rather than a full sentence, which is efficient if slightly terse.

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?

An output schema exists, so return values need not be explained, and the tool takes one well-documented parameter. However, for a metadata lookup the description omits how to obtain a valid dataset_id (e.g., from uk_ons_list_datasets), which is the main practical 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 schema supplies both an explanatory description and two concrete examples ('cpih01', 'ashe-table-1'). The description contributes no additional meaning about the dataset_id format, 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 resource ('Single dataset metadata') and enumerates the fields returned (title, methodology, contacts, release frequency, latest version, related links), which implicitly separates it from uk_ons_list_datasets and uk_ons_get_observations. It lacks an explicit verb like 'retrieve', but the resource and scope are unambiguous.

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 when-to-use guidance, no prerequisites, and no named alternative. The word 'Single' hints that a listing tool exists but the agent must infer the routing decision between this, uk_ons_list_datasets, and uk_ons_get_observations on its own.

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.