Spiral gives your agent every tool with one account. Browse the tools →

OpenClaw · Finance

How to Use Statistics Canada table definitions in OpenClaw

Returns the metadata that describes a Statistics Canada table and its dimensions. Use it to identify the available categories and understand the table before choosing the series to retrieve.

Prompts to try with Statistics Canada table definitions in OpenClaw

Copy an example into OpenClaw, or ask in your own words.

Once a month, use Statistics Canada table definitions for 14-10-0287-01 to report changes in the available labor force measures or geographic categories.

Statistics Canada table definitionsOpenClaw
Try asking
  • Every Monday at 9am: use Statistics Canada table definitions to look this up and give me the result as a table.

  • Pull the latest numbers from Statistics Canada table definitions and tell me what changed since last week.

  • Check Statistics Canada table definitions and summarize what you find in three bullet points.

  • Pull the newest data from Statistics Canada table definitions and give me the result as a table.

How to set up Statistics Canada table definitions in OpenClaw

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send OpenClaw this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Statistics Canada table definitions

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "statcan-gc-ca/economic-statistics/table_metadata",
        "input": {
          "url": "<url>"
        }
      }'

Then paste one of the prompts above: OpenClaw finds Statistics Canada table definitions on Spiral, shows the price and runs it.

Statistics Canada table definitions providers and prices

Spiral runs Statistics Canada table definitions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Statistics Canada (www150.statcan.gc.ca) · Table metadata
statcan-gc-ca/economic-statistics/table_metadata

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Max members1 to 5000200

Members listed per dimension at most.

Include footnoteson or off

include_footnotes

Every API field of Statistics Canada (www150.statcan.gc.ca) · Table metadata is on its tool page: open its card above.

What can you do with Statistics Canada table definitions in OpenClaw?

Keep a recurring Canadian economic briefing current as StatCan publishes releases and table changes. A scheduled agent can check for new material, refresh selected observations, and summarize the source's published explanations.

Prepare an inflation briefing

Find the latest CPI announcement, read its explanation, identify the supporting table, inspect its definitions, and compare observations with a known vector series. Check table updates before refreshing the briefing.

Write a provincial labor market report

Discover the latest Labour Force Survey release, locate the monthly labor table, confirm the available provincial categories, and compare unemployment observations. Reuse identified vectors for later editions and check which tables changed.

Maintain a Canadian economic dashboard

Discover relevant releases and datasets, check table definitions, and populate charts with selected observations or known vectors. Use changed-table results to choose what to refresh and Daily articles to explain new movements.

Check statistics before publication

Trace an economic claim to its Daily article and statistical table. Confirm the categories, compare table observations with the cited vector, and check for table updates before publishing the final report.

Compare provincial CPI trends

Locate the monthly CPI table, inspect its geographic and product categories, and retrieve comparable provincial series for a chart covering the same reference periods.

Questions about Statistics Canada table definitions in OpenClaw

Can OpenClaw use Statistics Canada table definitions?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Statistics Canada table definitions like any built-in tool.

How much does Statistics Canada table definitions cost in OpenClaw?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

Do I need an Alexandria account to use Statistics Canada table definitions in OpenClaw?

No. Spiral runs Statistics Canada table definitions on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Statistics Canada table definitions in OpenClaw?

About two minutes: add the server, then sign in, then reload and check.

Does OpenClaw wait while Statistics Canada table definitions runs?

Statistics Canada table definitions runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.

Does Statistics Canada provide individual survey responses?

The public data API provides aggregate statistics and metadata. Its documented coverage is public statistical databases, rather than individual survey responses.

When does Statistics Canada publish new information?

The Daily normally appears Monday through Friday at 8:30 a.m. Eastern time, excluding holidays. Statistics Canada's data service also publishes updates each business day.

Are archived tables still updated?

No. Statistics Canada defines an archived table as publicly available but no longer updated, so an accessible historical table may not contain current observations.

Can published observations be preliminary or revised?

Yes. Statistics Canada identifies preliminary observations with p and revised observations with r; those distinctions matter when comparing a published release with later table values.

Does every statistic cover the same geographic areas?

No. Available geography depends on the table: monthly CPI table 18-10-0004-01 includes national, provincial or territorial, and selected municipal and metropolitan geography types.

Get started

Start using Statistics Canada table definitions in OpenClaw

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into OpenClaw:

Set up OpenClaw

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options