Skip to main content
Glama
Austrian Parliament Open Data MCP Server

Austrian Parliament Open Data MCP Server

by austrolink

Count a word in plenary speeches

count_parliament_speech_word_occurrences
Read-only

Count case-insensitive whole-word mentions in Austrian National or Federal Council speech transcripts over a date range, with per-member totals and matching speeches.

Instructions

Count case-insensitive whole-word uses of one word in the speech transcripts of National Council or Federal Council members over up to 366 days. Returns totals per member and each matching speech with date, session, time, count, and transcript link. Transcript text only; no audio or video review.

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": {
      "word": "<word>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "count_parliament_speech_word_occurrences"
  }
}

Input Schema

NameRequiredDescriptionDefault
wordYesOne word, for example Remigration.
chamberNonational_council
end_dateYesInclusive end date (YYYY-MM-DD).
start_dateYesInclusive start date (YYYY-MM-DD).
max_resultsNoMaximum number of speakers, by count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this as a non-destructive, read-only, open-world operation, so the safety profile is covered. The description adds real value beyond that: the case-insensitive whole-word matching rule, the 366-day ceiling, the transcript-only coverage boundary, and the shape of the return (per-member totals plus each matching speech with date, session, time, count, link). It omits behavior on invalid or over-long date ranges and whether results are truncated or ordered.

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?

Two tightly written sentences: the operation and its scope come first, the return shape second, and the coverage limit last. No redundant restatement of the title or schema, and no filler.

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 contract and does so adequately: totals per member plus per-speech records with named fields. For a five-parameter, open-world analytical tool the remaining gaps (error behavior above 366 days, result ordering, truncation when max_results is hit) are modest but real.

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?

Schema description coverage is 80%, so the baseline is 3; the description earns an extra point by clarifying that 'word' means a single whole word matched case-insensitively, that the date window is capped at 366 days, and that the two chambers are the National or Federal Council. The max_results meaning ('totals per member') is only loosely implied rather than explicitly tied to the parameter.

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?

States a specific verb ('Count') and fully specifies the resource (case-insensitive whole-word uses of one word in National Council / Federal Council speech transcripts) plus the temporal scope. The 'count' framing clearly separates it from the sibling search_parliament_speeches and rank_parliament_speakers operations without needing to name them.

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?

Gives a clear operating context (single-word occurrence counting over up to 366 days) and an explicit exclusion: 'Transcript text only; no audio or video review.' It stops short of routing the agent to alternatives for broader full-text or multi-word queries, so it does not reach a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.