Advisor developer documentation
Connect an MCP client to LawAtlas.ai Advisor, get a credential, call its tools and handle the status of the law it returns.
Advisor MCP
- Advisor MCP overview: What Advisor MCP is, who it is for, its endpoints and transports, and the two ways to authenticate.
- Connect a client: Paste-ready configuration for each MCP client, for subscribers who sign in and partners who hold an API key, and the call that proves it works.
- Get a credential: The two credentials Advisor accepts, a subscriber's sign-in and a partner's API key, and which one to use.
- Your first query: In five minutes, find a title, read one of its provisions, and check that the law is in force and current.
- Tools: All 26 Advisor MCP tools, what each returns, and the partner scope each needs.
- Errors and status codes: Every error code Advisor returns, what it means and what your code should do, and the one HTTP status that matters.
- Rate limits and quotas: The limits on partner API keys, what a limited call returns, how to back off, and what is billed.
- Troubleshooting: Problems seen connecting to and calling Advisor, their causes and their solutions, starting with real failures reported by users.
- health: Check the connection, the server's schema versions and the corpus counts; for a partner key, when the key expires.
- search_legislation: Search the titles in force by name, kind, issuing authority, portfolio and date, and get each one's status.
- resolve_reference: Turn a rough or partial name for a title into ranked candidates, each marked in force or not.
- get_legislation: One title's metadata, including its status, portfolio, dates and burden score.
- get_provision_tree: Navigate a title's structure one level at a time, Chapters to sections; the map, never the text.
- get_provision_text: The text of a provision of law in force, with the compilation it comes from, its status and how it was verified against the authorised PDF.
- search_provisions: Find the provisions of a title that are about something, by phrase or by concept, without knowing the section number.
- find_definition: Where a term is defined in a title, and what each definition says, most specific first.
- get_amendment_history: What changed in a title, when and by which law, for the compilations Advisor holds, and the history its endnotes print.
- get_version_changes: Exactly what changed between two compilations of an Act, provision by provision, with the old and new text.
- uncommenced_amendments: Amendments that are made but not yet in operation, soonest first, for one title or across a portfolio.
- get_uncommenced_text: The text of an amendment that has not yet commenced, as the amending law states it.
- list_recent: The titles in force most recently registered or updated on the Federal Register, newest first.
- list_issuing_authorities: Who makes Commonwealth law, as Advisor records it, with the number of titles in force each has made.
- get_network_graph: A title's citation network, one hop out: the titles it cites, the titles that cite it, and the provisions behind each link.
- get_subgraph: The citation network around several titles at once, one hop out, strongest links first.
- get_portfolio_rankings: Legislation ranked by importance within a portfolio's own body of law, for one portfolio or every portfolio at once.
- get_portfolio_functions_and_legislation: A portfolio's functions and the legislation it administers, from the Administrative Arrangements Order in force.
- sunset_radar: Legislative instruments due to sunset within a horizon, soonest first.
- get_disallowance_risks: Legislative instruments open to disallowance in Parliament, with the detail of any motion lodged and its deadline.
- search_gazette: Commonwealth Gazette notices and proclamations, searched by title.
- search_hansard: Search the parliamentary record of both chambers since 2000, for extracts linked to the official record.
- get_hansard_speech: The full verbatim text of one speech from the parliamentary record, with its attribution and official record link.
- hansard_stats: Counts, word totals and date ranges over Hansard, computed in the database, with the same filters as search_hansard.
- list_hansard_filters: The valid values for the Hansard tools' filters: ministers, portfolios, chambers, parliaments and Administrative Arrangements Orders.
- renew_subscription: The link a subscriber uses to renew a lapsed AI Pro subscription.
Data
- Data currency and status: How Advisor tells you whether a title is in force, which compilation its text comes from, and when the Federal Register last confirmed it.
- Hansard: What Advisor holds of the parliamentary record, the conditions of use in full, the attribution and the official record link.
- How Advisor identifies law: Title ids, register ids, compilation numbers, eIds and the /l/ address that cites one provision of one compilation and can be checked later.
- Coverage: What Advisor holds, how much of it, and what it does not hold.
- Knowledge graph: How Advisor connects legislation: citations between titles, how central a title is, and how titles relate to portfolios.
- The Commonwealth Gazette: What Advisor holds of the Commonwealth Gazette, and how to search it.
- Scheduled change: Law that will change but has not yet: uncommenced amendments, sunsetting and disallowance, and the tool for each.
Partners
- The partner page: How an Advisor AI Pro subscriber sets up an organisation, accepts the partner terms, adds clients and issues API keys for a platform that calls Advisor with no person present.
- Partner API keys: The format of a partner API key, how to send it, how it is checked on every call, and how to rotate, revoke and watch for expiry.
- Usage and billing: What a partner's calls cost, which calls are billed, what is recorded about each, and where the owner sees the bill.
- Acting for your users: How a partner platform serving many people identifies them to Advisor without sharing who they are, and what it must show them.
Guides
- Build a legislation Q&A agent: Answer a question about an Act from Advisor's tools, with the text, its status, its verification and a citation, using the official MCP Python SDK.
- Cite Advisor output correctly: What a citation of Advisor's legislation and Hansard must carry, and a function that builds one from a tool response.
Reference
- Glossary: The terms used across Advisor's documentation and payloads, each defined once.
- Changelog: Changes to Advisor MCP that affect what a client sends or receives, newest first.
- Terms and policies: The terms that govern use of Advisor, for subscribers and for partners, and where to read them.
- Support: How to get help with Advisor, and what to include so the problem can be found quickly.