Statcan Cube Data
statcan_cube_dataLatest N observations for a specific series within a StatCan cube. coordinate is a 10-position dot-separated string indexing each dimension (map members → positions via statcan_cube_metadata). Trailing zeros for unused dimensions.
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": {
"coordinate": "1.2.0.0.0.0.0.0.0.0",
"product_id": 36100434
},
"name": "statcan_cube_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n_periods | No | Latest N periods (default 12). | |
| coordinate | Yes | 10-position coordinate, e.g. "1.2.0.0.0.0.0.0.0.0". | |
| product_id | Yes | Cube product ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vector_id | Yes | Series vector ID | |
| coordinate | Yes | 10-position coordinate string | |
| product_id | Yes | Cube product ID | |
| observations | Yes | Latest N observations | |
| series_title | Yes | English series title | |
| frequency_code | Yes | Release frequency code |