Skip to main content
Glama

UK government open datasets from the data.gov.uk catalogue

gov_data_gov_uk
Read-only

UK government open datasets from the data.gov.uk catalogue (CKAN API): title, publisher, licence, last modified date, number of resources and dataset link, for a search term. Catalogue metadata only, not the data files themselves. Related tools on this server, for a different need: gov_governmentbids when you need open US/Canadian government bid solicitations listed; gov_govdeals when you need live US government surplus auctions on GovDeals. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "gov_data_gov_uk"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch text, 2 to 80 characters
rowsNoDatasets to return, 1 to 10 (default 5)

Output Schema

NameRequiredDescriptionDefault
queryNo
sourceNo
datasetsNo
checkedAtNo
totalDatasetsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description goes beyond them with concrete cost behavior: $0.002 per successful call via x402 (USDC on Base, Solana, plus 10 networks) and no charge for failed calls. That billing detail is exactly the kind of context annotations cannot convey, though return format and pagination behavior are left to the output schema.

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?

The core purpose and scope limitation are front-loaded in the first two sentences, and the pricing sentence earns its place. The middle "Related tools" sentence is the weakest element: it consumes substantial space to point at tools that are not real alternatives for this 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?

With an output schema present, the description need not explain return values, and annotations cover the safety profile; adding metadata-only scope and per-call pricing completes the picture well. The only gap is that the alternative-tool guidance points to unrelated bid/auction tools rather than helping disambiguate within open-data catalogues.

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 both "q" (2–80 chars) and "rows" (1–10, default 5) are fully documented in the schema itself. The description only echoes the existence of a search term and adds no syntax, matching behavior, or constraint detail beyond that, which is the baseline case for full schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific resource and source ("UK government open datasets from the data.gov.uk catalogue (CKAN API)") and enumerates the returned fields: title, publisher, licence, last modified date, resource count and dataset link. The clause "Catalogue metadata only, not the data files themselves" sharply bounds the scope so an agent can tell it apart from a file-download tool.

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?

It states the usage context ("for a search term") and explicitly rules out fetching the underlying data files, which is useful negative guidance. However, the named alternatives ("gov_governmentbids" for US/Canadian bid solicitations, "gov_govdeals" for surplus auctions) are a poor match for choosing between open-data catalogue tools, so the routing advice is present but unlikely to guide correct selection against the many other open-data siblings.

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.

Resources