Skip to main content
Glama
canada-montreal-open-data-ckan-mcp

canada-montreal-open-data-ckan-mcp

Get Montreal dataset details

get_montreal_dataset_details
Read-onlyIdempotent

Retrieve full CKAN metadata for a Montreal dataset by ID or slug, including license terms, agency ownership, and downloadable resource URLs. Use it to verify dataset details before access or reuse.

Instructions

Retrieve full CKAN metadata, license terms, agency ownership, and downloadable resource URLs for a Montreal 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_montreal_dataset_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesCity of Montreal Open Data dataset UUID or slug (from search_montreal_datasets).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the description does not need to restate safety. It does add value by specifying what the response contains (metadata, license, ownership, downloadable resource URLs), which an agent cannot infer from the annotations. It omits error behavior for an unknown ID/slug, keeping it short of a 5.

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 sentence with the action front-loaded and the returned fields listed in descending order of importance. No filler, no repetition 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 one-parameter read tool with complete schema coverage and no output schema, the description covers the essential question of what comes back. Only the failure mode for a bad identifier is unaddressed.

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 sole parameter is already documented with UUID-or-slug semantics and its upstream source. The description's 'by ID or slug' only echoes the schema, so the baseline 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 ('Retrieve') and resource ('Montreal dataset') and enumerates the payload: CKAN metadata, license terms, agency ownership, resource URLs. This clearly separates it from search_montreal_datasets or query_montreal_datastore, though it never names a sibling outright.

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?

'by ID or slug' implies this is the follow-up call after a search, and the schema ties dataset_id to search_montreal_datasets. However, the description itself gives no explicit when-to-use or when-not-to-use guidance relative to the search or datastore-query tools.

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