Skip to main content
Glama

fetch_document_text

Extract full text from Australian legislation and case law documents using OCR for scanned PDFs. Supports multiple output formats including JSON, text, markdown, and HTML.

Instructions

Fetch full text for a legislation or case URL, with OCR fallback for scanned PDFs.

Input Schema

NameRequiredDescriptionDefault
formatNojson
urlYes

Input Schema (JSON Schema)

{ "properties": { "format": { "default": "json", "enum": [ "json", "text", "markdown", "html" ], "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "url" ], "type": "object" }

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/auslaw-mcp'

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