Skip to main content
Glama

get_provision

Retrieve a specific provision from a Danish statute using document ID and chapter/section or provision reference. Optionally get all provisions or historical text by date.

Instructions

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.

Input Schema

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

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/Ansvar-Systems/Danish-law-mcp'

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