Skip to main content
Glama
Aryan-Jhaveri

Statistics Canada MCP Server

get_series_info_from_vector

Retrieve series metadata for a given vector ID, including product ID, coordinates, titles, and frequency, to identify and understand Statistics Canada data series.

Instructions

Request series metadata (productId, coordinate, titles, frequency, etc.) by Vector ID. Disables SSL Verification. Corresponds to: POST /getSeriesInfoFromVector

Returns: Dict[str, Any]: A dictionary containing the series metadata object. Raises: httpx.HTTPStatusError: If the API returns an error status code. ValueError: If the API response format is unexpected or status is not SUCCESS. Exception: For other network or unexpected errors.

IMPORTANT: In your final response to the user, you MUST cite the source of your data. For series info, this means including the VectorId, ProductId (pid), and Coordinate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vectorIdYes
Behavior4/5

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

No annotations are present, so the description carries the full transparency burden. It uniquely discloses 'Disables SSL Verification', documents expected return type, and lists error scenarios. It does not address auth or rate limits, but the safety profile is reasonably conveyed.

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?

The description is well-organized with a lead sentence, endpoint, return, exceptions, and a prominent citation note. No filler; each section adds operational value.

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 parameter-light tool with no output schema, the description is thorough: it explains what metadata is returned, the output type, exceptions, transport behavior (SSL), and a mandatory citation requirement. This is sufficient for successful invocation.

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?

The schema provides only an integer 'vectorId' with no description (0% coverage). The description adds that this ID selects the series and must be cited in the final response, giving it a functional role. It does not explain how to obtain or validate a vectorId.

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 clearly states the action—requesting series metadata—and identifies the resource/identifier (Vector ID). It also specifies the endpoint, making it distinct from sibling get_series_info even without an explicit comparison.

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?

The description implies the tool is used when you have a Vector ID to fetch metadata, but it does not explicitly state when to prefer it over siblings like get_series_info, nor does it list exclusions/alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aryan-Jhaveri/mcp-statcan'

If you have feedback or need assistance with the MCP directory API, please join our Discord server