statcan_table_dimensions
Dimensions and members of a table
For one curated Statistics Canada table: its dimensions and the member names you can pass to statcan_bc_latest (for example Gender: Women+, Age group: 65 years and older). Geography is fixed to British Columbia.
Cost: 2 units of your allowance (see Rate limits).
Parameters
product_id(integer, required): min 10000000, max 99999999
REST
curl -X POST https://api.bcmcp.ca/v1/tools/statcan_table_dimensions \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{"product_id":10000000}'MCP
Call the tool statcan_table_dimensions with these arguments. Over raw JSON-RPC:
curl -X POST https://api.bcmcp.ca/mcp \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"statcan_table_dimensions","arguments":{"product_id":10000000}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.