Skip to main content
Glama

Statcan Csv Url

statcan_csv_url
Read-onlyIdempotent

Return the StatCan-hosted URL for a full cube as a CSV download (doesn't fetch the file, hands back a direct URL).

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": {
      "product_id": 36100434
    },
    "name": "statcan_csv_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoen | fr (default en).
product_idYesCube product ID.

Output Schema

NameRequiredDescriptionDefault
statusYesResponse status from API
languageYesLanguage code
product_idYesCube product ID
download_urlYesStatCan-hosted CSV download URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, open-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: the call performs no download and returns a URL rather than file contents, which prevents the agent from expecting binary payloads.

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 zero filler; the key behavioral clarification is placed immediately after the core statement as a parenthetical.

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?

For a two-parameter, read-only URL resolver with an output schema and full parameter documentation, the description covers what the agent needs to call it correctly. A minor remaining gap is whether the returned URL has any expiry, authentication requirement, or size implications, which would matter before handing the link to a user.

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 (product_id, language) are documented in the schema itself, so the baseline is 3. The description adds no further parameter meaning such as URL format differences by language or what a product_id must reference.

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 ('Return ... URL') and resource ('full cube as a CSV download') for a named provider, and the parenthetical explicitly contrasts it with data-fetching behavior ('doesn't fetch the file, hands back a direct URL'), which separates it from sibling tools like statcan_cube_data.

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 phrase 'doesn't fetch the file' gives a clear condition for selecting this tool over one that returns actual data, so an agent can infer when to use it. It stops short of naming an explicit alternative to use instead, so it is clear context rather than full when/when-not guidance.

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.