get_legislation

Returns the metadata record for one title: ids, kind, status, portfolio, dates and an in_force block. Use it when you have a title's id and need its details, not its text.

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

Parameters

NameTypeRequiredDefault
legislation_idstringyes
fibobooleannofalse

Notes

Request (get_legislation with {"legislation_id":"C2004A03712"})

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", headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("get_legislation", {
                "legislation_id": "C2004A03712"
            })
            print(result.content[0].text)

asyncio.run(main())

curl

curl -s https://advisor.lawatlas.ai/api/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_legislation","arguments":{"legislation_id":"C2004A03712"}}}'

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 "...".

{
  "schema_version": "3.5",
  "id": "eae28dff-3ff5-48eb-af3f-38686e6f650e",
  "title": "Privacy Act 1988",
  "kind": "act",
  "status": "InForce",
  "in_force": {
    "in_force": true,
    "frl_status": "InForce",
    "since": null,
    "confirmed_with_frl_at": "2026-10-09T16:37:46.550767Z",
    "frl_link": "https://www.legislation.gov.au/Details/C2026C00227",
    "notice": "In force according to the Federal Register of Legislation, as last confirmed on the date shown.",
    "compilation": {
      "register_id": "C2026C00227",
      "compilation_no": 104,
      "check_date": "2026-10-09T16:47:33.513124Z",
      "state": "current",
      "notice": "The Federal Register listed this compilation as the current one on the check date."
    }
  },
  "portfolio": "Attorney-General's Department",
  "portfolio_count": 2,
  "portfolios": [
    "Attorney-General's Department",
    "Department of The Treasury"
  ],
  "issuing_authority": "PARLIAMENT",
  "issuing_authority_name": "Parliament",
  "title_id": "C2004A03712",
  "compilation_id": "C2026C00227",
  "made_date": "1988-12-14",
  "commence_date": "1988-12-14",
  "registered_date": "2005-01-01",
  "last_updated": "2026-06-04",
  "year": 1988,
  "source_url": "https://www.legislation.gov.au/Details/C2026C00227",
  "ai_summary": null,
  "burden_score": 0.13778452205030176,
  "burden_years_in_force": 37.8,
  "burden_offence_count": 30,
  "burden_obligation_count": 1112,
  "burden_civil_penalty_count": 202,
  "burden_computed_at": "2026-09-30T05:51:28.159486",
  "made_under_count": 15,
  "made_under_note": "In-force instruments FRL records as made under this title, matched to it by exact title or title id. Shown beside the score; not counted in it.",
  "formula_disclosure": {
    "formula_count": 1,
    "by_kind": {
      "image_alt_text": 1
    },
    "not_placed_on_a_provision": 0,
    "claim": "This title's authorised text contains formulas that its stored text does not reproduce. Where a formula is placed on a provision, that provision's anchor claim covers its words only and lists the formula. Formulas not placed on a provision are counted here and are part of no verification. See the authorised PDF."
  },
  "endnotes": {
    "not_law": true,
    "compilation": "compilation_104",
    "register_id": "C2026C00227",
    "anchor_state": "not_assessed",
    "note": "Endnotes are not law. They record this compilation's history - required by the Legislation Act 2003 s 15P and the Legislation Rules s 8 - and carry no verdict against the authorised PDF (not_assessed).",
    "endnotes": [
      {
        "number": 1,
        "eid": "endnote_1",
        "heading": "Endnote 1—About the endnotes",
        "kind": "about",
        "rows": 18,
        "pages_pdf": [
          422,
          423
        ],
        "pages_printed": [
          404,
          405
        ],
        "volume": 1,
        "link": "/l/C2004A03712/compilation_104/endnotes/endnote_1"
      },
      {
        "number": 2,
        "eid": "endnote_2",
        "heading": "Endnote 2—Abbreviation key",
        "kind": "abbreviation_key",
        "rows": 24,
        "pages_pdf": [
          424,
          424
        ],
        "pages_printed": [
          406,
          406
        ],
        "volume": 1,
        "link": "/l/C2004A03712/compilation_104/endnotes/endnote_2"
      },
      {
        "number": 3,
        "eid": "endnote_3",
        "heading": "Endnote 3—Legislation history",
        "kind": "legislation_history",
        "rows": 132,
        "pages_pdf": [
          425,
          441
        ],
        "pages_printed": [
          407,
          423
        ],
        "volume": 1,
        "link": "/l/C2004A03712/compilation_104/endnotes/endnote_3"
      },
      "... 2 more"
    ],
    "how_to_read": "get_amendment_history(legislation_id='eae28dff-3ff5-48eb-af3f-38686e6f650e', provision='<the provision number, e.g. 5>') for one provision's history; without `provision` for the list of amending laws (Endnote 3)."
  }
}

