Skip to main content
Glama
ckan-thaigdc-mcp

ckan-thaigdc-mcp

by nungsatick

List CKAN Sites

ckan_list_sites
Read-onlyIdempotent

List available CKAN catalogs and their site aliases so you can choose the right catalog; call this first when you do not know which site other tools should query.

Instructions

List the CKAN catalogs this server may query, with the aliases other tools take as site. Call this first when you do not know which catalog to use.

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

Input Schema

NameRequiredDescriptionDefault
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.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real context beyond them: the list is bounded to catalogs this server may query, and the alias values are the same identifiers other tools consume as `site`, which is the chaining detail an agent actually needs.

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, no filler, and the most decision-relevant information (what the list contains and that its values are usable as `site`) comes before the call-to-action. Nothing could be removed without losing signal.

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?

There is no output schema, so the description carries the burden of explaining the return value, and it does so at the level that matters: catalogs plus their aliases. For a one-optional-parameter read tool this is nearly sufficient; only the exact return shape (e.g. whether descriptions or URLs accompany each alias) is left unstated.

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 coverage is 100% with a single enum parameter whose description already explains markdown vs json. The description says nothing about response_format, so it adds no meaning beyond the schema. With one documented parameter, the baseline of 3 applies rather than the zero-parameter baseline of 4.

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 verb (list) and resource (CKAN catalogs this server may query) and adds the key detail that the returned aliases are the values other tools accept as `site`. It stops short of explicitly contrasting with ckan_site_info, which is the nearest-sounding sibling, so the differentiation is implicit rather than stated.

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

Usage Guidelines4/5

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

"Call this first when you do not know which catalog to use" gives a concrete triggering condition that an agent can act on without opening any schema. It offers no when-not guidance (e.g. skip if you already hold a known alias), so it lands at clear-context-without-exclusions rather than full routing guidance.

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