Skip to main content
Glama

denmark-legislation-mcp-server

List Danish law versions

dklaw_list_versions
Read-onlyIdempotent

Trace a Danish law to its terminal consolidation and list the source timeline newest first, or list direct amendments to an executive order. Pending amendments are direct later links; read their commencement clauses before interpreting effective dates. Use next_offset to continue within the stated coverage.

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": {
      "document": "<document>"
    },
    "name": "dklaw_list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRequested rows per page, capped at 100.
offsetNoZero-based offset in the full filtered sequence.
documentYesCanonical ELI path or URL, accession number, dated Danish citation, or exact popular title.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
foundNoWhether the requested document resolved for this operation.
limitNoApplied page size.
totalNoTotal matching rows within the stated source coverage.
offsetNoApplied offset.
reasonNoReason for the lookup miss.
noticesNoResolution notices.
coverageNoSource coverage of the resolved graph.
documentNoSelected document.
guidanceNoHow to continue after the miss.
versionsNoPage of source-backed versions and amendments.
candidatesNoVerified candidates, where applicable.
next_offsetNoNext offset, or null at the end.
resolved_fromNoIdentity and consolidation provenance.
candidate_totalNoExact number of popular-title matches from the source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and openWorld, so the description rightly spends its words elsewhere: newest-first ordering, the coverage boundary implied by 'stated coverage', and the caution that pending amendments are direct later links whose commencement clauses must be read before interpreting effective dates. That is genuine interpretive context an agent could not get from the annotations.

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?

Three sentences, front-loaded with the primary operation, then the amendment caveat, then pagination. Every sentence carries information, though 'terminal consolidation' and 'stated coverage' are compressed to the point of ambiguity.

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?

An output schema exists, so return shape need not be explained; the description instead covers ordering, the coverage limit, continuation, and the semantic trap around pending amendments. That is complete for a three-parameter read-only listing tool.

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 accepted forms of `document` and the meaning of `offset`/`limit` are already documented. The description adds only a pointer to continue pagination, and it calls that token 'next_offset' while the input schema exposes `offset`, which muddies rather than clarifies the parameter.

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?

States a concrete verb and resource: trace a Danish law's consolidation and list its source timeline newest first, or list direct amendments to an executive order. The two operating modes are distinguishable, though jargon like 'terminal consolidation' takes a moment to parse and no sibling is named for contrast.

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?

It implies when the tool applies (version history for a law, direct amendments for an executive order) but never states when to prefer a sibling such as dklaw_get_relations or dklaw_get_document, nor any exclusions. Usage is inferable rather than guided.

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.