Skip to main content
Glama
ckan-thaigdc-mcp

ckan-thaigdc-mcp

by nungsatick

Get CKAN Site Info

ckan_site_info
Read-onlyIdempotent

Check a CKAN or Thai GDC catalog’s versions, type, dataset count, and features to confirm datastore support and schema availability before relying on them.

Instructions

Get a catalog's CKAN and Thai GDC versions, catalog type, dataset count and features.

Use this to check whether a site supports something before relying on it: capabilities.datastore means tabular data may be queryable with ckan_query_data, capabilities.scheming means ckan_get_schema works.

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": {
      "site": "<site>"
    },
    "name": "ckan_site_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite alias from ckan_list_sites, e.g. 'nso'
response_formatNo'markdown' for readable text, 'json' for structured datamarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds real value by explaining how to interpret the capabilities output and what those flags enable downstream, though it says nothing about whether unknown site aliases error or return partial data.

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?

Two sentences, both load-bearing: the first declares the return payload, the second declares when to call it and how to read the result. Front-loaded and free of 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?

There is no output schema, so the description carries the burden of describing returns, and it does so by naming the concrete fields plus the capabilities flags. Combined with the conditional routing to ckan_query_data and ckan_get_schema, an agent has everything needed to call and interpret this tool.

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%, with both the site alias (including an example and its source, ckan_list_sites) and the response_format enum fully documented in the schema. The description adds no parameter-level detail beyond that, so the baseline of 3 applies.

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 (get) and resource (a catalog's site info) and enumerates exactly what comes back: CKAN and Thai GDC versions, catalog type, dataset count, and features. This is distinguishable from siblings like ckan_list_sites or ckan_get_schema at a glance.

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?

Explicitly frames the use case as a pre-flight capability check ('check whether a site supports something before relying on it') and routes to concrete alternatives with conditions: capabilities.datastore implies ckan_query_data, capabilities.scheming implies ckan_get_schema. Nothing 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.