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

uk-ons-economic-statistics-mcp

List or search UK ONS datasets

list_uk_ons_datasets
Read-onlyIdempotent

Browse and filter official UK Office for National Statistics datasets by keyword such as inflation, GDP, trade, or labour, with pagination controls.

Instructions

List official UK Office for National Statistics datasets or filter them by keyword (for example "inflation", "gdp", "trade", "labour").

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": "list_uk_ons_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum datasets to return (default 20).
offsetNoPagination offset (default 0).
searchNoOptional keyword filter matched against dataset ID, title, description, and keywords.

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?

The annotations already establish that this is a read-only, open-world, idempotent, non-destructive operation. The description reinforces the listing/search behavior and keyword filtering but adds no further behavioral context such as pagination behavior, result ordering, or rate limits beyond what the schema and annotations provide.

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?

The description is a single front-loaded sentence with no wasted wording. The keyword examples are compact and directly support the search use case.

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 simple list/search tool with three optional, fully documented parameters and rich annotations, the description is largely complete. It could mention routing to sibling detail tools or basic return shape, but those are minor gaps given the schema and annotations.

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%, so limit, offset, and search are already documented in the input schema. The description adds useful examples of search keywords but does not elaborate on pagination or matching semantics beyond the schema.

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 uses a specific verb and resource: listing UK Office for National Statistics datasets, with optional keyword filtering. It is clear enough to distinguish a list/search operation from the sibling detail-oriented tools, but it never explicitly routes users away from get_uk_ons_dataset_details.

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 description implies usage for discovering datasets or filtering by keyword, and gives example keywords. However, it does not state when to use this tool instead of siblings such as get_uk_ons_dataset_details or get_dataset_editions_and_versions.

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