Skip to main content
Glama
metaneutrons

German Legal MCP Server

by metaneutrons

legis_get

Retrieve a specific German law or norm from federal or state legislation using a document ID. Supports simplified IDs like 'bgb/823' and handles common prefixes automatically.

Instructions

Retrieve a specific law/norm from German federal or state legislation. BUND: id is "law/section" — law is the lowercase abbreviation (e.g. "bgb", "gg", "stgb"), section is just the number. An optional "§", "Art.", "Paragraph", or "Para." prefix on the section is stripped automatically, so "bgb/823", "bgb/§ 823", and "bgb/§823" are equivalent; use whichever prefix matches the document type (§ for codes, Art. for the Grundgesetz). Not every law is hosted under its plain abbreviation on gesetze-im-internet.de — some reissued laws use a different URL slug. If this returns "not found", a subscription provider that resolves abbreviations through its own index may still find it. Länder: id from legis_search results (format varies by state).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDocument ID. BUND: "law/section" (e.g., "bgb/823", "gg/Art. 1"). Länder: ID from legis_search.
stateYesJurisdiction (e.g., "BUND", "BW", "NW")
save_pathNoAbsolute file path for the full document. Relative paths are not supported.
Install Server

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden, and it handles this well by disclosing automatic prefix stripping, equivalence of different section formats, and the non-obvious limitation that some reissued laws use a different URL slug. It does not explicitly describe return or save behavior, which is a minor gap.

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

Conciseness4/5

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

The description is dense and front-loaded, with the core purpose stated first and each subsequent sentence contributing useful details or examples. It is longer than a minimal description, but the complexity of the id format justifies the length; no sentence feels like filler.

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?

The description is nearly complete for this tool's main difficulty—constructing and interpreting the id across BUND and Länder jurisdictions. It also covers edge cases like prefix normalization and not-found fallback, but it leaves the output/save semantics implicit rather than stating what the tool returns or when save_path is necessary.

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

Parameters5/5

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

The description substantially enriches the id parameter beyond the schema: it explains BUND's 'law/section' anatomy, requires lowercase law abbreviations, documents equivalent prefix forms, and distinguishes Länder IDs. The state and save_path parameters are already well described in the schema, and the 100% schema coverage supports a high score.

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 opens with a specific verb and resource: 'Retrieve a specific law/norm from German federal or state legislation.' It clearly separates this point-lookup tool from sibling search/toc tools such as legis_search and legis_toc by focusing on a single known document rather than discovery or navigation.

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 gives clear operational guidance: for Länder, the ID must come from legis_search results, and if the lookup returns 'not found', it advises a subscription-provider fallback. It does not explicitly state 'use legis_search to discover IDs, use legis_get once you have them,' but the workflow is strongly implied.

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

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/metaneutrons/german-legal-mcp'

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