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

Grok · Public Records

How to Use legislation.gov.uk amendment records in Grok

Returns recorded amendments and commencements involving an Act or instrument, including whether changes have been applied. Use it to trace what changed; the records point to amending provisions rather than containing their text.

Prompts to try with legislation.gov.uk amendment records in Grok

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

Use legislation.gov.uk amendment records to show changes made to the Consumer Rights Act 2015, including which provisions were affected and whether the changes have been applied.

legislation.gov.uk amendment recordsGrok
Try asking
  • Use legislation.gov.uk amendment records to look this up and give me the result as a table.

  • Pull the latest numbers from legislation.gov.uk amendment records and tell me what changed since last week.

  • Check legislation.gov.uk amendment records and summarize what you find in three bullet points.

  • Pull the newest data from legislation.gov.uk amendment records and give me the result as a table.

How to set up legislation.gov.uk amendment records 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 legislation.gov.uk amendment records

    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": "legislation-gov-uk/legislation/list_changes",
        "input": {
          "type": "<type>",
          "year": 1200,
          "number": 1
        }
      }'

Then paste one of the prompts above: Grok finds legislation.gov.uk amendment records on Spiral, shows the price and runs it.

legislation.gov.uk amendment records providers and prices

Spiral runs legislation.gov.uk amendment records through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
legislation.gov.uk · List changes
legislation-gov-uk/legislation/list_changes

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Year1200 to 2100

year

Numbera number from 1

number

Page1 to 100001

page

Per page1 to 5020

Effects per page (results-count), 1-50.

Directionaffected or affectingaffected

affected: changes made to this legislation. affecting: changes this legislation makes to others.

Every API field of legislation.gov.uk · List changes is on its tool page: open its card above.

What can you do with legislation.gov.uk amendment records in Grok?

Prepare a legislation reading list with source references for a policy question. A chat app can organize legislation.gov.uk results into a comparison of titles, provisions, or recorded amendments without treating retrieved wording as automatically up to date.

Prepare a planning legislation brief

Find legislation about nationally significant infrastructure projects, resolve the cited Acts, map relevant headings, read selected provisions, and review recorded amendments for a planning research brief.

Review privacy policy references

Research legislation cited in a business privacy policy, confirm each identifier, locate relevant sections, collect their wording, and examine amendment records before proposing policy revisions.

Build a procurement research pack

Discover procurement legislation, confirm citations, organize the relevant Parts and schedules, retrieve selected text, and attach recorded changes for a purchasing team's review.

Check a consumer rights explainer

Find the legislation behind an article's claims, establish exact identifiers, locate the cited provisions, compare the article with source wording, and inspect amendment records before publication.

Investigate a recorded amendment

Start with an amendment record, then read the linked amending provision to understand the wording behind the recorded effect.

Maintain a legislative research watchlist

Repeat searches for procurement or environmental legislation and compare amendment records for identified Acts to prepare a research update.

Questions about legislation.gov.uk amendment records in Grok

Can Grok use legislation.gov.uk amendment records?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run legislation.gov.uk amendment records like any built-in tool.

How much does legislation.gov.uk amendment records 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 legislation.gov.uk amendment records in Grok?

No. Spiral runs legislation.gov.uk amendment records on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up legislation.gov.uk amendment records 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 legislation.gov.uk amendment records runs?

legislation.gov.uk amendment records runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

Does legislation.gov.uk contain every UK law?

No. It holds almost all UK primary and secondary legislation published since 1988, plus some earlier legislation, so an unsuccessful search does not establish that a law never existed.

How quickly are amendment records added?

The source says recording effects can take up to six weeks when a document is large or many new laws need analysis. That is the time to record changes, not a guarantee that the revised wording has incorporated them.

Does the latest available text include every amendment?

No. Legislation.gov.uk can have known changes that have not yet been applied to its text, and its XML metadata lists outstanding effects.

How far back does the version history go?

Requests before February 1, 1991, normally redirect to the base-date version; the corresponding base date for Northern Ireland legislation is January 1, 2006. Historical version coverage therefore has a different boundary from the date of the law itself.

Can a subject search match exact phrases?

Yes. Legislation.gov.uk supports phrases and Boolean queries in title and text searches, with uppercase AND and OR acting as operators.

Get started

Start using legislation.gov.uk amendment records 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