Data currency: Advisor serves the text of titles that the Federal Register of Legislation records as in force. It does not return the text of a repealed, ceased or sunset title, for any date.

  • A title or a served provision carries a status block (status, or in_force in a list) with in_force, frl_status and confirmed_with_frl_at: when Advisor last confirmed the status with the Federal Register.
  • Served text and search hits carry a compilation block with register_id, compilation_no, check_date and state. state is one of four values:
    • current: the Federal Register's latest list names the compilation the text comes from.
    • not_current: the Federal Register lists a newer compilation. Tell the user, and use the frl_link in the response.
    • pending_compilation: amendments have commenced that are not yet compiled, so the text does not include them.
    • not_confirmed: the Federal Register lists no current compilation, or Advisor holds no record of one. Treat it as unknown.
  • TITLE_NOT_IN_FORCE and COMPILATION_NOT_CURRENT are answers, not failures. Show the user the Federal Register link in the response and do not fill the gap from another source.

FIBO alignment

Pass fibo: true to add a fibo block that classifies the result with the vocabulary of FIBO, the Financial Industry Business Ontology many banks use to model their data. Without it, or with fibo: false, the response is exactly what it was. The block classifies; it adds no claim. LawAtlas.ai has offered its Australian regulator files to the EDM Council for FIBO, and until they are merged their identifiers are published at lawatlas.ai/ontology/fibo-au. FIBO is a trademark of the EDM Council.

A response with the block also carries fibo_alignment (the block's version, the FIBO release it was checked against, the namespace and the rule) and its own schema_version.

For the whole path, from a regulator to its standard's obligation rows, see Classify Advisor data with FIBO.

With fibo: true, the AML/CTF Act: FIBO's StatuteLaw, made by the Parliament of Australia.

Request (get_legislation with {"legislation_id":"C2006A00169","fibo":true})

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", headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("get_legislation", {
                "legislation_id": "C2006A00169",
                "fibo": true
            })
            print(result.content[0].text)

asyncio.run(main())

curl

curl -s https://advisor.lawatlas.ai/api/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_legislation","arguments":{"legislation_id":"C2006A00169","fibo":true}}}'

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

