Danish Law MCP Server
This server provides AI-accessible tools for searching, retrieving, validating, and analyzing Danish law — covering 62,764 laws and 620,940 provisions — with EU law integration, case law, and preparatory works.
Core Legal Research
Search legislation: Full-text search across 620,940 provisions using FTS5/BM25 ranking, with boolean operators, phrase search, and prefix wildcards (Danish or English)
Retrieve provisions: Fetch specific statute text by document ID, chapter, or section reference (e.g., Straffeloven § 263)
Check currency: Verify whether a statute or provision is in force, amended, repealed, or not yet in force — including historical date queries
Validate citations: Confirm a document and provision actually exist in the official database, with status warnings
Build a legal stance: Aggregate citations from statutes, case law, and preparatory works simultaneously for a given legal question
Format citations: Output citations in full, short, or pinpoint Danish legal convention formats
List sources / About: View data provenance, licenses, dataset statistics, and freshness
EU Law Integration
Get EU basis: Find which EU directives/regulations a Danish statute implements or references (e.g., Databeskyttelsesloven → GDPR)
Find Danish implementations: Given an EU directive/regulation ID, find all Danish statutes that implement it
Search EU implementations: Explore EU directives/regulations by keyword, type, or year, with Danish implementation counts
Provision-level EU basis: Get EU legal references for a specific provision with article-level precision
Validate EU compliance: Check a Danish statute for outdated EU references, missing implementation status, or compliance gaps
Premium Features
Search case law: Search 3,918 rulings from Højesteret and Landsretter by keyword, court, and date range
Get preparatory works: Retrieve forarbejder (lovforslag, betænkninger) linked to a statute to understand legislative intent
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Danish Law MCP ServerHvad siger Databeskyttelsesloven § 5 om behandling af personoplysninger?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Danish Law MCP Server
The Danish law corpus is now served through the Ansvar Gateway. Connect your AI assistant (Claude, Copilot, Cursor, or any MCP client) to
https://gateway.ansvar.eu/mcp— one OAuth connection, free tier available, covering this corpus plus EU regulations, national law across 28 audited jurisdictions (Europe + the US), and CVE/security intelligence, every result with a verbatim source citation. Start at https://ansvar.eu/docs/quickstart
Connect
Claude Code (one line):
claude mcp add ansvar --transport http https://gateway.ansvar.eu/mcpClaude Desktop / Cursor — add to claude_desktop_config.json (or mcp.json):
{
"mcpServers": {
"ansvar": {
"type": "url",
"url": "https://gateway.ansvar.eu/mcp"
}
}
}Claude.ai — Settings → Connectors → Add custom connector → paste https://gateway.ansvar.eu/mcp
First request opens an OAuth signup flow (setup details: ansvar.eu/docs/quickstart). After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.
Self-host this MCP
You can also clone this repo and build the corpus yourself. The schema, fetcher, and tool implementations all live here. What is not in the repo is the pre-built database — TDM and standards-licensing constraints on the upstream sources mean we host the corpus on Ansvar infrastructure rather than redistribute it as a public artifact.
Build your own: run this repo's ingestion script (entry-point varies per
repo — typically scripts/ingest.sh, npm run ingest, or make ingest;
check the repo root).
The Retsinformation alternative for the AI age.
Query 62,764 Danish laws -- from Databeskyttelsesloven and Straffeloven to Selskabsloven, Forvaltningsloven, and more -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing Danish legal research, this is your verified reference database.
Built by Ansvar Systems -- Stockholm, Sweden
Related MCP server: Belgian Law MCP Server
Why This Exists
Danish legal research means navigating retsinformation.dk, cross-referencing between lovbekendtgørelser (consolidated laws), forslag (bills), betænkninger (committee reports), and EUR-Lex. Whether you're:
A lawyer validating citations in a brief or contract
A compliance officer checking Databeskyttelsesloven obligations or GDPR alignment
A legal tech developer building tools on Danish law
A researcher tracing legislative history from lovforslag to enacted statute
...you shouldn't need dozens of browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.
This MCP server makes Danish law searchable, cross-referenceable, and AI-readable.
Example Queries
Once connected, just ask naturally -- in Danish or English:
"Hvad siger Databeskyttelsesloven § 5 om behandling af personoplysninger?"
"Er Straffelovens § 263 om hacking stadig i kraft?"
"Find bestemmelser om offentlighedsprincippet"
"Hvad siger konkurrenceretten om misbrug af dominerende stilling?"
"Valider citatet 'Straffelovens § 263'"
"Opbyg en juridisk argumentation om GDPR-forpligtelser for virksomheder"
"Which Danish laws implement the GDPR?"
"What does Forvaltningsloven say about administrative procedures?"
What's Included
Category | Count | Details |
Laws | 62,764 laws | Complete corpus from retsinformation.dk |
Provisions | 620,940 sections | Full-text searchable with FTS5 |
Premium: Case Law | 3,918 rulings | Højesteret, Landsretter decisions |
Premium: Preparatory Works | 4,412 documents | Lovforslag, betænkninger |
Database Size | 1.6 GB | Optimized SQLite, hosted on Fly.io |
Daily Updates | Automated | Freshness checks against retsinformation.dk |
Verified data only -- every citation is validated against official sources (retsinformation.dk). Zero LLM-generated content.
See It In Action
Why This Works
Verbatim Source Text (No LLM Processing):
All statute text is ingested from retsinformation.dk (Danish Ministry of Justice)
Provisions are returned unchanged from SQLite FTS5 database rows
Zero LLM summarization or paraphrasing -- the database contains statute text, not AI interpretations
Smart Context Management:
Search returns ranked provisions with BM25 scoring (safe for context)
Provision retrieval gives exact text by law identifier + paragraph/section
Cross-references help navigate without loading everything at once
Technical Architecture:
retsinformation.dk API --> Parse --> SQLite --> FTS5 snippet() --> MCP response
^ ^
Provision parser Verbatim database queryTraditional Research vs. This MCP
Traditional Approach | This MCP Server |
Search retsinformation.dk by document number | Search by plain Danish: "personoplysninger samtykke" |
Navigate multi-paragraph statutes manually | Get the exact provision with context |
Manual cross-referencing between laws |
|
"Er denne lov stadig i kraft?" → check manually |
|
Find EU basis → dig through EUR-Lex |
|
Check multiple sites for amendments | Daily automated freshness checks |
No API, no integration | MCP protocol → AI-native |
Traditional: Search retsinformation.dk → Download PDF → Ctrl+F → Cross-reference with betænkning → Check EUR-Lex for EU basis → Repeat
This MCP: "Hvad er EU-retsgrundlaget for Databeskyttelsesloven § 5 om samtykke?" → Done.
Available Tools (13)
Core Legal Research Tools (8)
Tool | Description |
| FTS5 search on 620,940 provisions with BM25 ranking. Supports quoted phrases, boolean operators, prefix wildcards |
| Retrieve specific provision by law identifier + paragraph/section (e.g., "Straffeloven" + "263") |
| Check if a law is in force, amended, or repealed |
| Validate citation against database -- zero-hallucination check. Supports "Straffelovens § 263", "Databeskyttelsesloven § 5" |
| Aggregate citations from multiple laws for a legal topic |
| Format citations per Danish conventions (full/short/pinpoint) |
| List all available laws with metadata, coverage scope, and data provenance |
| Server info, capabilities, dataset statistics, and coverage summary |
EU Law Integration Tools (5)
Tool | Description |
| Get EU directives/regulations that a Danish statute transposes (e.g., Databeskyttelsesloven → GDPR) |
| Find Danish laws implementing a specific EU act |
| Search EU documents with Danish implementation counts |
| Get EU law references for a specific provision |
| Check transposition status of Danish statutes against EU directives |
EU Law Integration
Denmark is a full EU member state. Danish law directly transposes EU directives into national legislation:
Danish Law | EU Basis |
Databeskyttelsesloven | GDPR (Regulation 2016/679) |
Implementeret e-Privacy | ePrivacy Directive (2002/58/EC) |
Konkurrenceretten | EU Treaty Articles 101-102 (TFEU) |
The EU integration tools support bi-directional lookup: find which EU act a Danish statute transposes, or find all Danish laws implementing a given EU regulation.
Denmark and EU opt-outs: Denmark maintains opt-outs from certain EU policy areas (including Justice and Home Affairs, under Protocol 22 to the Maastricht Treaty). However, data protection law (GDPR), commercial law, and competition law are all fully aligned with EU frameworks. The EU tools in this MCP reflect full transposition coverage for these areas.
See EU_INTEGRATION_GUIDE.md for detailed documentation and EU_USAGE_EXAMPLES.md for practical examples.
Data Sources & Freshness
All content is sourced from authoritative Danish legal databases:
Retsinformation -- The official Danish law portal, operated by the Danish Ministry of Justice. Provides the complete corpus of consolidated Danish laws (lovbekendtgørelser), acts (love), and statutory orders (bekendtgørelser).
EUR-Lex -- Official EU law database (metadata only)
Data Provenance
Field | Value |
Authority | Danish Ministry of Justice / Retsinformation |
Retrieval method | Bulk download from retsinformation.dk API |
Language | Danish (primary) |
License |
|
Coverage | All 62,764 consolidated Danish laws |
Last ingested | 2026-02-22 |
Automated Freshness Checks (Daily)
A daily GitHub Actions workflow monitors retsinformation.dk for changes:
Source | Check | Method |
Law amendments | retsinformation.dk API date comparison | All 62,764 laws checked |
New laws | retsinformation.dk publications (90-day window) | Diffed against database |
Case law | Court portal entry count | Compared to database |
Preparatory works | Lovforslag API (30-day window) | New proposals detected |
EU reference staleness | Git commit timestamps | Flagged if >90 days old |
The workflow supports auto_update: true dispatch for automated sync, rebuild, version bump, and npm publishing.
Premium Tier
The premium tier adds version history, amendment tracking, and extended case law coverage:
Feature | Free | Premium |
Full statute corpus (62,764 laws) | Yes | Yes |
Full-text search (620,940 provisions) | Yes | Yes |
EU law cross-references | Yes | Yes |
Citation validation | Yes | Yes |
Case law (3,918 rulings) | No | Yes |
Preparatory works (4,412 documents) | No | Yes |
Amendment history ( | No | Yes |
Version diff ( | No | Yes |
Recent changes ( | No | Yes |
Premium is enabled via the PREMIUM_ENABLED environment variable. Contact hello@ansvar.ai for access.
Security
This project uses multiple layers of automated security scanning:
Scanner | What It Does | Schedule |
CodeQL | Static analysis for security vulnerabilities | Weekly + PRs |
Semgrep | SAST scanning (OWASP top 10, secrets, TypeScript) | Every push |
Gitleaks | Secret detection across git history | Every push |
Trivy | CVE scanning on filesystem and npm dependencies | Daily |
Docker Security | Container image scanning + SBOM generation | Daily |
Socket.dev | Supply chain attack detection | PRs |
OSSF Scorecard | OpenSSF best practices scoring | Weekly |
Dependabot | Automated dependency updates | Weekly |
See SECURITY.md for the full policy and vulnerability reporting.
Important Disclaimers
Legal Advice
THIS TOOL IS NOT LEGAL ADVICE
Statute text is sourced from official retsinformation.dk publications (Danish Ministry of Justice). However:
This is a research tool, not a substitute for professional legal counsel
Court case coverage in the free tier is limited -- do not rely solely on this for case law research
Verify critical citations against primary sources for court filings
EU cross-references are extracted from Danish statute text and EUR-Lex metadata, not substitute for full EUR-Lex legal text
Municipal and regional regulations are not included -- this covers national Danish law only
Before using professionally, read: DISCLAIMER.md | PRIVACY.md
Client Confidentiality
Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment. See PRIVACY.md for Advokatsamfundet (Danish Bar Association) compliance guidance.
Documentation
EU Integration Guide -- Detailed EU cross-reference documentation
EU Usage Examples -- Practical EU lookup examples
Security Policy -- Vulnerability reporting and scanning details
Disclaimer -- Legal disclaimers and professional use notices
Privacy -- Client confidentiality and data handling
Development
Setup
git clone https://github.com/Ansvar-Systems/Denmark-law-mcp
cd Denmark-law-mcp
npm install
npm run build
npm testRunning Locally
npm run dev # Start MCP server
npx @anthropic/mcp-inspector node dist/index.js # Test with MCP InspectorData Management
npm run ingest # Ingest laws from retsinformation.dk
npm run ingest:auto-all -- --scope all-laws --dry-run # Coverage audit
npm run ingest:auto-all -- --scope all-laws # Ingest full corpus
npm run ingest:cases:full-archive # Ingest case law (full archive)
npm run sync:cases # Ingest case law (incremental)
npm run sync:prep-works # Sync preparatory works
npm run extract:definitions # Extract legal definitions
npm run build:db # Rebuild SQLite database
npm run check-updates # Check for amendments
npm run drift:detect # Run drift detectionPerformance
Search Speed: <100ms for most FTS5 queries
Database Size: 1.6 GB (Fly.io deployment due to size)
Reliability: 100% ingestion success rate
More Ansvar MCPs
Full fleet coverage at ansvar.eu/coverage.
Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
Priority areas:
Court case law expansion (Højesteret and Landsretter full archives)
EU Regulations MCP integration (full EU law text, CJEU case law)
Historical statute versions and amendment tracking
Lower court decisions (Byretter archives)
English translations for key statutes
Roadmap
Full corpus ingestion -- 62,764 Danish laws from retsinformation.dk
EU law integration -- Danish statute transposition cross-references
Premium tier -- case law (3,918 rulings) and preparatory works (4,412 documents)
Fly.io deployment -- 1.6 GB database hosted on Fly.io
Court case law expansion (Byretter full archives)
Historical statute versions (amendment tracking)
English translations for key statutes
Web API for programmatic access
Citation
If you use this MCP server in academic research:
@software{danish_law_mcp_2026,
author = {Ansvar Systems AB},
title = {Danish Law MCP Server: Production-Grade Legal Research Tool},
year = {2026},
url = {https://github.com/Ansvar-Systems/Denmark-law-mcp},
note = {Comprehensive Danish legal database with 62,764 laws and 620,940 provisions from retsinformation.dk}
}License
Apache License 2.0. See LICENSE for details.
Data Licenses
Laws & Statutory Orders:
DK-Statutory-PD— Danish statutory public domain. Ophavsretsloven §9 excludes laws, administrative orders, regulations, court decisions, and similar acts issued by a public authority from copyright protection. Verified verbatim 2026-05-17 — seedocs/audits/2026-05-17-eu-copyright-statutory-works-batch-1a-AT-BE-DK-FI-FR.md. Catalog entry:DK-Statutory-PDininfrastructure/attribution-licenses.json.Case Law: Højesteret and Landsretter — same statutory basis (Ophavsretsloven §9 court-decision clause)
EU Metadata: EUR-Lex (EU public domain, Decision 2011/833/EU)
About Ansvar Systems
We build AI-accelerated compliance and legal research tools for the European market. This MCP server started as our internal reference tool for Danish law -- turns out everyone building for the Danish and Nordic markets has the same research frustrations.
So we're open-sourcing it. Navigating 62,764 laws on retsinformation.dk shouldn't require a law degree.
ansvar.eu -- Stockholm, Sweden
Available Tools
15 toolsaboutA
Server metadata, dataset statistics, freshness, and provenance. Call this to verify data coverage, currency, and content basis before relying on results.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description carries the full burden. It discloses that the tool returns metadata, statistics, freshness, and provenance. This is transparent and consistent with a read-only information tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences front-load key terms and provide actionable guidance. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given zero parameters and no output schema, the description is fully complete. It explains what the tool returns and when to use it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, so schema coverage is trivially 100%. The description adds meaning by explaining what the tool returns, exceeding the baseline of 4.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description specifies 'Server metadata, dataset statistics, freshness, and provenance' and explicitly states the action 'verify data coverage, currency, and content basis'. This clearly distinguishes it from sibling tools that perform specific legal research functions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly states 'Call this to verify data coverage, currency, and content basis before relying on results', providing clear context for when to use it. It does not explicitly mention when not to use, but the usage guidance is strong.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
build_legal_stanceA
Build a comprehensive set of citations for a legal question.
Searches across statutes, case law, and preparatory works simultaneously to aggregate relevant citations. Use this for broad legal research questions.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results per category (default: 5, max: 20) | |
| query | Yes | Legal question or topic to research | |
| as_of_date | No | Optional historical date (YYYY-MM-DD) for time-aware retrieval. | |
| document_id | No | Optionally limit statute search to one document | |
| include_case_law | No | Include case law results (default: true) | |
| include_preparatory_works | No | Include preparatory works results (default: true) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must cover behavioral traits. It states the tool aggregates results from statutes, case law, and preparatory works simultaneously, but does not disclose if it is read-only, any required permissions, or output format. Adequate but not rich.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, front-loaded with the main purpose, and contains no extraneous information. Every sentence is essential and clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 6 parameters and no output schema, the description covers the main purpose and usage. It does not describe the return format or how results are structured, which would be helpful, but it is mostly complete for a tool that aggregates search results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with parameter descriptions. The description adds context that it searches across multiple sources, aligning with the include_* parameters. However, it does not provide additional meaning beyond what the schema already offers, so a baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool builds a comprehensive set of citations for a legal question by searching across multiple sources simultaneously. It distinguishes from siblings like search_case_law or search_legislation, which are more specific, by emphasizing the aggregation across statutes, case law, and preparatory works.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description advises using this tool for 'broad legal research questions', implying comprehensive searches are appropriate. While it doesn't explicitly mention when not to use it or specify alternatives, the context is clear about its intended use case.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_currencyA
Check if a Danish statute or provision is in force (current or historical).
Returns the document's status (in_force, amended, repealed, not_yet_in_force), dates, and warnings. Provide as_of_date for historical evaluation.
| Name | Required | Description | Default |
|---|---|---|---|
| as_of_date | No | Optional historical date (YYYY-MM-DD). Computes in-force status as of that date. | |
| document_id | Yes | document ID (e.g., "2018:218") | |
| provision_ref | No | Optional provision reference to check (e.g., "3:5") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden and adequately discloses that it returns document status (in_force, amended, repealed, not_yet_in_force), dates, and warnings, and that providing as_of_date enables historical evaluation. It does not reveal potential edge cases or limitations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise with two sentences. The first establishes the purpose, and the second lists outputs and a usage hint. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description lists return fields (status, dates, warnings) and explains the as_of_date parameter, which is sufficient given no output schema. However, it lacks details on error handling or the exact response format.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already describes all parameters. The description adds only that 'as_of_date' is for historical evaluation, which is similar to the schema description. Minimal added value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool checks if a Danish statute or provision is in force, using a specific verb and resource. It distinguishes from siblings like 'get_provision' by focusing on currency status rather than full text.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains when to provide the optional 'as_of_date' for historical evaluation, offering clear usage guidance. However, it does not explicitly state when not to use this tool or mention alternatives among siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
format_citationA
Format a Danish legal citation per standard conventions.
Formats:
full: "document 2018:218 3 kap. 5 §"
short: "2018:218 3:5"
pinpoint: "3 kap. 5 §"
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format (default: "full") | |
| citation | Yes | Citation string to format |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so description carries full burden. It describes three output formats with examples, making behavior clear for a formatting tool. No destructive behavior expected.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise: one sentence of purpose plus a bullet list of formats. No wasted words, front-loaded with verb and resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given low complexity (2 params, no output schema), the description is sufficient. It explains purpose and formats. Could mention return value explicitly, but not necessary for such a simple tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value by providing examples for each format option, clarifying what the 'format' parameter does beyond the enum values.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it formats a Danish legal citation per standard conventions. It distinguishes from sibling 'validate_citation' and other tools. The verb 'format' and resource 'citation' are specific.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for formatting legal citations but does not explicitly state when to use or not use this tool versus alternatives like 'validate_citation'. No exclusions or conditions provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_danish_implementationsA
Find Danish statutes implementing a specific EU directive or regulation.
Given an EU document ID (e.g., "regulation:2016/679" for GDPR), returns all Danish statutes that implement, supplement, or reference it. Shows implementation status and which articles are referenced.
Essential for finding Danish law corresponding to EU requirements.
| Name | Required | Description | Default |
|---|---|---|---|
| primary_only | No | Return only primary implementing statutes (default: false) | |
| in_force_only | No | Return only in-force statutes (default: false) | |
| eu_document_id | Yes | EU document ID (e.g., "regulation:2016/679", "directive:95/46") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Without annotations, the description carries full burden. It explains the tool returns relevant statutes with status and article references. No side effects or auth needs mentioned, but for a read-only retrieval tool this is adequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short paragraphs with no wasted words. First sentence states purpose clearly, example follows, and a concluding sentence emphasizes value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Without an output schema, the description outlines return content (statutes, status, article references) but lacks specifics on structure, pagination, or error handling. Adequate for a moderate-complexity tool but not exhaustive.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description reiterates the 'eu_document_id' parameter with an example but does not add significant meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool finds Danish statutes implementing EU directives/regulations, with a specific example and details on return content. It distinguishes from siblings like 'search_eu_implementations' by focusing on Danish law.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides context for when to use ('essential for finding Danish law corresponding to EU requirements') but does not explicitly exclude alternatives or mention when not to use it. Still clear enough for an agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_eu_basisB
Get EU legal basis (directives and regulations) for a Danish statute.
Returns all EU directives and regulations that this statute implements, supplements, or references. Includes reference types, article citations, and whether each EU document is a primary implementation.
Essential for understanding which EU law a Danish statute is based on.
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | document ID (e.g., "2018:218") | |
| reference_types | No | Filter by reference type (implements, supplements, applies, etc.) | |
| include_articles | No | Include specific EU article references (default: false) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It describes the return content (reference types, article citations, primary implementation flag) but does not disclose potential large response size, error handling, or read-only nature. Some behavioral context is present, but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, with a front-loaded first sentence stating the purpose. It uses three sentences to convey purpose, return details, and importance without unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 adequately explains the return value (EU directives/regulations with reference types and article citations). However, it does not address edge cases, error scenarios, or distinguish between related siblings, leaving some gaps for complete decision-making.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with clear descriptions for each parameter. The main description adds no additional parameter semantics beyond the schema, meeting the baseline expectation for full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves EU legal basis for a Danish statute, with specifics on returned data (directives, regulations, reference types, article citations). It distinguishes from siblings like 'get_provision_eu_basis' by focusing on statutes rather than provisions, but does not explicitly differentiate.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when needing EU legal basis for a Danish statute, but does not provide explicit guidance on when to use this tool versus alternatives (e.g., 'get_provision_eu_basis' or 'search_eu_implementations'). No exclusions or when-not-to-use instructions are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_preparatory_worksA
Get preparatory works (forarbejder) for a Danish statute.
Returns linked preparatory documents with summaries. Essential for understanding legislative intent behind statutory provisions.
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | document ID of the statute (e.g., "2018:218") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description must compensate. It states it returns linked documents with summaries but does not mention error handling, rate limits, or whether it is read-only. The behavior is implicitly safe but not fully disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, with two short sentences. However, the first sentence partially repeats the tool name. It is well-structured and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one parameter and no output schema, the description sufficiently explains what it returns (linked documents with summaries) and its value. Lacking details on edge cases like empty results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, and the description adds minimal extra meaning beyond the schema. It reiterates the parameter's purpose but does not enrich it significantly.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves preparatory works for a Danish statute and explains its purpose for understanding legislative intent. It distinguishes itself from sibling tools like get_provision and search_legislation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides context on when to use the tool (to understand legislative intent) but does not explicitly state when not to use it or compare with alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_provisionA
Retrieve a specific provision from a Danish statute.
Specify the document ID and either chapter+section or provision_ref directly. Examples:
document_id="2018:218", chapter="1", section="1" → 1 kap. 1 § DSL
document_id="2018:218", provision_ref="1:1" → same result
document_id="1998:204", section="5 a" → 5 a § PUL (flat statute, no chapter)
Omit chapter/section/provision_ref to get all provisions in the statute.
| Name | Required | Description | Default |
|---|---|---|---|
| chapter | No | Chapter number (e.g., "3"). Omit for flat statutes. | |
| section | No | Section number (e.g., "5", "5 a") | |
| as_of_date | No | Optional historical date (YYYY-MM-DD). Returns the provision text valid on that date. | |
| document_id | Yes | document ID (e.g., "2018:218") | |
| provision_ref | No | Direct provision reference (e.g., "3:5" for Kap 3 § 5) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It explains that omitting optional parameters returns all provisions, supports historical dates, and shows different formats for flat vs. chaptered statutes. This adds significant behavioral context despite some missing details on error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, well-structured with front-loaded purpose and examples. Every sentence adds value, and there is no redundant or empty text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description adequately explains the tool's behavior for all parameter combinations. It covers what the tool returns (provision text) and how to get all provisions. It is complete enough for an agent to use correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds value by showing examples and clarifying the relationship between chapter/section and provision_ref, going beyond the schema parameter descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it retrieves a specific provision from a Danish statute. It uses a specific verb ('Retrieve') and resource ('a specific provision from a Danish statute'), and distinguishes itself from sibling tools like search_legislation and build_legal_stance.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear examples of how to use different parameter combinations (chapter+section vs provision_ref) and mentions when to omit them. While it doesn't explicitly exclude sibling tools, the usage context for retrieving a specific provision is well defined.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_provision_eu_basisA
Get EU legal basis for a specific provision within a Danish statute.
Returns EU directives/regulations that a specific provision implements or references, with article-level precision. For example, DSL 2:1 references GDPR Article 6.1.c.
Use this for pinpoint EU compliance checks at the provision level.
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | document ID (e.g., "2018:218") | |
| provision_ref | Yes | Provision reference (e.g., "1:1" or "3:5") |
TDQS
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 states the tool returns EU directives/regulations with article-level precision, which is adequate for a read operation. However, it does not disclose specifics like error handling, authentication needs, or whether results are always present.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, each serving a distinct purpose: stating the tool's function, clarifying return content, and giving usage guidance. No fluff or redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has two well-documented parameters, no output schema, and no annotations, the description covers the essential aspects: purpose, return type, and a usage example. It is complete enough for the tool's simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so a baseline of 3 is appropriate. The description does not add additional meaning beyond what the schema already provides for the two parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'EU legal basis for a specific provision within a Danish statute'. It provides a concrete example and distinguishes from siblings like 'get_eu_basis' by focusing on provision-level precision.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly advises using this tool for 'pinpoint EU compliance checks at the provision level', which provides clear when-to-use guidance. It does not explicitly mention when not to use or alternatives, but the context of sibling tools implies differentiation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_sourcesA
List all data sources and their provenance. Returns source URLs, licenses, and coverage information for transparency and audit compliance.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses that the tool returns source metadata and mentions its purpose (transparency and audit), which conveys it is safe and read-only. No annotations exist, but the description is sufficient for this simple list operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that leads with the action and then specifies return details. Every word earns its place, with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a parameterless list tool with no output schema, the description fully conveys the purpose, return data, and use case. It is complete for an agent to understand and invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With zero parameters, the input schema is fully covered. The description adds value by explaining what the output contains (URLs, licenses, coverage), which is relevant for parameter selection (none needed). Baseline 4 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly specifies the verb 'List' and the resource 'all data sources and their provenance'. It also details the returned information (source URLs, licenses, coverage), distinguishing it from sibling tools that search or validate specific legal content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies use for transparency and audit compliance but does not explicitly state when to use this tool versus alternatives like search_legislation or validate_citation. No when-not guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_case_lawA
Search Danish court decisions (retspraksis).
Searches case summaries and keywords. Filter by court and date range.
| Name | Required | Description | Default |
|---|---|---|---|
| court | No | Filter by court | |
| limit | No | Maximum results (default: 10, max: 50) | |
| query | Yes | Search query for case law summaries | |
| date_to | No | End date filter (ISO 8601) | |
| date_from | No | Start date filter (ISO 8601, e.g., "2020-01-01") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must bear the full burden. It describes the search scope (case summaries, keywords) and filters (court, date range) but lacks details on pagination, response format, or side effects. It is adequate but not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no wasted words. The first sentence states the purpose, the second adds detail on filtering and search scope. Front-loaded and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 5 parameters and no output schema, the description covers the tool's core function and filters. It lacks information on pagination, result format, or sorting, but is generally complete for a basic search tool with clear sibling differentiation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with each parameter documented. The description adds 'case summaries and keywords' beyond the schema's 'Search query for case law summaries', indicating that keywords are also searched, providing extra context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it searches Danish court decisions with specific verb 'Search' and resource 'Danish court decisions'. It distinguishes from sibling tools like search_legislation by specifying case law.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for case law searches but does not explicitly state when to use this tool over alternatives, nor does it provide exclusion criteria or alternative tool suggestions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_eu_implementationsA
Search for EU directives and regulations with Danish implementation information.
Search by keyword, type, year range, or community. Returns matching EU documents with counts of Danish statutes referencing them.
Use this for exploratory searches like "data protection" or "privacy" to find relevant EU law.
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by document type | |
| limit | No | Maximum results (default: 20, max: 100) | |
| query | No | Keyword search (title, short name, CELEX, description) | |
| year_to | No | Filter by year (to) | |
| community | No | Filter by community | |
| year_from | No | Filter by year (from) | |
| has_danish_implementation | No | Filter by Danish implementation existence |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavior. It states the return type ('matching EU documents with counts'), but lacks details on pagination, error handling, or authentication. The behavioral disclosure is adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise at three sentences, with the purpose front-loaded. Every sentence adds value: purpose, filter summary, and usage example. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 7 parameters, no output schema, and no annotations, the description covers the basic purpose and usage but fails to specify the output structure (e.g., is it a list? paginated? what fields are returned?). It partially describes return type but lacks full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already explains each parameter. The description repeats the filter options ('by keyword, type, year range, or community') without adding significant new meaning. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: searching for EU directives and regulations with Danish implementation information. It uses a specific verb ('Search') and resource, and distinguishes from siblings like search_case_law or get_danish_implementations by focusing on EU documents with implementation counts.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides a clear usage example ('Use this for exploratory searches like 'data protection' or 'privacy''), indicating appropriate scenarios. However, it does not explicitly state when not to use this tool or mention alternative sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_legislationA
Search Danish statutes and regulations by keyword.
Searches provision text using FTS5 with BM25 ranking. Supports boolean operators (AND, OR, NOT), phrase search ("exact phrase"), and prefix matching (term*).
Returns matched provisions with snippets, relevance scores, and document metadata.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (default: 10, max: 50) | |
| query | Yes | Search query in Danish or English. Supports FTS5 syntax. | |
| status | No | Filter by document status | |
| as_of_date | No | Optional historical date filter (YYYY-MM-DD). Returns versions valid on that date. | |
| document_id | No | Filter to a specific statute by document ID (e.g., "2018:218") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Describes search mechanism (FTS5 with BM25 ranking), supported syntax, and output format. Since annotations are absent, the description carries the full burden and does well, though it omits rate limits or auth requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four sentences, each serving a clear purpose: purpose, technical detail, syntax, output. No wasted words, well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Sufficient for a search tool: explains what is returned (snippets, scores, metadata) and all parameters are described. Missing pagination details but not critical.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, baseline 3. The description adds value by detailing query syntax (boolean operators, phrases, prefix) beyond the schema's 'FTS5 syntax' note.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the tool searches Danish statutes and regulations by keyword, distinguishing it from sibling tools like search_case_law and search_eu_implementations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for Danish statutory/regulatory text but does not explicitly state when not to use or mention alternatives. The context is clear enough given sibling names.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_citationA
Validate a Danish legal citation against the database.
Parses the citation, checks that the document and provision exist, and returns warnings about status (repealed, amended). This is the zero-hallucination enforcer.
Supported formats:
"2018:502"
"2018:502 1:3"
"2018:502 2 kap. 5 §"
| Name | Required | Description | Default |
|---|---|---|---|
| citation | Yes | Citation string to validate |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. The description mentions returning warnings and being a 'zero-hallucination enforcer,' but does not disclose read-only nature, auth needs, or rate limits. Adequate but not detailed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded with the main purpose. It includes necessary format examples without verbosity. Minor redundancy in 'Parses the citation' is acceptable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given one parameter, no nested objects, and no output schema, the description covers purpose, input formats, and outcome (warnings). It is complete for a simple validation tool, though return structure is not specified.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single 'citation' parameter. The description adds value by listing supported citation formats, which goes beyond the schema's simple string description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'validate' and the resource 'Danish legal citation', distinguishing it from siblings like 'format_citation' and 'check_currency'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the tool validates a citation, checks existence, and returns warnings, implying when to use. However, it does not explicitly exclude when not to use or compare to alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_eu_complianceA
Validate EU compliance status for a Danish statute or provision.
Checks for:
References to repealed EU directives (e.g., Data Protection Directive 95/46/EC)
Missing implementation status
Outdated references
Returns compliance status (compliant, partial, unclear, not_applicable) with warnings and recommendations.
Note: This is Phase 1 validation. Full compliance checking against EU requirements will be added in future phases.
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | document ID (e.g., "2018:218") | |
| provision_ref | No | Optional provision reference (e.g., "1:1") | |
| eu_document_id | No | Optional: check compliance with specific EU document |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description explains the tool's behavior: it checks three specific aspects and returns compliance status. It also discloses the Phase 1 limitation, adding transparency about future enhancements. No destructive side effects are implied.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with bullet points and a note, but contains slight redundancy (Phase 1 mentioned twice). It is generally concise and front-loaded with the main purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so description should detail return structure. It lists possible statuses and mentions warnings/recommendations, but lacks full detail on the response object. Given no annotations and 3 parameters, completeness is adequate but not thorough.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so parameters are already described. The description adds an example EU directive (95/46/EC) but does not significantly enhance understanding beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool validates EU compliance for Danish statute/provision, listing specific checks like references to repealed directives. It distinguishes from sibling tools like validate_citation by focusing on EU compliance.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for validating EU compliance but does not explicitly state when to use versus alternatives like get_eu_basis or check_currency. No 'when not to use' guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
15 tool updates
v1.0.1- First observed
about - First observed
build_legal_stance - First observed
check_currency - First observed
format_citation - First observed
get_danish_implementations - First observed
get_eu_basis - First observed
get_preparatory_works - First observed
get_provision - First observed
get_provision_eu_basis - First observed
list_sources - First observed
search_case_law - First observed
search_eu_implementations - First observed
search_legislation - First observed
validate_citation - First observed
validate_eu_compliance
TDQS
Scored across 15 tools
Each tool targets a distinct legal research function: searching different sources (statutes, case law, EU), retrieving specific provisions, checking currency, validating citations, and EU compliance. No two tools have overlapping purposes.
All tool names follow a consistent verb_noun pattern in snake_case, using descriptive prefixes like get_, search_, validate_, format_, etc. No mixing of conventions or ambiguous names.
15 tools is well-scoped for a comprehensive Danish law reference server, covering search, retrieval, validation, and metadata without being overwhelming or too sparse.
The tool surface covers the full lifecycle of legal research: searching statutes, case law, and EU implementations; retrieving provisions and preparatory works; checking currency; validating citations and EU compliance. No obvious gaps for a query-only server.
Maintenance
Related MCP Connectors
Resolve, search and verify legal citations against the official sources, with provenance.
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
Verified, citable German & EU law for any LLM. Daily updates from official sources, hosted in DE.
Search U.S. case law, fetch opinions, and ask matter-aware legal questions over your documents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables searching and quoting EU legislation with verifiable EUR-Lex citations, including GDPR, NIS2, DORA, and the EU AI Act.10 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables querying Belgian statutes and provisions from the Belgian Official Gazette directly via AI assistants, providing search, citation validation, and EU law integration.45 npm1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with up-to-date legal documents from official sources, enabling accurate legal information retrieval and analysis.18-
- AlicenseAqualityFmaintenanceProvides access to 1,709 Icelandic statutes and 19,026 provisions with full-text search, citation validation, and EU/EEA law integration, enabling legal research and compliance checks through natural language queries.1143 npm1Apache 2.0