Skip to main content
Glama

Read the current text of an act

get_law_text
Read-only

Retrieve the latest compilation of a Commonwealth act or instrument. Get a table of sections, a specific section, or the full text (paginated) from the Federal Register of Legislation.

Instructions

Returns the latest compilation of a Commonwealth act or instrument. Without a section number it lists the table of sections; with one it returns that provision. Set full=true for the whole text, paginated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNoReturn the full text instead of the table of sections
pageNo
sectionNoSection number, e.g. "3A" or "90-5"
titleIdYesRegister title id, e.g. C2004A03348
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only and open-world behavior. The description adds meaningful behavioral context: default table of sections, section-specific provision retrieval, and paginated full-text mode. It does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, and the most important information is front-loaded. Every clause contributes meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple and well-annotated, and the description covers default behavior, section mode, and full-text mode. Minor gap: the page parameter's semantics are only implied by 'paginated' and not explicitly tied to request/response mechanics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 75% of parameters but leaves 'page' undocumented. The description explains the interplay of section and full parameters, and 'paginated' hints at the page parameter's purpose, adding value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Returns') and clearly identifies the resource ('the latest compilation of a Commonwealth act or instrument'). It distinguishes itself from siblings like get_law_as_at by emphasizing 'latest' and from search tools by describing structured text retrieval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies this is for current text retrieval, not historical or as-at versions, by saying 'latest compilation.' However, it does not explicitly name alternative tools or state when not to use this tool, so it stops short of full usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChangkeunJ/australian-law-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server