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

canada-vancouver-open-data-mcp

Query Vancouver dataset records

query_vancouver_dataset_records
Read-onlyIdempotent

Query live City of Vancouver open data records by dataset ID using optional ODSQL filters, field selection, sorting, and pagination to retrieve municipal data.

Instructions

Query live records from a City of Vancouver dataset using optional ODSQL where, select, and order_by clauses.

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": "query_vancouver_dataset_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records to return (default 10).
whereNoOptional ODSQL filter expression.
offsetNoPagination offset (default 0).
selectNoOptional comma-separated list of fields to return.
order_byNoOptional ODSQL sort clause.
dataset_idYesCity of Vancouver dataset slug (for example "business-licences" or "property-tax-report").

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, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds that records are 'live' (fresh rather than cached) and that filtering uses ODSQL, but it says nothing about the 50-record ceiling, default page size behavior, rate limits, or what a failed ODSQL expression does.

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 no filler: the verb, resource, and the three optional clause parameters are stated in order of importance. Nothing is repeated from the schema verbatim.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 should carry more about the return shape (a list of records, pagination via offset/limit). The bigger gap is ODSQL: a non-obvious expression syntax is invoked in three parameters without explanation or a pointer to get_vancouver_dataset_schema for field names.

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%, so every parameter including dataset_id's slug examples and limit's default/max is already documented. The description names where, select, and order_by but adds no syntax guidance, does not say whether order_by supports multiple fields, and does not clarify ODSQL dialect differences — so it sits at the baseline.

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 names a specific verb and resource ('Query live records from a City of Vancouver dataset') and adds scope detail by naming the three optional clause types. The word 'records' plus 'dataset' distinguishes it in spirit from metadata siblings like get_vancouver_dataset_schema or list_vancouver_datasets, 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?

Usage is implied by 'live records' and by listing the optional clauses, but there is no explicit when-to-use or when-not-to-use guidance, no direction to inspect the dataset schema first, and no routing statement relative to the sibling tools. The agent must infer the selection logic.

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