Skip to main content
Glama

Swiss federal law (Fedlex)

swiss_federal_law
Read-onlyIdempotent

Quote federal law from the official consolidated text on Fedlex (version currently in force), with article links. Federal law only; cantonal law is not included.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoTitle words to find an act, or (with sr_number) a topic to find the relevant articles, e.g. 'Kündigungsfrist'.
articleNoArticle number, e.g. '335c', '42'.
languageNoLanguage of the user's question.de
sr_numberNoSR number or abbreviation: '220' or 'OR'/'CO', 'ZGB'/'CC', 'SVG', 'VZV', 'AIG', 'KVG', 'AHVG', 'MWSTG'…

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
statusYes
summaryYes
guidanceNo
citationsNo
missing_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false. The description adds useful behavioral context beyond annotations: it returns the official consolidated text, uses the version currently in force, and includes article links. There is no contradiction with annotations.

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 two sentences with no filler. The core behavior is front-loaded, and the scope limitation is stated in a compact second sentence. Every word earns its place.

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

Completeness5/5

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

Given the full schema coverage, rich annotations, and presence of an output schema, the description provides the necessary selection and invocation context: source, scope, version status, and link behavior. No critical information is missing.

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 documents all four parameters in detail. The description itself adds no parameter-specific semantics, which matches the baseline of 3 when the schema carries the burden.

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 uses a specific verb ('Quote') and a specific resource ('federal law from the official consolidated text on Fedlex'), and clarifies the version scope ('currently in force'). It also distinguishes itself from siblings by explicitly limiting to federal law and excluding cantonal law.

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 clearly states when to use the tool: to quote federal law from Fedlex. It also gives a when-not condition: cantonal law is not included. However, it does not name specific alternative sibling tools, so it stops short of fully explicit routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.