Skip to main content
Glama

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/mcp

Claude 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.

MCP Registry License GitHub stars CI Daily Data Check Database Provisions

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 query

Traditional 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

build_legal_stance aggregates across sources

"Er denne lov stadig i kraft?" → check manually

check_currency tool → answer in seconds

Find EU basis → dig through EUR-Lex

get_eu_basis → linked EU directives instantly

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)

Tool

Description

search_legislation

FTS5 search on 620,940 provisions with BM25 ranking. Supports quoted phrases, boolean operators, prefix wildcards

get_provision

Retrieve specific provision by law identifier + paragraph/section (e.g., "Straffeloven" + "263")

check_currency

Check if a law is in force, amended, or repealed

validate_citation

Validate citation against database -- zero-hallucination check. Supports "Straffelovens § 263", "Databeskyttelsesloven § 5"

build_legal_stance

Aggregate citations from multiple laws for a legal topic

format_citation

Format citations per Danish conventions (full/short/pinpoint)

list_sources

List all available laws with metadata, coverage scope, and data provenance

about

Server info, capabilities, dataset statistics, and coverage summary

EU Law Integration Tools (5)

Tool

Description

get_eu_basis

Get EU directives/regulations that a Danish statute transposes (e.g., Databeskyttelsesloven → GDPR)

get_danish_implementations

Find Danish laws implementing a specific EU act

search_eu_implementations

Search EU documents with Danish implementation counts

get_provision_eu_basis

Get EU law references for a specific provision

validate_eu_compliance

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

DK-Statutory-PD — Danish statutory public domain (Ophavsretsloven §9)

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 (get_*_history)

No

Yes

Version diff (diff_*)

No

Yes

Recent changes (get_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

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


Development

Setup

git clone https://github.com/Ansvar-Systems/Denmark-law-mcp
cd Denmark-law-mcp
npm install
npm run build
npm test

Running Locally

npm run dev                                       # Start MCP server
npx @anthropic/mcp-inspector node dist/index.js   # Test with MCP Inspector

Data 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 detection

Performance

  • 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 — see docs/audits/2026-05-17-eu-copyright-statutory-works-batch-1a-AT-BE-DK-FI-FR.md. Catalog entry: DK-Statutory-PD in infrastructure/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 tools
aboutA

Server metadata, dataset statistics, freshness, and provenance. Call this to verify data coverage, currency, and content basis before relying on results.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
as_of_dateNoOptional historical date (YYYY-MM-DD). Computes in-force status as of that date.
document_idYesdocument ID (e.g., "2018:218")
provision_refNoOptional provision reference to check (e.g., "3:5")

TDQS

A4.2/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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 §"

ParametersJSON Schema
NameRequiredDescriptionDefault
formatNoOutput format (default: "full")
citationYesCitation string to format

TDQS

A4.2/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
primary_onlyNoReturn only primary implementing statutes (default: false)
in_force_onlyNoReturn only in-force statutes (default: false)
eu_document_idYesEU document ID (e.g., "regulation:2016/679", "directive:95/46")

TDQS

A4.1/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
document_idYesdocument ID (e.g., "2018:218")
reference_typesNoFilter by reference type (implements, supplements, applies, etc.)
include_articlesNoInclude specific EU article references (default: false)

TDQS

B3.4/5.0
Behavior3/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
document_idYesdocument ID of the statute (e.g., "2018:218")

TDQS

A3.9/5.0
Behavior3/5

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.

Conciseness4/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
chapterNoChapter number (e.g., "3"). Omit for flat statutes.
sectionNoSection number (e.g., "5", "5 a")
as_of_dateNoOptional historical date (YYYY-MM-DD). Returns the provision text valid on that date.
document_idYesdocument ID (e.g., "2018:218")
provision_refNoDirect provision reference (e.g., "3:5" for Kap 3 § 5)

TDQS

A4.4/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
document_idYesdocument ID (e.g., "2018:218")
provision_refYesProvision reference (e.g., "1:1" or "3:5")

TDQS

A4/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.3/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness5/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
courtNoFilter by court
limitNoMaximum results (default: 10, max: 50)
queryYesSearch query for case law summaries
date_toNoEnd date filter (ISO 8601)
date_fromNoStart date filter (ISO 8601, e.g., "2020-01-01")

TDQS

A4/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
typeNoFilter by document type
limitNoMaximum results (default: 20, max: 100)
queryNoKeyword search (title, short name, CELEX, description)
year_toNoFilter by year (to)
communityNoFilter by community
year_fromNoFilter by year (from)
has_danish_implementationNoFilter by Danish implementation existence

TDQS

A3.9/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results (default: 10, max: 50)
queryYesSearch query in Danish or English. Supports FTS5 syntax.
statusNoFilter by document status
as_of_dateNoOptional historical date filter (YYYY-MM-DD). Returns versions valid on that date.
document_idNoFilter to a specific statute by document ID (e.g., "2018:218")

TDQS

A4.4/5.0
Behavior4/5

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.

Conciseness5/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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 §"

ParametersJSON Schema
NameRequiredDescriptionDefault
citationYesCitation string to validate

TDQS

A4.1/5.0
Behavior3/5

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.

Conciseness4/5

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.

Completeness4/5

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.

Parameters4/5

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.

Purpose5/5

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.

Usage Guidelines4/5

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
document_idYesdocument ID (e.g., "2018:218")
provision_refNoOptional provision reference (e.g., "1:1")
eu_document_idNoOptional: check compliance with specific EU document

TDQS

A3.8/5.0
Behavior4/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

  1. 15 tool updatesv1.0.1
    • First observedabout
    • First observedbuild_legal_stance
    • First observedcheck_currency
    • First observedformat_citation
    • First observedget_danish_implementations
    • First observedget_eu_basis
    • First observedget_preparatory_works
    • First observedget_provision
    • First observedget_provision_eu_basis
    • First observedlist_sources
    • First observedsearch_case_law
    • First observedsearch_eu_implementations
    • First observedsearch_legislation
    • First observedvalidate_citation
    • First observedvalidate_eu_compliance

TDQS

A4.2/5.0

Scored across 15 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

15 tools is well-scoped for a comprehensive Danish law reference server, covering search, retrieval, validation, and metadata without being overwhelming or too sparse.

Completeness5/5

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

ActivitySlowing
ResponsivenessResponsive

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI assistants with up-to-date legal documents from official sources, enabling accurate legal information retrieval and analysis.
    18
    -
  • A
    license
    A
    quality
    F
    maintenance
    Provides 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.
    11
    43 npm
    1
    Apache 2.0