Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SE_ELI_BASE_URLNoBase URL for the Riksdagen open data APIhttps://data.riksdagen.se
SE_ELI_AUDIT_DIRNoDirectory for audit logs~/.matematic/audit
SE_ELI_CACHE_DIRNoDirectory for caching responses~/.matematic/cache/se-eli

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
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
se_searchA

Search Swedish statutes (SFS) by free text (title and full text).

se_get_actA

Fetch metadata for a Swedish statute by its SFS number.

se_coverageA

Declare what this connector covers, how it is sourced, and what it does NOT cover.

Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead.

Returns: Coverage with families, an as-of note, and a non-empty list of known gaps.

se_get_textA

Fetch the full consolidated plain text of a Swedish statute by its SFS number.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 4 tools

Disambiguation5/5

Each tool serves a clearly distinct purpose: search by text, fetch metadata by SFS number, fetch full text, and declare coverage gaps. No two tools could be confused for one another.

Naming Consistency4/5

All tools share the se_ prefix and mostly follow a verb-based pattern (se_search, se_get_act, se_get_text). se_coverage is a noun instead of a verb, which is a minor deviation but still predictable and readable.

Tool Count5/5

Four tools is a well-scoped set for a Swedish legal information connector. Each tool has a clear role with no redundancy.

Completeness4/5

The connector provides search, metadata retrieval, full text retrieval, and explicit coverage gap handling, which covers the core research workflow. A minor gap is the lack of functions for listing or browsing statutes, but the coverage tool mitigates confusion from missing results.

Maintenance

ActivityMaintained
ResponsivenessNo issues