Skip to main content
Glama

Calgary Datasets

calgary_datasets
Read-onlyIdempotent

Search the Calgary open-data catalogue (data.calgary.ca) for datasets by keyword. Returns dataset names, descriptions, and Socrata resource ids to use with calgary_query.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "parking",
      "_apiKey": "your-data-calgary-api-key"
    },
    "name": "calgary_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax datasets (1-100, default 20).
queryNoKeyword(s), e.g. "parking", "housing", "tree".
offsetNoOffset for paging.
_apiKeyNoOptional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint."New value: +"Optional, your own Socrata app token for higher rate limits. Omit to use the keyless endpoint."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-data-calgary-api-key",
      +    "query": "parking"
      +  },
      +  {
      +    "_apiKey": "your-data-calgary-api-key",
      +    "limit": 50,
      +    "query": "tree housing"
      +  }
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description still adds value by declaring the return payload (names, descriptions, Socrata resource ids), which matters because no output schema exists. It says nothing about result ordering, relevance ranking, or behaviour on zero matches, which keeps it out of the top band.

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?

Two sentences, zero waste. The core action is front-loaded and the downstream usage note follows immediately, which is exactly the ordering an agent needs.

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 annotations carrying safety and the schema carrying parameter detail, the description only needed to cover purpose and return shape, and it does both. Remaining gaps are minor: whether keywords match names only or also descriptions, and paging semantics beyond the offset field already in the schema.

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 (limit, query, offset, _apiKey) is documented in the schema, including defaults and the rate-limit rationale for the app token. The description adds no meaning beyond that, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (search) and resource (Calgary open-data catalogue at data.calgary.ca), and names the exact output artifacts (dataset names, descriptions, Socrata resource ids). The mention of calgary_query as the consumer of those ids gives an agent a clear boundary between this discovery tool and the sibling query tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The workflow is clear: search by keyword here, then take the returned resource id to calgary_query. That is an explicit handoff to an alternative rather than vague context. It stops short of explicit exclusions (e.g. when to prefer calgary_recent or how to search for a known resource id), so it is not a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.