Skip to main content
Glama
Ontario Open Data CKAN MCP

Ontario Open Data CKAN MCP

Get Ontario dataset details

get_ontario_dataset_details
Read-onlyIdempotent

Retrieve full CKAN metadata, license details, maintainer info, and downloadable resource URLs for an Ontario dataset by ID or slug, so you can inspect and use catalogue data without API keys.

Instructions

Retrieve full CKAN metadata, license details, maintainer info, and downloadable resource URLs for an Ontario dataset by ID or slug.

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "get_ontario_dataset_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesOntario Data Catalogue dataset UUID or slug (from search_ontario_datasets).

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 a read-only, idempotent, non-destructive, open-world operation, so safety is covered. The description adds real value by enumerating the payload contents (metadata, license, maintainer, resource URLs), which annotations cannot convey. It omits error behavior for unknown IDs and any pagination/rate-limit notes, so it adds context without going beyond the minimum bar.

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 the verb first and the payload contents enumerated in order of relevance. No filler, hedging, 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?

With no output schema, the description usefully summarizes what the response contains, which is exactly what an agent needs for this read operation. The remaining gap is failure semantics (what happens for an unresolvable slug), a minor omission for a single-parameter lookup tool with full annotation coverage.

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 is documented with sourcing guidance ("Ontario Data Catalogue dataset UUID or slug (from search_ontario_datasets)"). The description only echoes "by ID or slug" and adds no format or validation detail beyond the schema, so the baseline of 3 is appropriate.

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 pairs a specific verb ("Retrieve") with a precise resource ("full CKAN metadata, license details, maintainer info, and downloadable resource URLs for an Ontario dataset by ID or slug"), so its scope is unmistakable, including the enumeration of what is returned. It does not explicitly name or contrast with siblings such as search_ontario_datasets or query_ontario_datastore, so the differentiation is implied 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 Guidelines3/5

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

Usage is only implied: the "by ID or slug" phrasing suggests it is the follow-up call once a dataset identifier is known, but the description never says when to use it versus search or query tools, nor does it state prerequisites or exclusions. The pointer to search_ontario_datasets appears in the parameter schema, not in the description text.

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