Skip to main content
Glama
canada-open-gov-datasets-mcp

canada-open-gov-datasets-mcp

Get Canada dataset package details

get_canada_dataset_package
Read-onlyIdempotent

Retrieve full metadata, license details, and downloadable files for a Government of Canada CKAN dataset ID to inspect and reuse open data.

Instructions

Retrieve full metadata, license details, and downloadable resource files for a Government of Canada CKAN dataset ID.

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": {
      "package_id": "<package_id>"
    },
    "name": "get_canada_dataset_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
package_idYesCKAN dataset UUID or slug (e.g. "b50ee7ee-2bda-4b66-a1ef-7c4d1332da1f").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds useful scope about what the payload contains (metadata, license, downloadable resources), but says nothing about error behavior for an invalid or missing ID, rate limits, or size of resource listings.

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?

A single front-loaded sentence with no filler; every clause (metadata, license, downloadable files) conveys distinct information about the return payload.

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?

For a one-parameter read tool with full annotation coverage and no output schema, the description is nearly sufficient: it enumerates the returned content types. The main gap is the absence of any note on failure modes when the ID is unknown or on how large the downloadable resource list may be.

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% and the single parameter already documents that it accepts a CKAN UUID or slug with an example. The description only restates that the argument is a dataset ID, adding no format or validation detail beyond the schema.

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 uses a specific verb ("Retrieve") and names the exact resource and scope: "full metadata, license details, and downloadable resource files for a Government of Canada CKAN dataset ID." It implicitly contrasts with the search/list siblings by emphasizing a single dataset ID and full detail, though it never names an alternative.

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?

Usage is implied by the phrase "for a ... dataset ID," suggesting it is the follow-up call once an ID is known from a search. There is no explicit when-to-use, when-not-to-use, or named alternative among the siblings, so an agent must infer the routing.

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