Skip to main content
Glama

dk_get_text

Read-onlyIdempotent

Retrieve the complete official LexDania XML text of a Danish legal document by year and number or accession code.

Instructions

Fetch the full LexDania XML of a Danish document (verbatim official text).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoe.g. ``2018`` (use together with ``number``).
numberNoe.g. ``502`` (use together with ``year``).
accessionNoe.g. ``"A20180050230"`` (alternative to year + number).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNo
formatNolex-dania-xml
numberNo
contentNo
eli_uriNo
byte_sizeNo
source_urlNo
dataset_noteNoRetsinformation serves Danish consolidated legislation as LexDania 2.1 XML behind native ELI URIs. Address a document by ELI coordinate (year + number in the 'lta' collection = Lovtidende A) or by its accession number; there is no free-text search. dk_recent_changes lists documents changed on a given date via the harvest API (available 03:00-23:45 Danish time). Covers laws (LOV), consolidated laws (LBK), executive orders (BEK), circulars (CIR) and guidelines (VEJ). Language: Danish.
accession_numberNo
human_readable_citationNo
Behavior3/5

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

Annotations already indicate read-only, idempotent, non-destructive behavior. The description adds format detail (LexDania XML) but no additional behavioral traits like permissions or 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?

Single sentence of 12 words, highly concise with no wasted words. Perfectly front-loaded with key 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?

For a simple fetch tool with optional parameters and an output schema, the description covers the essential aspects (what it returns, origin). Could mention that it returns XML or document retrieval, but sufficient given the output schema.

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 input schema already provides sufficient descriptions for all three parameters (year, number, accession). The description adds no new semantic 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 action ('Fetch'), resource ('full LexDania XML of a Danish document'), and quality ('verbatim official text'), making it highly specific and distinguishable from siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus the siblings (dk_get_act, dk_recent_changes). No explicit conditions or alternatives mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matematicsolutions/dk-eli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server