lgs_table
Local Government Statistics figures (unavailable)
Figures from a Local Government Statistics schedule for a municipality. NOT AVAILABLE: the spreadsheets are not copied or parsed because the ministry pages state no licence. The answer names the file to open instead.
Cost: 1 unit of your allowance (see Rate limits).
Parameters
schedule(string, required)year(integer, required): min 2005, max 2035municipality(string, optional): min length 1, max length 80
REST
curl -X POST https://api.bcmcp.ca/v1/tools/lgs_table \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{"schedule":"...","year":2005}'MCP
Call the tool lgs_table 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":"lgs_table","arguments":{"schedule":"...","year":2005}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.