Show CKAN Dataset Details
ckan_package_showRetrieve complete metadata for a specific CKAN dataset, including resources, organization, tags, and schema fields, to inspect dataset details before querying its data.
Instructions
Get complete metadata for a specific dataset (package).
Returns full details including resources, organization, tags, and all metadata fields.
Notes:
metadata_modified is a CKAN record timestamp (publish time on source portals, harvest time on aggregators), not the content date.
issued/modified are content dates when provided by the publisher.
JSON output adds metadata_harvested_at (same as metadata_modified).
Args:
server_url (string): Base URL of CKAN server
id (string): Dataset ID or name (machine-readable slug)
include_tracking (boolean): Include view/download statistics (default: false)
response_format ('markdown' | 'json'): Output format
On portals that use ckanext-scheming the schema's other root fields are added as "fields" ([{field, label, value}]), each with the label the schema gives it and the value as stored. Portals without scheming are unaffected.
Returns (JSON format): id, name, title, notes, organization, tags, state, license_title, metadata_created, metadata_modified, issued, modified, author, maintainer, frequency, language, publisher_name, holder_name, hvd_category, applicable_legislation, temporal_coverage (array of {start, end, start_equals_issued} from dct:temporal; empty if absent; start_equals_issued=true when start = issued and no end: on dcatapit portals an export default, not a data period), resources (id, name, format, url, size, datastore_active, created, last_modified, api_json_url), view_url, api_json_url
Examples:
{ server_url: "https://dati.gov.it/opendata", id: "dataset-name" }
{ server_url: "...", id: "abc-123-def", include_tracking: true }
Typical workflow: ckan_package_show → pick a resource with datastore_active=true → ckan_datastore_search (query its data)
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": {
"server_url": "<server_url>",
"id": "<id>"
},
"name": "ckan_package_show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Dataset ID (UUID) or machine-readable name slug (e.g., 'raccolta-differenziata-comuni') | |
| server_url | Yes | Base URL of the CKAN server (e.g., https://dati.gov.it/opendata) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |
| include_tracking | No | Include tracking statistics |