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.
| Fact | Value |
|---|---|
| Tool | get_legislation |
| Partner scope required | legislation:read |
| Subscriber tier required | AI Pro |
Accepts as_at | no |
Parameters
| Name | Type | Required | Default |
|---|---|---|---|
legislation_id | string | yes | |
fibo | boolean | no | false |
Notes
legislation_idaccepts a legislationid, a title id (for exampleC2004A03712) or a compilation id (for exampleC2026C00227).- A title no longer in force is reduced to its name, dates, register id, source link and
in_force: no summary, portfolio or figures. makeris always present for a title in force: the person and office named in the instrument's making words, withchecksaying whether the ministry record confirms that person held that office on the day. It isnullwhere the making words were not read, and alwaysnullfor an Act, which the Parliament makes without making words; the record then carriesmaker_notesaying why.nullis not a finding that the instrument has no making words.burden_score(0 to 1, higher is heavier) is computed in a periodic batch, not live.nullmeans not yet computed for this title, not zero.lineage, on an in-force regulator standard, names the standards it re-made (predecessors) and any that re-made it (successors), each with its title id, status and the source of the link. Empty lists come with a note saying no re-make is recorded. The block names titles, never their text;get_version_changesserves what changed.made_under_count, where present, is how many in-force instruments the Federal Register records as made under this title. 0 is a count; the field is absent where not yet counted.
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, orin_forcein a list) within_force,frl_statusandconfirmed_with_frl_at: when Advisor last confirmed the status with the Federal Register.- Served text and search hits carry a
compilationblock withregister_id,compilation_no,check_dateandstate.stateis 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 thefrl_linkin 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_FORCEandCOMPILATION_NOT_CURRENTare 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.
- On a title:
typeis the FIBO class for its kind (an Act isStatuteLaw, a legislative instrumentRegulation, the ConstitutionConstitution; other kinds arenullwithtype_note).made_byis the maker as a FIBO individual: the Parliament for an Act, the regulator's role for APRA, ASIC, AUSTRAC, the RBA, the AASB, the AUASB and the ATO, otherwisenullwithmade_by_note.from_issuing_authoritynames the code it restates.is_in_force_inappears only when the title is in force, and repeats itsconfirmed_with_frl_at. - On an obligation row:
expresseslinks the row to a FIBO class byskos:closeMatch, never as a type: the row is a quoted provision whose text expresses an obligation, not the obligation itself. A requirement or prohibition closely matchesLegalObligation(FIBO has no prohibition class, and says so). An offence, a benefit condition and a deeming provision haveclass: nullwith the reason.claimrepeats the response's claim, word for word, on every row. - Notification obligations (rule OBL-13): a requirement whose words give or furnish a report or notice to a party, notify or inform a party, or report to, submit to, lodge with or serve on a party closely matches
NotificationObligation, with the words matched, the recipient as the text names it, andnamed_in_text, the obligation's own name where the text gives one ("suspicious matter reporting obligation"). Examples are "must give the AUSTRAC CEO a report", "must give written notice to ASIC", "must give the applicant written notice" and "must give public notice" (the recipient is the public). One adverb may stand between the duty and the verb, as in "must immediately notify the Coroner" or "must also give the Minister a statement", and so may an aside of up to 300 characters, as in "must, within 30 days after notifying NOPSEMA of an incident …, give a written report to NOPSEMA". "Give to [a party] … a report" is matched wherever a requirement's words have it, as in "must, as soon as practicable after 30 June in each year, prepare and give to the Minister a report". Where the row is one item of a list, such as "must notify: if the proceeding is being heard by a Full Court—the presiding Judge", the recipient is the party that item names. The form of the communication is not judged: a duty to give oral notice is matched as a duty to give written notice is, and the matched words show the form where the text states it. A row that does not match stays a legal obligation; a non-match says nothing about whether it is a notification. Each pattern is served only after its matches have been measured over the whole corpus and accepted on review. - On an issuing authority:
organisationandroleIRIs, ornullwith a note.
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
| Code | Meaning | What to do |
|---|---|---|
NOT_FOUND | No title has this id | Find the title with search_legislation or resolve_reference |
INVALID_ARGUMENT | The id is not a UUID or a register id | Use one of the forms in the notes |