Skip to main content
Glama

sweden-parliament-mcp-server

Riksdag List Reference

riksdag_list_reference
Read-onlyIdempotent

Look up official document types, committees, parties, constituencies, speech reply filters, sessions, identifier conventions and source coverage. The offline snapshot is dated; follow nextCall to read every entry. Document subtypes remain distinct from parent document-type codes, and the session catalog can lag current sessions.

Input Schema

NameRequiredDescriptionDefault
limitNoRequested entries; values above 100 are clamped with a notice.
topicYesVocabulary or guidance topic to browse.
offsetNoZero-based local entry offset.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
limitNoApplied maximum page length after clamping and whole-entry fitting.
topicNoSelected reference topic.
offsetNoApplied zero-based local offset.
sourceNoRequired attribution to the Swedish Parliament.
entriesNoComplete entries on this page, retaining Swedish source labels and distinct subtypes.
hasMoreNoWhether further bundled entries remain.
noticesNoAll applicable notices, including an empty list.
nextCallNoContinuation covering every remaining entry.
truncatedNoWhether response fitting shortened this page.
totalCountNoExact number of bundled entries for this topic.
retrievedAtNoSource fetch time, retained unchanged on cache hits.
returnedCountNoActual entries on this page.
upstreamQueryNoUpstream query echo; not proof that a filter was applied.
effectiveQueryNoDeterministic normalized input, applied defaults and local filters.
requestedLimitNoCaller-requested page length before clamping.
upstreamWarningsNoWarnings supplied by the source.
referenceSourceUrlNoOfficial source URL for this topic.
referenceVerifiedAtNoSnapshot verification date.
referenceCatalogTimestampNoOriginal catalog generation timestamp without an inferred timezone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With readOnlyHint/idempotentHint already declaring safety, the description adds real context: the snapshot is dated, the session catalog can lag, document subtypes are distinct from parent type codes, and nextCall must be followed to read all entries. These are staleness and completeness traits the annotations cannot express.

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?

Three sentences, front-loaded with the topic inventory, then staleness and subtype caveats. Dense but each clause carries a distinct warning; only the topic list is close to restating the enum.

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?

An output schema exists, so return values need not be described, and the description covers the remaining unknowns an agent needs: snapshot staleness, pagination via nextCall, subtype-vs-parent distinction, and session lag. Little is missing for a read-only reference lookup.

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 still adds meaning by glossing the enum topics — 'speech reply filters' for speech_types, 'identifier conventions' for identifiers, and 'source coverage' for coverage — clarifying intent beyond the bare enum labels.

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 states a specific verb ('look up') and enumerates the reference resources covered (document types, committees, parties, sessions, identifier conventions, coverage). This clearly separates it from the sibling search_/get_ tools, which retrieve documents, members, votes, or speeches, even though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent gathers that this is the vocabulary tool to consult before or alongside the search tools. There is no explicit 'use this when / don't use this when' or pointer to a specific alternative, so guidance remains inferential.

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.