Skip to main content
Glama

Dk Elections List Elections

dk_elections_list_elections
Read-onlyIdempotent

List the Danish national elections and referendums covered: Folketing elections 1979 to 2007 (stored copy of the Danish Election Database) and Folketing, European Parliament elections and referendums 2009 to the latest held (live), each with date, type, geography levels available and where it is served from. European Parliament elections and referendums before 2009, municipal and regional elections are NOT covered. Source: Statistics Denmark.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "type": "folketingsvalg"
    },
    "name": "dk_elections_list_elections"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoOptional filter: folketingsvalg, europa-parlamentsvalg or folkeafstemning.

Output Schema

NameRequiredDescriptionDefault
countNo
sourceNo
windowNo
electionsNo
data_as_ofNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered. The description adds real context beyond that: the split between a stored copy of the Danish Election Database (1979-2007) and live data (2009+), the provenance (Statistics Denmark), and where each entry is served from.

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?

Coverage is front-loaded in the first sentence, followed by the exclusion clause and source attribution — no filler. The middle clause ('each with date, type, geography levels available and where it is served from') is slightly dense but earns its place by describing the payload.

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 an output schema present, return values need not be explained, and the description covers coverage windows, exclusions and provenance. The only gap is that it does not frame this as the discovery step preceding the sibling result tools.

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% and the single optional 'type' parameter is documented in the schema with its three allowed values. The description's enumeration of election categories loosely maps onto those values but adds no filter syntax or default behavior, so the baseline of 3 applies.

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 gives a specific verb and resource ('List the Danish national elections and referendums covered') and enumerates exactly what each entry contains (date, type, geography levels, hosting source). It is clearly a catalog/coverage tool, implicitly distinct from the results/turnout siblings, but it never explicitly contrasts itself with them.

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?

It supplies clear scope boundaries: what time ranges and election types are included (Folketing 1979-2007, Folketing/EP/referendums 2009+) and what is explicitly NOT covered (pre-2009 EP, municipal and regional elections). What is missing is a positive instruction such as 'call this first to discover available datasets before using results/turnout'.

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.