Skip to main content
Glama

Kildeverk

A Stortinget case and its votes

parliament_case
Read-onlyIdempotent

One case in the Norwegian parliament: title, committee, rapporteurs, the decision, and every vote on it with the result, the counts, and how each party voted when votes were recorded by name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "case_id": "<case_id>"
    },
    "name": "parliament_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
case_idYesCase id from parliament_cases.
party_breakdownNoFor votes recorded by name, count how each party voted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds one genuine behavioral detail beyond that: party-level vote counts exist only 'when votes were recorded by name', which warns the agent results can be partial. It says nothing about response size for cases with many votes, ordering, or whether vote detail is always included.

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

Conciseness4/5

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

A single front-loaded sentence that opens with the resource scope and then lists the returned contents, with no filler or repetition. The trailing list is dense but each item earns its place by telling the agent what it will get back in the absence of an output schema.

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 no output schema, the description carries the return-value burden and does so well by enumerating the component fields of a case including votes, results, and counts. Parameters are fully documented in the schema and annotations cover the safety profile, leaving only minor gaps such as volume/pagination expectations for heavily voted cases.

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 both parameters (case_id and party_breakdown) are already documented in the schema, including the pointer to parliament_cases as the id source. The description restates the conditional party-breakdown behavior but adds no format, range, or default information beyond the structured fields; baseline 3 applies.

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?

States a specific resource and scope: 'One case in the Norwegian parliament', then enumerates the payload (title, committee, rapporteurs, decision, every vote with result and counts). This clearly contrasts with the plural parliament_cases sibling by implying single-case retrieval by id. It does not, however, explicitly name or differentiate itself from parliament_vote_details, which it partially overlaps with.

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?

No sentence says when to use this tool, when not to, or which sibling to pick instead. The only implicit cue is the singular 'One case' plus 'every vote on it', which hints at a single-case detail fetch, but the agent must infer the boundary against parliament_cases and parliament_vote_details entirely on its own.

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.