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 Sweden (SE).

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_legislationB

Search Sweden (SE) national legislation (statutes, acts, codes, regulations, official gazette) via Riksdagen Open Data JSON API (data.riksdagen.se - Svensk författningssamling SFS) and live national legal archives.

search_case_lawB

Search Sweden (SE) court decisions and binding precedents via Domstolsverket (domstol.se / Lagrummet Rättsfallsdatabas) and open national judicial archives (Supported courts: Högsta domstolen (HD), Högsta förvaltningsdomstolen (HFD), Hovrätterna).

get_legal_document_markdownA

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

list_court_hierarchyA

Return the complete step-by-step multi-tier judicial hierarchy for Sweden (SE): 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_decisionsB

Search court decisions in Sweden (SE) 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 Sweden (SE). Validates format and live existence of legal citations (e.g., 'NJA 2024 s. 10 or SFS 2024:12') against official Sweden 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.7/5.0

Scored across 6 tools

Disambiguation4/5

Most tools target distinct resources: legislation search, case law search, document retrieval, court hierarchy, and citation verification. The only real overlap is search_case_law vs search_tiered_court_decisions, where the latter is essentially a tier-filtered variant of the former, but the descriptions make the distinction (filter by judicial tier / sub-portal key) workable.

Naming Consistency5/5

All names follow a consistent snake_case verb_noun pattern: search_legislation, search_case_law, get_legal_document_markdown, list_court_hierarchy, search_tiered_court_decisions, verify_citation. Verbs correctly map to the operation type (search/get/list/verify).

Tool Count5/5

Six tools is well-scoped for a national legal research server: two search entry points, one retrieval, one structural reference, one filtered search, and one verification utility. Each tool earns its place with no evident redundancy.

Completeness4/5

The surface covers the core legal research lifecycle: find legislation, find case law, fetch full text, understand the court structure, and verify citations against hallucination. Minor gaps remain, such as no way to browse or list legislation by SFS year/consolidation metadata, and no citation-graph or cross-reference discovery beyond verification.