Skip to main content
Glama

List Votes

list_votes
Read-onlyIdempotent

List individual member votes (voteringar) for a parliamentary session and committee-report designation. Results nest under voteringlista.votering[]; each row has namn, parti, valkrets and rost (Ja/Nej/Avstår/Frånvarande).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rmYesSession/riksmöte, e.g. "2023/24". Required.
szNoNumber of vote rows (default 50).
betYesDesignation (beteckning), e.g. "FiU1". Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "bet": "FiU1",
      +    "rm": "2023/24"
      +  },
      +  {
      +    "bet": "SfU18",
      +    "rm": "2024/25",
      +    "sz": 100
      +  }
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds significant value by disclosing the response structure (nested under voteringlista.votering[]) and row-level fields (namn, parti, valkrets, rost) with allowed vote values, going beyond what annotations provide.

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 two sentences, front-loaded with purpose and followed by essential return structure. Every sentence earns its place, with no filler or redundancy.

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?

With no output schema, the description fully covers the return value structure and key fields. Combined with comprehensive parameter schema and safety annotations, the tool is well-specified for an agent to invoke correctly.

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 100% of parameters with descriptions and examples. The tool description adds no parameter-specific semantics beyond what the schema already provides, so the baseline of 3 is appropriate.

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 states the action (List), the resource (individual member votes/voteringar), and the scoping context (parliamentary session and committee-report designation). This clearly differentiates it from sibling tools like list_members and get_document.

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?

The description gives clear context on when to use the tool: when needing individual member votes for a specific rm and bet. It doesn't explicitly name alternatives or exclude other tools, but the specificity implies appropriate usage, so a 4 is warranted.

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.