Skip to main content
Glama
JayTheSkier

Fedlex Connector

by JayTheSkier

search_by_title

Find the RS number of a Swiss federal law in the Classified Compilation by searching its official title. Returns only acts currently in force, covering German, French, and Italian titles.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesKeywords to match against act titles (e.g. 'code civil', 'protection des données')
languageNoLanguage for results (default: de)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses important behaviors beyond the bare operation: it matches titles only, excludes article content, and filters to acts currently in force. It does not describe result format or pagination, but for a simple search tool the core behavioral traits are well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences with no fluff. It front-loads the action and domain, then adds the key differentiator and result filtering. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description covers the main facts an agent needs: what is searched, why to use it, what is excluded, and the in-force filter. It could mention result fields or language behavior in more detail, but the tool is simple and the description is largely sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already explains both query and language parameters, including an example and the default language. The description adds no parameter-level semantics beyond what the schema provides, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Search'), a specific resource ('Swiss federal legislation titles in the Classified Compilation (RS/SR) on Fedlex'), and a clear intended outcome ('find the RS number of a law'). It also distinguishes itself from content search by saying it searches titles only, which differentiates it from siblings like get_article.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use it: when you know a law's name but not its RS number. It also states what it does not do ('Searches titles only, not article content') and that it returns only in-force acts, which are useful exclusions. It does not explicitly name alternative sibling tools, so it stops short of a perfect 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JayTheSkier/fedlex-connector'

If you have feedback or need assistance with the MCP directory API, please join our Discord server