get_uncommenced_text

Returns the items of the amending law that change a title on a given date: each item's heading (for example "After subparagraph 13K(1)(b)(ii)") and its instruction and text. Pass a title and a commences date from uncommenced_amendments.

FactValue
Toolget_uncommenced_text
Partner scope requiredlegislation:read
Subscriber tier requiredAI Pro
Accepts as_atno

Parameters

NameTypeRequiredDefault
legislation_idstringyes
commencesstringyes

Notes

Request (get_uncommenced_text with {"legislation_id":"C2004A03712","commences":"2026-12-10"})

Python SDK

import asyncio, os
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async def main():
    headers = {"Authorization": f"Bearer {os.environ['LAWATLAS_API_KEY']}"}
    async with streamablehttp_client("https://advisor.lawatlas.ai/api/mcp-http/mcp", headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("get_uncommenced_text", {
                "legislation_id": "C2004A03712",
                "commences": "2026-12-10"
            })
            print(result.content[0].text)

asyncio.run(main())

curl

curl -s https://advisor.lawatlas.ai/api/mcp-http/mcp \
  -H "Authorization: Bearer $LAWATLAS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_uncommenced_text","arguments":{"legislation_id":"C2004A03712","commences":"2026-12-10"}}}'

Response, as Advisor returned it on 10 October 2026. The tool's result is the JSON text of result.content[0].text; lists and long text are trimmed where marked "...".

{
  "legislation": {
    "id": "eae28dff-3ff5-48eb-af3f-38686e6f650e",
    "title": "Privacy Act 1988",
    "register_id": "C2026C00227",
    "status": "InForce"
  },
  "commences": "2026-12-10",
  "days_until": 61,
  "status_note": "NOT IN FORCE. The text below amends Privacy Act 1988 with effect from 2026-12-10. The amending instrument may itself already be in force - that is a different fact and is reported per change below. The current text of Privacy Act 1988, returned by get_provision_text and search_provisions, does NOT include these changes and will not until commencement.",
  "changes": [
    {
      "affect": "Amend",
      "citation": "sch 1 (items 87, 88) of the [Privacy and Other Legislation Amendment Act 2024](/C2024A00128)",
      "provisions_cited": "sch 1 (items 87, 88)",
      "amending_instrument": {
        "title": "Privacy and Other Legislation Amendment Act 2024",
        "register_id": "C2024A00128",
        "status": "InForce",
        "source_url": "https://www.legislation.gov.au/Details/C2024A00128"
      },
      "amending_instrument_held": true,
      "items": [
        {
          "item": "87",
          "heading": "After subparagraph 13K(1)(b)(ii)",
          "text": "Insert:\n(iia)\tAustralian Privacy Principle 1.7 (contents of APP privacy policy—automated decisions);"
        },
        {
          "item": "88",
          "heading": "At the end of clause 1 of Schedule 1",
          "text": "Add:\nAutomated decisions\n1.7\tWithout limiting subclause 1.3, the APP privacy policy of an APP entity must contain the information covered by subclause 1.8 if:\n(a)\tthe entity has arranged for a computer program to make, or do a thing that is substantially and directly related to making, a decision; and\n(b)\tthe decision could reasonably be expected to significantly affect the rights or interests of an individual; and\n(c)\tpersonal information about the individual is used in the operation of the computer program to make the decision or do the thing that is substantially and directly related to mak ..."
        }
      ],
      "unresolved": null,
      "second_reading": {
        "bill_title": "Privacy and Other Legislation Amendment Bill 2024",
        "date": "2024-09-12",
        "chamber": "hofreps",
        "speaker": "Mark Alfred Dreyfus",
        "word_count": 2624,
        "aph_citation_url": "https://parlinfo.aph.gov.au/parlInfo/search/display/display.w3p;adv=yes;orderBy=_fragment_number,doc_date-rev;page=0;query=Dataset%3Ahansardr,hansardr80%20Date%3A12%2F9%2F2024;rec=0;resCount=Default",
        "note": "Second reading speech introducing the Bill that became this amending Act. Read it at the link for the policy intent; the full text is not reproduced here."
      }
    }
  ]
}

Errors

CodeMeaningWhat to do
INVALID_ARGUMENTcommences is not a date in the form YYYY-MM-DDUse the commences value from uncommenced_amendments
NOT_FOUNDNo title has this id, or it has no uncommenced amendment on that dateCall uncommenced_amendments for the dates that exist
TITLE_NOT_IN_FORCEThe title is not in forceShow the frl_link

Related tools