Skip to main content
Glama

ckan_search

Read-onlyIdempotent

Search a national CKAN open-data portal (free, no key). Supported portals: uk (data.gov.uk) and au (data.gov.au). Returns dataset titles, notes, organizations and resource URLs. Use for government datasets by country; use hk_open_data_search for Hong Kong.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsNoMax datasets, default 10, max 100
queryYesSearch terms, e.g. climate
portalNoCKAN portal, default uk

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesSource payload; fields vary per tool
sourceYesHuman-readable upstream source name
retrievedAtYesISO-8601 timestamp of retrieval

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds a genuinely useful operational fact not in the annotations: it is free and requires no API key, and it enumerates the exact portal domains. It could still mention rate limits or result pagination, so it stops short of a 5.

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?

Three tight sentences, front-loaded with what the tool does, then constraining details, then the alternative. Every sentence carries information and none is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, the description need not explain returns, yet it still briefly summarizes them. Combined with the auth note, portal enumeration and sibling routing, an agent has everything needed to call it correctly.

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 every parameter (query, rows, portal) is already documented in the schema with defaults and limits. The description only restates the portals and names their domains (data.gov.uk/data.gov.au), a marginal addition over the enum, so baseline 3 is appropriate.

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?

States a specific verb and resource (search a national CKAN open-data portal), names supported portals (uk/au), and explicitly distinguishes itself from the sibling hk_open_data_search. An agent can route between the CKAN and Hong Kong tools without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives both the positive condition ('use for government datasets by country') and the exclusion/alternative ('use hk_open_data_search for Hong Kong'). Nothing about tool selection is left to inference.

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.