{
  "schema_version": "3.7+fibo.1",
  "id": "d2f0cb58-5bf0-4408-a153-c618ef8d3e40",
  "title": "Anti-Money Laundering and Counter-Terrorism Financing Act 2006",
  "kind": "act",
  "status": "InForce",
  "in_force": {
    "in_force": true,
    "frl_status": "InForce",
    "since": null,
    "confirmed_with_frl_at": "2026-10-23T17:26:12.144822Z",
    "frl_link": "https://www.legislation.gov.au/Details/C2026C00447",
    "notice": "In force according to the Federal Register of Legislation, as last confirmed on the date shown.",
    "compilation": {
      "register_id": "C2026C00447",
      "compilation_no": 63,
      "check_date": "2026-10-27T17:24:56.130299Z",
      "state": "current",
      "notice": "The Federal Register listed this compilation as the current one on the check date."
    }
  },
  "portfolio": "Department of Home Affairs",
  "portfolio_count": 1,
  "portfolios": [
    "Department of Home Affairs"
  ],
  "issuing_authority": "PARLIAMENT",
  "issuing_authority_name": "Parliament",
  "maker": null,
  "maker_note": "An Act is made by the Parliament and has no making words, so maker is always null for an Act.",
  "title_id": "C2006A00169",
  "compilation_id": "C2026C00447",
  "made_date": "2006-12-12",
  "commence_date": "2006-12-12",
  "registered_date": "2006-12-14",
  "last_updated": "2026-10-01",
  "year": 2006,
  "source_url": "https://www.legislation.gov.au/Details/C2026C00447",
  "ai_summary": null,
  "burden_score": 0.12828567249787212,
  "burden_years_in_force": 19.8,
  "burden_offence_count": 109,
  "burden_obligation_count": 785,
  "burden_civil_penalty_count": 281,
  "burden_computed_at": "2026-09-30T05:51:28.159486",
  "burden_note": "burden_obligation_count and burden_offence_count count mentions of obligation and offence words across this title's text, for the burden_score ranking. They are not the obligations list_obligations serves - one row per item, quoted, by its own rules - and the two numbers differ.",
  "made_under_count": 6,
  "made_under_note": "In-force instruments FRL records as made under this title, matched to it by exact title or title id. Shown beside the score; not counted in it.",
  "endnotes": {
    "not_law": true,
    "compilation": "compilation_63",
    "register_id": "C2026C00447",
    "anchor_state": "not_assessed",
    "note": "Endnotes are not law. They record this compilation's history - required by the Legislation Act 2003 s 15P and the Legislation Rules s 8 - and carry no verdict against the authorised PDF (not_assessed).",
    "endnotes": [
      {
        "number": 1,
        "eid": "endnote_1",
        "heading": "Endnote 1—About the endnotes",
        "kind": "about",
        "rows": 18,
        "pages_pdf": [
          403,
          404
        ],
        "pages_printed": [
          385,
          386
        ],
        "volume": 1,
        "link": "/l/C2006A00169/compilation_63/endnotes/endnote_1"
      },
      {
        "number": 2,
        "eid": "endnote_2",
        "heading": "Endnote 2—Abbreviation key",
        "kind": "abbreviation_key",
        "rows": 24,
        "pages_pdf": [
          405,
          405
        ],
        "pages_printed": [
          387,
          387
        ],
        "volume": 1,
        "link": "/l/C2006A00169/compilation_63/endnotes/endnote_2"
      },
      {
        "number": 3,
        "eid": "endnote_3",
        "heading": "Endnote 3—Legislation history",
        "kind": "legislation_history",
        "rows": 60,
        "pages_pdf": [
          406,
          414
        ],
        "pages_printed": [
          388,
          396
        ],
        "volume": 1,
        "link": "/l/C2006A00169/compilation_63/endnotes/endnote_3"
      },
      "... 1 more"
    ],
    "how_to_read": "get_amendment_history(legislation_id='d2f0cb58-5bf0-4408-a153-c618ef8d3e40', provision='<the provision number, e.g. 5>') for one provision's history; without `provision` for the list of amending laws (Endnote 3)."
  },
  "fibo": {
    "release": "FIBO master_2026Q3, commit 33a92cd",
    "type": "https://spec.edmcouncil.org/fibo/ontology/FND/Law/LegalCore/StatuteLaw",
    "type_label": "statute law",
    "made_by": "https://lawatlas.ai/ontology/fibo-au/AUGovernmentEntitiesAndJurisdictions/ParliamentOfAustralia",
    "from_issuing_authority": "PARLIAMENT",
    "is_in_force_in": {
      "jurisdiction": "https://lawatlas.ai/ontology/fibo-au/AUGovernmentEntitiesAndJurisdictions/AustralianJurisdiction",
      "confirmed_with_frl_at": "2026-10-23T17:26:12.144822Z"
    }
  },
  "fibo_alignment": {
    "version": "1.0",
    "release": "FIBO master_2026Q3, commit 33a92cd",
    "namespace": "https://lawatlas.ai/ontology/fibo-au/",
    "rule": "Each fibo block classifies a result with FIBO vocabulary; it adds no claim. An obligation row is linked to a FIBO class by skos:closeMatch, never typed as one: the row is a quoted provision whose text expresses an obligation, not a statement of whom it applies to.",
    "note": "LawAtlas.ai has offered these Australian individuals to the EDM Council for FIBO; until they are merged their IRIs are in LawAtlas.ai's namespace."
  }
}

Errors

CodeMeaningWhat to do
NOT_FOUNDNo title has this idFind the title with search_legislation or resolve_reference
INVALID_ARGUMENTThe id is not a UUID or a register idUse one of the forms in the notes

Related tools