Skip to main content
Glama
Ontario Open Data CKAN MCP

Ontario Open Data CKAN MCP

Search Ontario datasets

search_ontario_datasets
Read-onlyIdempotent

Search Ontario's Data Catalogue by keyword or publishing organization slug to locate datasets for policy analysis, research, or application development.

Instructions

Search the Province of Ontario Data Catalogue (data.ontario.ca) by keyword or publishing 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_ontario_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoMaximum datasets to return (default 10).
queryNoOptional search query (e.g. "business", "health", "housing", "energy").
startNoPagination offset (default 0).
organizationNoOptional Ontario ministry or organization slug from list_ontario_organizations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior2/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 fully covered. The description adds only the external host (data.ontario.ca), which is essentially what openWorldHint already conveys; it says nothing about result limits, pagination behavior, or rate limits that would help an agent call it correctly.

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 identifying the resource, the host, and the two search modes, with no filler or redundant restatement of the title.

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 simple read-only search tool with full annotation coverage, a fully documented schema and no output schema, the description covers what the tool does and where it queries. It could optionally note the capped result set or that results feed get_ontario_dataset_details, but nothing essential for invocation is missing.

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 rows, query, start and organization each documented including defaults and the 25-row maximum. The description adds no parameter meaning beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource: 'Search the Province of Ontario Data Catalogue (data.ontario.ca)' and names the two search facets, keyword and organization slug. This differentiates it implicitly from siblings like get_ontario_dataset_details and query_ontario_datastore, though no sibling is named explicitly.

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?

Registry-style search context is implied by 'by keyword or publishing organization slug', but there is no explicit when-to-use vs. when-to-use-an-alternative guidance (e.g., when to prefer query_ontario_datastore or list_ontario_tags). The schema does mention obtaining slugs via list_ontario_organizations, but the description itself carries no routing guidance.

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