Skip to main content
Glama
canada-calgary-open-data-mcp

canada-calgary-open-data-mcp

Get Calgary dataset metadata

get_calgary_dataset_metadata
Read-onlyIdempotent

Retrieve metadata, typed column definitions, descriptions, and update timestamps for a City of Calgary open dataset ID to understand its structure before querying.

Instructions

Fetch metadata, typed column definitions, description, and update timestamps for a City of Calgary 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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "get_calgary_dataset_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataset_idYesSocrata four-by-four dataset ID (for example "c2es-76ed").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorld, so the safety profile is covered. The description usefully adds what the payload contains, but says nothing about behavior on an unknown dataset ID, rate limits, or whether fields can be missing — the gaps an agent would want for a remote open-world call.

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?

A single front-loaded sentence with no filler, and the key action plus returned artifacts come first. Minor redundancy in leading with "metadata" and then enumerating fields that are themselves metadata keeps it just short of ideal.

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?

Given one required parameter with full schema documentation and no output schema, the description covers the important missing piece by telling the agent what is returned. Only failure-mode information for invalid IDs is absent, which is a small residual gap for a simple read-only lookup.

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 schema itself supplies the Socrata four-by-four format plus an example ("c2es-76ed"). The description only restates that the ID refers to a City of Calgary dataset, adding no format or validation detail 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?

The description states a specific verb+resource ("Fetch metadata ... for a City of Calgary dataset ID") and enumerates what comes back: typed column definitions, description, and update timestamps. That clearly separates it from the query_* and search_* siblings by role, though it never names an alternative to contrast with.

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 return contents (column types, description) suggest this is the discovery step before a query, but there is no explicit "use this when..." statement or exclusion pointing to search_calgary_opendata_catalog or query_calgary_socrata_dataset.

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