Skip to main content
Glama

Get Provision (local module)

get_provision

Resolves a specific provision of an Australian Act or instrument by its citation, returning the provision text with provenance from installed local data modules.

Instructions

Deterministic provision lookup over installed local data modules (offline). Resolves a single provision of an Act or instrument by its citable handle (no embedding, no ranking). Returns the provision text with provenance, or a typed not-found result so the router can fall through to live AustLII. Requires @duckdb/node-api and at least one installed module.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actYesAct work identity or citation, e.g. 'Competition and Consumer Act 2010 (Cth)' or a work_id
formatNojson
moduleNoPin a specific module by name; otherwise the best-covering ready module is used
provisionYesCitable provision reference, e.g. 's 18', 'sch 2', 'reg 12', 'cl 4(1)'
Behavior4/5

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

Without annotations, the description carries full burden. It clearly states the tool is deterministic, offline, and resolves provisions via citable handles. It mentions dependencies and return types (provision text with provenance or typed not-found). However, it does not disclose potential side effects, rate limits, or error behavior beyond the not-found case, leaving minor gaps.

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

Conciseness4/5

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

The description is a single paragraph of three sentences, front-loading the core purpose. It efficiently incorporates dependencies, offline nature, and fallback behavior. While clear, the structure could be slightly improved by separating prerequisites from behavior, but overall it is concise and informative.

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?

Given no output schema, the description adequately explains the return value (provision text with provenance or not-found) and mentions the fallthrough mechanism. It covers dependencies and offline context. However, it does not detail the structure of the provenance information or any performance characteristics, leaving some gaps for a complex tool with multiple parameters.

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

Parameters3/5

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

Schema description coverage is 75% (3 of 4 parameters described). The description adds limited parameter-specific meaning: it references 'citable handle' for act and provision, consistent with the schema. No extra details are provided for the module or format parameters beyond what the schema already documents. Thus, the description adds marginal value over 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 clearly identifies the tool's function: deterministic provision lookup over installed local data modules (offline). It distinguishes from siblings by stating it does not use embedding or ranking, contrasting with semantic search tools like semantic_search_local. The mention of fallthrough to live AustLII further differentiates its scope.

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 gives explicit context for when to use this tool: for offline, deterministic lookups. It explains the result type (provision text with provenance or not-found) and the fallback mechanism to live AustLII, implying when not to use it (when online or non-deterministic results are needed). Prerequisites (@duckdb/node-api and installed modules) are stated, but it does not explicitly exclude alternative tools like resolve_citation.

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/russellbrenner/jurisd'

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