Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port (HTTP mode only)3000
CANLII_APIYesYour CanLII API key
MCP_AUTH_TOKENNoBearer token for HTTP authentication

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_case_databasesA

List all courts and tribunals in the CanLII collection with their database IDs.

list_casesB

List decisions from a specific caselaw database. Returns case titles, citations, and IDs.

get_caseA

Get metadata for a specific case including title, citation, decision date, keywords, and URL.

get_case_citationsA

Get citation information for a case: what it cites, what cites it, or what legislation it references. Note: the CanLII API currently only supports English for this endpoint; French requests will fall back to English.

list_legislation_databasesA

List all legislation and regulation databases in the CanLII collection.

list_legislationA

List statutes or regulations from a specific legislation database.

get_legislationA

Get metadata for a specific piece of legislation including title, citation, dates, and repeal status.

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 7 tools

Disambiguation5/5

Each tool targets a distinct operation: retrieving specific case metadata, case citations, legislation, or listing various databases and documents. No functional overlap exists.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, e.g., get_case, list_cases, get_legislation, making the API predictable.

Tool Count4/5

7 tools is well-scoped for a legal database API, covering core retrieval and listing operations. Slightly on the smaller side but still appropriate.

Completeness3/5

The set covers basic CRUD-like read operations for cases and legislation, but lacks search/full-text query capabilities, which are common in legal research APIs.

Maintenance

ActivityMaintained
ResponsivenessNo issues