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

Grok · Finance

How to Use World Bank dimension values in Grok

Returns the IDs and names available within a database dimension, such as countries, series, or years. Use it to find valid selections before requesting database observations.

Prompts to try with World Bank dimension values in Grok

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

Use World Bank dimension values to look this up and give me the result as a table.

World Bank dimension valuesGrok
Try asking
  • Pull the latest numbers from World Bank dimension values and tell me what changed since last week.

  • Check World Bank dimension values and summarize what you find in three bullet points.

  • Pull the newest data from World Bank dimension values and give me the result as a table.

  • Check World Bank dimension values every morning and tell me only when something changed.

How to set up World Bank dimension values in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 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 World Bank dimension values

    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": "data-worldbank-org/indicators/concept_values",
        "input": {
          "concept": "<concept>",
          "source_id": "<source_id>"
        }
      }'

Then paste one of the prompts above: Grok finds World Bank dimension values on Spiral, shows the price and runs it.

World Bank dimension values providers and prices

Spiral runs World Bank dimension values through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
World Bank Data · Concept values
data-worldbank-org/indicators/concept_values

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 100001

1-based page number; pass next_page from the previous output to continue.

Per page1 to 100050

Rows per page (upstream per_page).

Every API field of World Bank Data · Concept values is on its tool page: open its card above.

What can you do with World Bank dimension values in Grok?

Prepare a country comparison whose measures and classifications are explained alongside the numbers. A chat agent can use World Bank records to identify economies, choose statistics, and explain the documentation behind a comparison.

Document a database before analysis

Create a research inventory for World Development Indicators that lists its dimensions, available dimension values, indicator records, and topic definitions.

Prepare an education comparison

Choose economies and education measures, inspect their definitions and methodology, then discover the database dimensions and values needed to retrieve labeled observations.

Validate a population data import

Check India's country record and population definition, inspect source notes, and reconcile indicator observations with database observations after resolving their dimension labels.

Populate a statistical research browser

Build country and topic navigation from World Bank records, add searchable indicator descriptions, and expose database dimensions with their available selections.

Questions about World Bank dimension values in Grok

Can Grok use World Bank dimension values?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run World Bank dimension values like any built-in tool.

How much does World Bank dimension values cost in Grok?

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

Do I need an Alexandria account to use World Bank dimension values in Grok?

No. Spiral runs World Bank dimension values on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up World Bank dimension values in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while World Bank dimension values runs?

World Bank dimension values runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

How broad is World Bank development data coverage?

The World Bank's December 2024 selection guide describes World Development Indicators as covering over 1,400 indicators and 217 economies, with history reaching 1960. Those figures describe WDI, rather than every database available through the World Bank.

Does every country have a value for every year?

No. Some World Bank indicators come from sporadic surveys and are available only every few years, so country and year coverage varies by measure.

Can I get regional statistics as well as country statistics?

Yes. World Bank aggregate observations cover regions, income levels, and lending groups. Their codes can be used in the country position of a data request.

Does a single response contain all matching results?

Not necessarily. The upstream World Bank API defaults to 50 results per page, so larger selections require additional pages.

Where can I check what a statistic actually measures?

World Bank statistical metadata can include a long definition, sources, periodicity, and methodology. Indicator records also identify the source organization and source database.

Get started

Start using World Bank dimension values in Grok

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

Paste this into Grok:

Set up Grok

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