Skip to main content
Glama
JayTheSkier

Fedlex Connector

by JayTheSkier

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for HTTP mode. If not set, server runs in stdio mode.

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_by_titleA

Search Swiss federal legislation titles in the Classified Compilation (RS/SR) on Fedlex. Use to find the RS number of a law when you know its name but not its number. Searches titles only, not article content. Returns only acts currently in force.

get_articleA

Retrieve a single article when you already know the EXACT article number (e.g. from a cross-reference). Do NOT call this tool repeatedly to search for provisions — use get_law_text instead to fetch the full act or a section and locate relevant articles in the text.

get_law_textA

Retrieve the official consolidated text of a Swiss federal act (or a specific title/chapter) directly from Fedlex (fedlex.admin.ch). This is the PRIMARY tool for answering Swiss law questions — always start here. Fetch the full act or a specific section, then locate relevant provisions in the returned text. Prefer this over get_article unless you already know the exact article number.

list_amendmentsA

List consolidation version dates for a Swiss federal act. Returns the dates each consolidated version took effect.

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 has a clear, distinct purpose: searching by title, listing version dates, fetching an exact article, and retrieving full law text. The descriptions explicitly steer agents away from using get_article when get_law_text is more appropriate.

Naming Consistency4/5

list_amendments, get_article, and get_law_text all follow a clean verb_noun pattern. search_by_title is a minor deviation with the preposition 'by', but it remains predictable and readable.

Tool Count5/5

Four tools is well-scoped for a legal retrieval connector: discover a law, fetch its text, fetch a specific article, and check amendment dates. Each tool earns its place with no redundant overlap.

Completeness4/5

The core Swiss law research workflow is covered: find an act by title, retrieve the consolidated text, get a specific article, and list version dates. Missing historical version text retrieval and full-text cross-law search are minor gaps rather than blocking issues.

Maintenance

ActivityMaintained
ResponsivenessUnresponsive