Skip to main content
Glama

fedlex_get_recent_publications

Read-onlyIdempotent

Retrieve recent publications from the Official Compilation (AS) to monitor legal changes. Set a time window of 1 to 365 days and select a supported language.

Instructions

Ruft die neuesten Publikationen der Amtlichen Sammlung (AS) ab. Regelmässiges Monitoring von Rechtsänderungen — was wurde in den letzten N Tagen neu publiziert oder geändert? Liefert Erstpublikationen (AS), nicht den konsolidierten Stand. Zeitfenster über days (1–365). days=30, language='de'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
countYes
sourceNoFedlex, Schweizerische Bundeskanzlei (fedlex.admin.ch)
licenseNoFreie Wiederverwendung gemäss fedlex.admin.ch/de/broadcasters
messageNo
resultsYes
markdownYes
match_typeYes
Behavior4/5

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

Annotations already indicate readOnlyHint, idempotentHint, and destructiveHint are false. The description adds value by explaining it returns 'Erstpublikationen (AS)' and not the consolidated version, which is crucial behavioral information beyond the 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 very concise with two sentences and three XML tags. It front-loads the purpose and uses structured tags for use_case, important_notes, and example, making it efficient for an AI agent to parse.

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?

For a straightforward retrieval tool, the description covers the essential behavioral aspects: what is retrieved (AS publications), the time window, and a usage example. The output schema exists, so return values are not needed. The limit parameter is missing, so it's not fully complete.

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?

The description mentions days range in important_notes and provides an example with days and language. However, it does not explain the limit parameter. The schema already describes days and language, so the description adds marginal extra meaning. The parameter coverage in the description is incomplete.

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 clearly states it retrieves the latest publications of the Amtliche Sammlung (AS). The use_case tag provides concrete context for monitoring legal changes. This distinguishes it from sibling tools like fedlex_search_laws or fedlex_get_law_by_sr.

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 includes a use_case (regular monitoring) and important_notes that clarify it returns first publications, not consolidated law. This gives clear guidance on when to use the tool. However, it does not explicitly mention when to avoid it or name alternative tools.

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

Install Server

Other Tools

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/malkreide/fedlex-mcp'

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