Skip to main content
Glama

Statcan Series

statcan_series
Read-onlyIdempotent

Fetch any Statistics Canada series by its numeric vector id (e.g. 41690973 = CPI all-items), escape hatch for the full StatCan catalogue. Find vector ids at www150.statcan.gc.ca (table/cube pages list their vectors). Returns recent observations + series title.

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": {
      "vector_id": "41690973"
    },
    "name": "statcan_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
recentNoRecent observations to return (1-120, default 12).
vector_idYesStatCan vector id, numeric (with or without a leading "v"), e.g. "41690973".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "vector_id": "41690973"
      +  },
      +  {
      +    "recent": 36,
      +    "vector_id": "v14195325"
      +  }
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds information the annotations cannot convey: the return content ('recent observations + series title') and the fact that the id is discoverable from source pages. It omits failure behavior for unknown or malformed ids, which is the main remaining gap.

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?

Three short clauses, front-loaded with the action and identifier, then the routing rationale, then the id-discovery tip. No repetition of the title or wasted framing.

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?

For a two-parameter read-only fetcher with full annotation coverage and a schema that constrains both inputs, the description supplies what an agent still needs: what a vector id looks like, where to get one, and roughly what comes back. No output schema exists, and the return shape is summarized adequately.

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 both parameters already document themselves, including the 'v' prefix tolerance and the 1-120 range for recent. The description adds only a semantic gloss on what a vector id represents (CPI all-items); it does not explain 'recent' or edge cases, so this is the baseline 3.

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 ('Fetch any Statistics Canada series by its numeric vector id') plus a concrete anchor example (41690973 = CPI all-items) that lets an agent recognize the key space. The phrase 'escape hatch for the full StatCan catalogue' positions it apart from the cube/table-based siblings without ambiguity.

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?

It gives clear usage context: this is the fallback route when you already have a vector id, and it tells the agent where ids come from ('table/cube pages list their vectors' at www150.statcan.gc.ca). It stops short of naming the alternative tools (e.g. the cube_vectors or table siblings) or stating when-not to use it, so it is clear but not fully routing.

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.