Skip to main content
Glama

get_g0v_category_codes

Hämta en lista över kategorikoder från Regeringskansliet (via g0v.se)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A3.7/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. 'Hämta' implies a read-only operation, but the description does not explicitly state safety or return format (e.g., whether it returns a simple array or requires pagination). It adds no context beyond the basic purpose, leaving the agent without information about potential side effects or response structure.

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, concise sentence that is front-loaded with the core action and resource. Every word contributes to understanding, with no filler or repetition. It is appropriately sized for a no-parameter tool.

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

Completeness3/5

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

Given the tool's low complexity (no params, no output schema, no annotations), the description is minimally adequate but leaves gaps. It does not explain what a 'category code' is, how the list is structured, or whether it is static or dynamic. With siblings like get_data_dictionary, additional context on scope would improve completeness.

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?

The tool has zero parameters, so the baseline is 4. The description adds no parameter information, but none is needed since the input schema is empty and schema coverage is 100%. The description's mention of 'category codes' clarifies what the tool returns, which is relevant to understanding the output context.

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?

The description clearly states the tool's function with a specific verb ('Hämta' - fetch) and a specific resource ('kategorikoder från Regeringskansliet' - category codes from the Government Office). It distinguishes itself from siblings like get_g0v_document_types by focusing on category codes rather than document types.

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?

The description implies usage ('when you need category codes') but does not provide explicit when-to-use or when-not-to-use guidance, nor does it mention alternative tools. For a simple list-retrieval tool, the implied usage is sufficient for a basic understanding, but lacks explicit differentiation from related 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.

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.