Skip to main content
Glama

Riksdag & Regering

Sök regeringsärenden

search_regeringsarenden
Read-onlyIdempotent

Sök bland enskilda ärenden som regeringen beslutat om vid sina veckovisa regeringssammanträden (från hösten 2024): ärendets rubrik, departement, föredragande statsråd, diarienummer och sammanträdesdatum. Använd för frågor som "vilka ärenden tog Finansdepartementet upp förra veckan?" eller "när beslutade regeringen om uppdraget till Skolverket?". Förteckningen innehåller bara rubriker, inte själva besluten. Utan filter listas de senaste ärendena, nyast först. Äldre sammanträden finns som PDF via search_regering med typer=["arendeforteckningar"].

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_regeringsarenden"
  }
}

Input Schema

NameRequiredDescriptionDefault
sokNoOrd som alla måste finnas i ärendets rubrik, t.ex. "uppdrag Skolverket". Sökningen är ordagrann.
tomNoSenaste sammanträdesdatum, ÅÅÅÅ-MM-DD.
fromNoTidigaste sammanträdesdatum, ÅÅÅÅ-MM-DD.
antalNoMax antal ärenden, standard 20.
offsetNoHoppa över så här många ärenden (för nästa sida).
statsradNoFöredragande statsråd, hela eller del av namnet, t.ex. "Svantesson".
departementNoDepartement, hela eller del av namnet, t.ex. "Finansdepartementet" eller "utbildning".
diarienummerNoDiarienummer eller början av det, t.ex. "Fi2025/01893" eller "U2026/".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds genuinely non-obvious behaviour: the corpus starts autumn 2024, the listing contains only headings and not the decisions themselves, and unfiltered calls return newest-first. It stops short of describing pagination mechanics or result volume, which keeps it from a 5.

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?

Four tight sentences, front-loaded with purpose, then examples, then a caveat about content, then the default behaviour and the escape hatch to the sibling tool. No filler and nothing repeated from the schema.

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?

Despite eight optional parameters and no output schema, the description discloses what a result contains, the temporal coverage limit, the default sort and the alternative source for older meetings. An agent has everything needed to decide whether to call it and how to interpret results.

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%, so the schema already defines sok, from/tom, antal, offset, statsrad, departement and diarienummer with formats and examples. The description only reinforces the default behaviour (no filters = latest first), adding little parameter meaning beyond the structured data. Baseline 3 applies.

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?

Names a specific verb and resource ("Sök bland enskilda ärenden") and pins down the scope precisely: government cases decided at weekly meetings from autumn 2024, returning rubrik, departement, föredragande statsråd, diarienummer and sammanträdesdatum. It distinguishes itself from the sibling search_regering by pointing at that tool only for older PDFs.

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

Usage Guidelines5/5

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

Gives concrete example questions ("vilka ärenden tog Finansdepartementet upp förra veckan?") that map directly onto the filter parameters, and explicitly routes the agent elsewhere for older material (search_regering with typer=["arendeforteckningar"]). Both when-to-use and when-to-use-something-else are stated.

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.