Skip to main content
Glama

denmark-legislation-mcp-server

Look up Danish legal citations

dklaw_lookup_citation
Read-onlyIdempotent

Resolve Danish legal citations, ELI paths or URLs, accession numbers, and exact popular titles. Results preserve the cited version and supply any linked terminal consolidation. To read a returned provision address in the cited revision, call dklaw_get_provisions with the canonical ELI as document, version as_given, and the address in provisions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "citations": "<citations>"
    },
    "name": "dklaw_lookup_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
citationsYesOrdered citation strings. Resolves the first 25 per call.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
resultsNoOne resolution per processed citation, in input order.
batch_guidanceNoHow to resolve the remaining citations.
remaining_citationsNoUnprocessed citations in input order, present when the batch exceeds 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, so the safety profile is covered. The description adds genuine domain behavior: results preserve the cited version and supply any linked terminal consolidation, which is not derivable from annotations. It omits other behavioral traits such as per-call resolution limits, which live only in the schema.

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, front-loaded with the core action and accepted inputs, followed by the necessary next step. No filler or restatement of the tool name.

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?

With an output schema present, return shape need not be described, and the description still covers accepted input forms, version-preservation semantics, and the correct continuation path. Nothing an agent needs to invoke this correctly is missing.

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 single parameter already documents ELI links, accessions, dated citations, popular titles, and optional § addresses. The description restates the same input forms rather than adding syntax, ordering, or matching-precedence details, so it does not meaningfully exceed 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?

States a specific verb (resolve) and resource (Danish legal citations) and enumerates the accepted input forms: ELI paths/URLs, accession numbers, exact popular titles. An agent can distinguish this resolver from dklaw_search_documents or dklaw_get_provisions without opening any schema.

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 second sentence gives clear follow-up routing: read a returned provision address via dklaw_get_provisions with the canonical ELI, version as_given, and the address. It does not state the inverse condition (when to prefer a search tool over a lookup when only keywords are known), so it stops short of full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.