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

canada-open-gov-datasets-mcp

Search Canada Open Government datasets

search_canada_open_gov_datasets
Read-onlyIdempotent

Search official Government of Canada CKAN open datasets by keyword or organization slug to locate federal data for research, analysis, or applications.

Instructions

Search official Government of Canada CKAN open datasets by keyword and optional organization slug.

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

Input Schema

NameRequiredDescriptionDefault
rowsNoMax datasets to return (default 10).
queryNoSearch keyword or phrase (e.g. "procurement", "contracts", "climate").
startNoPagination offset (default 0).
organizationNoOptional CKAN organization slug filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety and idempotency profile is fully covered elsewhere. The description's only additional behavioral contribution is provenance ('official Government of Canada CKAN'), which usefully signals an authoritative upstream source. It does not mention rate limits, upstream availability, or the relationship between rows and start beyond what the schema says.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the verb and resource, with zero filler or redundancy. It is perhaps slightly too terse for a tool with pagination parameters, but nothing in it fails to earn its place.

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

Completeness3/5

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

The tool is simple (4 optional parameters, full schema coverage, rich annotations), so the description is largely adequate for correct invocation. But there is no output schema, so the description would need to say something about what a result looks like (dataset identifiers, packages, facets) and it does not. That gap keeps it at a minimum-viable level.

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 carries its own description with defaults and bounds. The description restates the keyword and organization slug concepts but adds no new semantics such as slug format, whether keyword matching is full-text or exact, or how rows and start interact for pagination. Baseline 3 applies when the schema already does the explanatory work.

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 gives a specific verb and resource ('Search official Government of Canada CKAN open datasets') plus the two primary axes of the search (keyword, organization slug), so the operation is immediately clear. It stops short of distinguishing itself from the sibling search_canada_procurement_datasets, which is plausibly a narrower search over the same corpus, so the boundary between the two is left to inference.

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 word 'Search' and the keyword examples, and the 'optional organization slug' tells the agent filtering is available. However, there is no explicit when-to-use, when-not-to-use, or pointer to a sibling (e.g. when to prefer the procurement-specific search or get_canada_dataset_package), leaving the agent to guess which tool to select.

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