Skip to main content
Glama

denmark-legislation-mcp-server

Track Danish legislation changes

dklaw_track_changes
Read-onlyIdempotent

List Danish publications or changes in an inclusive date window. Filter publications by ministry, classification, or document type. Changed documents come from the Atom feed, which records only the latest change per document. Use the returned coverage to interpret incomplete windows and next_offset to continue.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "dklaw_track_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesLast Copenhagen date, inclusive and no later than today.
fromYesFirst Copenhagen date, inclusive (YYYY-MM-DD).
kindNoUse published for new publications, changed for the latest event retained per document.published
limitNoRequested rows per page, clamped to 100.
mediumNoELI publication medium from topic media in dklaw_list_reference. Blank or omitted means all media.
offsetNoZero-based offset within the filtered window.
reasonsNoFilter changed documents. Default includes content changes and removals.
ministryNoFilter publications by one ministry or authority from dklaw_list_reference with topic ministries.
classificationNoFilter publications by category. Intersects with document_types.
document_typesNoFilter publications by document type. See dklaw_list_reference.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
itemsNoMatching rows, newest first.
limitNoApplied page size.
totalNoTotal matches in the covered source data.
offsetNoApplied offset.
noticesNoPaging, filter and recovery guidance.
coverageNoCoverage of these dates, independent of the exact total over matching source rows.
next_offsetNoOffset of the next matching row, or null at the end.
applied_filtersNoEffective date, mode and filters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 bar is lower, yet the description adds substantive behavior: changed documents come from an Atom feed that retains only the latest change per document, and it points at coverage and next_offset for window completeness and pagination. That Atom-feed limitation is a genuine constraint an agent could not infer from structured fields.

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?

Four sentences, front-loaded with the core action and scoping, then filters, then the two caveats. No filler; the only slight opacity is the reference to 'coverage' without saying what shape it takes.

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?

With ten parameters, an output schema, and full annotations, the description covers the non-obvious essentials: the Atom latest-change-only limitation, window completeness via coverage, and offset continuation. The main residual gap is which sibling to choose for other retrieval needs.

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 documents from/to, kind, limit, medium, offset, reasons, ministry, classification and document_types. The description restates the inclusive-window nature and the filterable facets but adds no syntax or edge-case detail (e.g., how ministry IDs differ from names) 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('List Danish publications or changes in an inclusive date window') and covers the two modes of operation. It is clearly a listing/feed tool, distinct in kind from a document-retrieval or search tool, though it never names a sibling to route against.

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 gives some operative guidance ('Use the returned coverage to interpret incomplete windows and next_offset to continue') and the kind enum semantics imply when to pick published vs changed. However, it never states when to prefer this over dklaw_search_documents or dklaw_list_versions, and offers no explicit exclusions.

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.