Skip to main content
Glama

get_dokument

Hämta detaljer om ett specifikt riksdagsdokument

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dok_idYesDokument ID, t.ex. H901FiU1
include_full_textNoInkludera fulltext (kan vara mycket stor data)

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions fetching details but does not disclose potential response size, required permissions, or how include_full_text affects behavior beyond what the schema already says.

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

Conciseness5/5

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

The description is a single, clear sentence with no unnecessary wording. It is front-loaded with the main action and resource, making it easy to scan.

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

Completeness2/5

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

Given the lack of an output schema or annotations, the description should explain what kind of details are returned, but it only says 'detaljer' without elaboration. The tool's behavior and return value remain underspecified.

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% for both parameters, so they are already well-documented. The description adds no additional parameter context, keeping the score at the baseline for high schema coverage.

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 clearly states the action ('Hämta detaljer') and resource ('ett specifikt riksdagsdokument'), making the tool's purpose obvious. However, it does not explicitly differentiate from the sibling tool get_dokument_innehall, which could overlap in intended scope.

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 such as search_dokument or get_dokument_innehall. It only describes what the tool does, not when it should be preferred.

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.