Skip to main content
Glama

Statcan Changed Series

statcan_changed_series
Read-onlyIdempotent

List StatCan series that changed (new release) on a given date (default today). Useful to detect updated cubes for scheduled refreshes. A release day can list several hundred thousand series, so the list is paged: limit defaults to 2000 series and is at most 10000 (larger values are clamped and the response says so); the response gives total, returned, offset and next_offset (null on the last page). A page over 1.5M characters is cut and first_dropped_offset says where to resume.

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

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD (default today).
limitNoSeries per page (default 2000, max 10000).
offsetNoSeries to skip (default 0); pass the previous response next_offset.

Output Schema

NameRequiredDescriptionDefault
dateYesQuery date (YYYY-MM-DD or 'today')
noteNoPlain-words note on clamping or truncation
countYesNumber of changed series
limitNoPage size used (default 2000, max 10000)
totalNoAll series that changed on the date (exact)
offsetNoSeries skipped
seriesYesList of changed series
clampedNoTrue when the requested limit was lowered to the maximum
returnedNoSeries in this page
truncatedNoTrue when the page was cut to stay under the size cap
next_offsetNoOffset of the next page, null on the last
first_dropped_offsetNoPresent when truncated: offset of the first series not returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Series per page (default 2000, max 10000).",
      +  "type": "number"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Series to skip (default 0); pass the previous response next_offset.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / clamped
      Added value: +{
      +  "description": "True when the requested limit was lowered to the maximum",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / first_dropped_offset
      Added value: +{
      +  "description": "Present when truncated: offset of the first series not returned",
      +  "type": "number"
      +}
    • addedOutput schema / properties / limit
      Added value: +{
      +  "description": "Page size used (default 2000, max 10000)",
      +  "type": "number"
      +}
    • addedOutput schema / properties / next_offset
      Added value: +{
      +  "description": "Offset of the next page, null on the last",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Plain-words note on clamping or truncation",
      +  "type": "string"
      +}
    • addedOutput schema / properties / offset
      Added value: +{
      +  "description": "Series skipped",
      +  "type": "number"
      +}
    • addedOutput schema / properties / returned
      Added value: +{
      +  "description": "Series in this page",
      +  "type": "number"
      +}
    • addedOutput schema / properties / total
      Added value: +{
      +  "description": "All series that changed on the date (exact)",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when the page was cut to stay under the size cap",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations: discloses pagination mechanics, the 2000 default and 10000 hard cap with silent clamping, the exact response envelope (total, returned, offset, next_offset), and the 1.5M-character page truncation with first_dropped_offset for resumption. These are non-obvious behaviors an agent cannot get from annotations or schema.

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?

Three sentences, front-loaded with purpose then pagination constraints; every clause carries information. The pagination sentence is dense but the content is warranted given the tool's scale quirks.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers date scoping, page sizing, clamping, truncation recovery, and continuation semantics, which is everything needed to page through a multi-hundred-thousand-series result. An output schema exists, yet the description still orients the agent to the key response fields needed for correct looping.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it: that out-of-range limit values are clamped (and the response acknowledges it) and that offset should be fed the previous response's next_offset. It does not add date-format detail beyond what the schema already states.

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 and resource with a precise scope: 'List StatCan series that changed (new release) on a given date'. The 'changed on a date' qualifier cleanly separates it from data-retrieval siblings like statcan_series and from scheduling siblings like statcan_release_schedule.

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?

Gives a concrete use case ('detect updated cubes for scheduled refreshes'), which tells the agent when this tool is the right pick. It stops short of naming an explicit alternative or stating when not to use it, but the contextual guidance is clear.

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.