Skip to main content
Glama

search_dokument

Sök efter riksdagsdokument

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rmNoRiksmöte (t.ex. 2024/25)
avdNoAvdelning
betNoBeteckning (t.ex. AU10)
iidNoLedamots-ID
typNoHuvudtyp för dokumentet
sortNoSorteringsordning
exaktNoKräv exakt matchning
limitNoMax antal resultat
organNoOrgan (t.ex. KU, FiU, UU)
partiNoParti
titelNoTitel eller fritext att söka efter
doktypNoDokumenttyp (t.ex. mot, prop, bet, skr)
facetsNoFacetteringar
nummerNoDokumentnummer
statusNoStatus (planerat, antaget etc.)
subtypNoUndertyp
talareNoTalare
webbtvNoHitta dokument med webbtv
rapportNoRapporttyp (rdlstat etc.)
to_dateNoTill datum (YYYY-MM-DD)
subtitleNoUndertitel
from_dateNoFrån datum (YYYY-MM-DD)
mottagareNoMottagare
planeringNoInkludera planeringsdata
sortorderNoSorteringsriktning
relaterat_idNoRelaterat dokument-ID
tempbeteckningNoTemporär beteckning

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are present, so the description alone must convey behavior. It only states a generic search function. It does not disclose pagination limits, default sorting, filtering behavior, or any other operational traits. The tool is likely read-only, but this is not explicitly stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise—a single short phrase—with no filler words. However, it is under-specifying for a tool with 27 parameters. While it is front-loaded, it does not provide sufficient information to justify this brevity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's high complexity (27 parameters) and no output schema, the one-line description is severely inadequate. It explains neither the search semantics, result format, nor usage context. The parameter schema helps but cannot compensate for the lack of tool-level guidance.

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?

The input schema covers all 27 parameters with descriptions (100% coverage), so the schema already provides parameter semantics. The description adds no parameter-related value, but it does not need to compensate given the schema's completeness. Baseline 3 is appropriate.

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 clear verb+resource: 'Sök efter riksdagsdokument' (Search for riksdag documents). It is specific about the action and object. However, it does not distinguish itself from multiple sibling search tools like search_dokument_fulltext or search_anforanden, which also search document-related data.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. There are several sibling search tools (e.g., search_dokument_fulltext, search_anforanden) with no differentiation. No context or exclusions are mentioned.

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.

TDQS

C2.3/5.0
Disambiguation3/5

Many tools target specific data types (documents, speeches, votes, members), but there is notable overlap between similar fetch/search tools, such as get_dokument vs get_dokument_innehall, and search_dokument vs search_dokument_fulltext. Descriptions help, but an agent could easily select the wrong tool for a task.

Naming Consistency2/5

Tool names mix Swedish and English inconsistently (e.g., get_betankanden vs get_dokument, get_regering_document vs get_g0v_document_content). Prefixes vary (get, search, fetch, list, batch, enhanced, analyze, summarize) without a clear pattern, making the set feel haphazard.

Tool Count2/5

With 32 tools, the server is heavy and likely overwhelms an agent. While the domain is broad, many tools could be consolidated (e.g., paginated fetch variants, multiple search methods), and the count exceeds the typical well-scoped range.

Completeness4/5

The server covers a wide range of Swedish government data: documents, members, votes, questions, reports, and calendars. Minor gaps exist, such as no direct single-vote retrieval or per-member document listing, but the core informational needs are well covered.