Skip to main content
Glama

Dk Resolve Party

dk_resolve_party
Read-onlyIdempotent

Resolve one Danish political party to a single record from ANY of its identifiers: the list letter used in election results and poll tables (A, B, C, F, I, O, V, Æ, Ø, Å ...), the Folketing group code (S, RV, DF, EL, ...), the name in Danish or English, or a Folketing party-group actor id. Returns the party name in Danish and English, its list letter, its Folketing group code, every Folketing group actor id (one per parliamentary term, with dates, and which one is the sitting one), and the source of each id. A letter reassigned over time answers with the party holding it now and lists the earlier holders. A query that matches nothing returns found false with the closest names, never an empty success. Source: Folketinget, actor register; party-letter table maintained by Pipeworx.

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": {
      "query": "Ø"
    },
    "name": "dk_resolve_party"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesLetter ("A", "Ø"), Folketing group code ("S", "DF", "ALT"), a name ("Venstre", "Red-Green Alliance"), or a Folketing group actor id such as "21555".

Output Schema

NameRequiredDescriptionDefault
idsNo
foundNo
partyNo
sourceNo
matched_onNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description adds real behavioral context: letter reassignment resolves to the current holder while listing earlier holders, and a no-match query returns found=false with closest names rather than an empty success. It also names the upstream source (Folketinget actor register, Pipeworx-maintained letter table), which supports trust judgments.

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?

Front-loaded with purpose and identifier classes, then edge-case behavior, in one dense paragraph with little filler. The mid-paragraph enumeration of return fields (Danish/English name, list letter, group code, actor ids, source) is partly redundant given an output schema exists and could be trimmed.

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?

For a one-parameter read tool with full schema coverage and an output schema, the description covers everything that matters: what input forms work, how ambiguous temporal letters behave, what a miss looks like, and where the data comes from. Nothing an agent needs to invoke it correctly is missing.

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% and the single 'query' parameter is fully documented, so baseline is 3. The description nonetheless adds meaning beyond the schema: that identifiers of any class are interchangeable, and that letter input has temporal resolution semantics (current holder plus prior holders).

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 precise verb ('Resolve') and resource ('one Danish political party to a single record') and enumerates the accepted identifier classes (list letter, Folketing group code, Danish/English name, actor id). This is clearly distinguishable from siblings like dk_resolve_person (person entity) and dk_current_parties (listing, not resolving), without needing to open any schema.

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 clear triggering context: use this when you hold ANY form of party identifier and want a single resolved record. It does not, however, name an alternative or exclusion (e.g. 'to enumerate all parties, use dk_current_parties'), so the agent must infer routing among siblings.

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.