Skip to main content
Glama

Riksdag & Regering

Riksdagens kalender

get_kalender
Read-onlyIdempotent

Kommande händelser i riksdagen: debatter, voteringar (beslut), frågestunder, interpellationsdebatter och utskottens sammanträden och utfrågningar. Visar händelser från och med i dag om inget annat anges. Kalendern innehåller planerade händelser och ungefär en månad bakåt – äldre händelser finns inte.

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": "get_kalender"
  }
}

Input Schema

NameRequiredDescriptionDefault
tomNoSista dag, ÅÅÅÅ-MM-DD.
fromNoFörsta dag, ÅÅÅÅ-MM-DD. Standard: i dag.
antalNoMax antal händelser, standard 50.
organNoBegränsa till kammaren ("kamm"), EU-nämnden ("eun") eller utskott, t.ex. ["FiU","UbU"]. Standard: alla.
aktivitetNoTyp av händelse: vo (beslut/votering), ap (debatt om förslag), fs (frågestund), sf (statsministerns frågestund), ip (interpellationsdebatt), pd (partiledardebatt), ou (öppen utfrågning). Fler koder: get_referensdata.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive behavior, so the description is not needed for safety. It does add valuable behavioral facts the annotations cannot convey: the default start date, that the window extends only about one month back, and that the calendar holds planned (not historical) events. Return format/pagination is left unstated.

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?

Three sentences, front-loaded with what the calendar contains, followed by the default window and the coverage limit. Every sentence carries information an agent needs to decide to call the tool and how to scope it; nothing is padding.

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?

With five optional parameters, no output schema and no required inputs, the definition covers content types, default scoping and the historical-coverage limit — enough to call it correctly. Since no output schema exists, a brief hint about the returned event fields would have closed the remaining gap.

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%, with defaults for from, antal and organ already documented in the schema, so the baseline is 3. The description reinforces the default start date ("i dag") and points to get_referensdata for further aktivitet codes, adding a little meaning beyond the schema but no format or combination guidance.

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?

Names the resource (riksdagskalendern) and enumerates concrete content: debatter, voteringar, frågestunder, interpellationsdebatter, utskottssammanträden och utfrågningar. That is far more specific than a name restatement. It stops short of explicitly distinguishing itself from detail-oriented siblings like get_votering or get_anforande, which also surface voteringar/debatter, so the boundary is left implicit.

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

Usage Guidelines4/5

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

"Visar händelser från och med i dag om inget annat anges" establishes the default window, and "ungefär en månad bakåt – äldre händelser finns inte" tells the agent when this tool cannot help (historical events). It also routes to get_referensdata for additional activity codes. What is missing is explicit routing against siblings such as get_votering for a known vote, but the coverage constraint is real guidance.

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.