Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Official-source legal research, live national archive search, multi-tier judicial hierarchy search (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts), and citation verification MCP server for New Zealand (NZ).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_legislationA

Search New Zealand (NZ) national legislation (statutes, acts, codes, regulations, official gazette) via New Zealand Legislation (legislation.govt.nz) and live national legal archives.

search_case_lawB

Search New Zealand (NZ) court decisions and binding precedents via Courts of New Zealand (courtsofnz.govt.nz) & NZLII and open national judicial archives (Supported courts: NZSC (Supreme Court), NZCA (Court of Appeal), NZHC (High Court)).

get_legal_document_markdownB

Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from New Zealand (NZ) by its URL or official identifier.

list_court_hierarchyA

Return the complete step-by-step multi-tier judicial hierarchy for New Zealand (NZ): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.

search_tiered_court_decisionsA

Search court decisions in New Zealand (NZ) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy.

verify_citationA

No-Hallucination Citation Verifier for New Zealand (NZ). Validates format and live existence of legal citations (e.g., '[2024] NZSC 5 or [2023] NZCA 120') against official New Zealand and ECLI/ELI registries to prevent AI-hallucinated citations.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a clear primary action, but search_case_law and search_tiered_court_decisions both search court decisions, differing only by tier filtering, which could prompt misselection. The descriptions do clarify the distinction (general vs faceted search), keeping it mostly distinct. get_legal_document_markdown, list_court_hierarchy, and verify_citation are unambiguous.

Naming Consistency5/5

All six tools follow a consistent snake_case verb_noun pattern (search_*, get_*, list_*, verify_*). Extension suffixes like _markdown and _tiered_court_decisions remain readable and predictable.

Tool Count5/5

Six tools is well within the ideal 3-15 range for a legal research server. Each tool covers a distinct capability (case search, tiered search, legislation search, document retrieval, hierarchy lookup, citation verification) with no filler.

Completeness4/5

The surface covers the core legal research lifecycle: finding case law and legislation, retrieving full text, understanding court structure, and verifying citations. Minor gaps exist—no citator/note-up (which cases cite a case) or legislation amendment/history tracking—but agents can work around these via document retrieval.