Skip to main content
Glama
wolfgangihloff

Rechtsinformationen Bund DE MCP Server

dokument_details_abrufen

Retrieve complete German federal legal documents and court decisions using document IDs from search results. Access full legislation and case law text from rechtsinformationen.bund.de in JSON, HTML, or XML formats.

Instructions

📄 RETRIEVAL TOOL - Vollständigen Dokumenttext abrufen

What this tool does: • Retrieves complete document content from rechtsinformationen.bund.de • Works with both legislation and case law documents • Requires specific document identifier from previous search results

URL/ID Input: This tool accepts:

  1. Full API URLs from search results (recommended): https://testphase.rechtsinformationen.bund.de/v1/legislation/eli/... https://testphase.rechtsinformationen.bund.de/v1/case-law/ecli/...

  2. Partial paths starting with /v1/: /v1/legislation/eli/bund/bgbl-1/2006/s2748/2025-05-01/1/deu /v1/case-law/ecli/de/bgh/2023/010523

  3. ELI or ECLI identifiers (will be constructed into full path)

When to use: ✓ When you have a specific document from search results ✓ When you need the full text (searches only return snippets) ✓ When you need HTML or XML format instead of JSON

When NOT to use: ✗ For initial searches (use intelligente_rechtssuche instead) ✗ When you don't have a specific document ID ✗ To browse or discover documents (use search tools instead)

Limitations: ⚠️ Some document paths may return 403 Forbidden errors ⚠️ If 403 occurs, use the document web URL in a browser instead ⚠️ Not all historical versions are accessible via API

Parameters: • documentId: Full URL or path from search results (required) • format: "json" (default), "html", or "xml" (optional)

Usage Priority: Search first → Get results → Use this tool for full text

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentIdYesDocument ID or URL from search results. Use the "@id" field from search results, or full URL like https://testphase.rechtsinformationen.bund.de/v1/legislation/eli/...
formatNoResponse format: "json" (default, structured data), "html" (readable format), or "xml" (raw format)json
Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It discloses important behavioral traits including: 403 Forbidden errors may occur, not all historical versions are accessible via API, and it accepts three different input formats (full URLs, partial paths, or ELI/ECLI identifiers). It could be improved by describing the return value structure or rate limits, but the error condition disclosure is valuable.

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

Conciseness3/5

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

The description is well-structured with clear headers, but contains redundancy between sections. The 'Parameters' section largely repeats information already in the schema, and the 'Usage Priority' section repeats guidance from 'When to use.' The markdown formatting and emoji add visual structure but also verbosity for an AI agent. Every sentence is relevant, but some sections are duplicative.

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

Completeness3/5

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

Given that no output schema exists and no annotations are provided, the description should ideally explain the return structure for the three format options (JSON, HTML, XML). While it mentions format options, it doesn't describe what the successful response contains or its structure. The error handling (403) is documented, but the success case remains opaque.

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

Parameters4/5

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

With 100% schema description coverage, the baseline is 3. The description adds significant value by providing concrete examples of the three accepted documentId formats (full URLs, partial paths, ELI/ECLI identifiers) and explaining that documentId corresponds to the '@id' field from search results. It also clarifies when to use each format option (HTML for readable, JSON for structured data).

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 explicitly states the tool 'Retrieves complete document content from rechtsinformationen.bund.de' and specifies it works with 'both legislation and case law documents.' It clearly distinguishes itself from sibling search tools by specifying this is for retrieving full text when you already have a specific document identifier, versus searching.

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

Usage Guidelines5/5

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

Contains explicit 'When to use' and 'When NOT to use' sections with specific guidance. Explicitly names the sibling alternative 'intelligente_rechtssuche' for initial searches. Provides a clear workflow: 'Search first → Get results → Use this tool for full text.' This is exactly the type of explicit when/when-not guidance that prevents tool selection errors.

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/wolfgangihloff/rechtsinformationen-bund-de-mcp'

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