Skip to main content
Glama

Dk Elections Party Over Time

dk_elections_party_over_time
Read-onlyIdempotent

One party's vote and seat results across Danish national elections 1979 to the latest (Folketing 1979-2007 from a stored copy, 2009 on live), for the whole country or for one named area at a level the elections share (areas are matched across elections by NAME; boundaries change, so a polling-area match is best effort and flagged; an election lacking the level is listed under skipped with the levels it has). Party by letter (A, V, Ø) or name text (Socialdemokratiet, Liberal Alliance). Defaults to Folketing elections. Seats are null for 1979-2007. 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": {
      "area": "Københavns Storkreds",
      "level": "storkreds",
      "party": "A",
      "from_year": 2015
    },
    "name": "dk_elections_party_over_time"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoUnit name or part of it. Required when level is not country.
typeNofolketingsvalg (default), europa-parlamentsvalg or folkeafstemning.
levelNoGeography level: country, landsdel (3 regions), storkreds (10 multi-member districts; the 2007 election and later), amtskreds (17 stor- og amtskredse, Folketing 1979-2005 only; named from 2001, numbers only before), opstillingskreds (nomination district: 92 from 2007, 103 before), afstemningsomraade (polling-station area, 2009 and later) or valgsted (voting station, Folketing 1979-2007 only). A level an election does not have returns an error naming the levels it does have. Default: country.
partyYesParty letter (A, B, C, F, I, M, O, V, Ø, Å, Æ ...) or part of the party name. Letters were reassigned over time: a letter query returns the party that held it in each election, with its name.
withinNoOptional parent unit name or id, to disambiguate.
from_yearNoOptional first year, 1979 or later.

Output Schema

NameRequiredDescriptionDefault
rowsNo
countNo
levelNo
sourceNo
windowNo
data_as_ofNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations (readOnly, idempotent, non-destructive) by disclosing the stored-copy 1979-2007 versus live 2009-on split, name-based area matching with best-effort flagged polling-area matches, the skipped-levels reporting behavior, and that seats are null for 1979-2007. These are exactly the quirks an agent needs to interpret results correctly.

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?

Purpose is front-loaded in the first clause, and every parenthetical carries real information (matching caveat, skipped-levels behavior, source split). The dense nesting of parentheses makes it harder to scan than it needs to be, but there is little wasted text.

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?

With six parameters, an output schema, and full annotations, the description still covers the non-obvious gaps an agent would otherwise trip on: data-source discontinuity, boundary/name matching, missing-level handling, and null seats in older elections.

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 enum-like level values, type options, within, and from_year are already fully documented in the schema. The description reinforces the party-letter-or-name flexibility and the shared-level constraint but adds little that the schema does not already state.

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?

States a specific resource and scope: one party's vote and seat results across Danish national elections from 1979 to the latest, nationwide or for one named area. The time-series framing for a single party implicitly separates it from per-election siblings like dk_elections_results and dk_elections_turnout.

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?

Gives operative context: defaults to Folketing elections, party may be a letter or name text, and an election lacking the requested level is listed under skipped rather than failing silently. It stops short of explicitly saying when to choose this over dk_elections_results or dk_elections_list_elections.

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.