Skip to main content
Glama

Explore plenary sittings, decisions, and voters

euparl_get_plenary_votes
Read-onlyIdempotent

Discover sittings with mode sittings and year. Mode vote_items lists what a sitting voted on: its PLENARY_VOTE_RESULTS vote items in published order, each with its title label, based-on documents, procedures, recording documents and decision_count, from one sitting-wide read; pass a vote_item_id to decisions mode for its decisions. Vote items on sittings before 2024 publish no decision links, so decision_count is absent there. Default decisions pages compact summaries with labels, separate decided-on, part-of and recording document relations, and vote items for sitting_id. Vote items, decisions and voters return the requested whole-item count or remaining rows without an output-size cap. Optional label_contains, in decisions or vote_items, selects a literal selected-language substring of decision labels (report citations, amendments) or vote item titles, ignoring case, repeated whitespace and dash style without altering published text or establishing a final vote; in a decision label a document_ids entry is cited with its prefix and term joined and the year after the number, so A-9-2022-0116 is A9-0116/2022 and the joint motion RC-9-2022-0257 is RC-B9-0257/2022. Optional document_id filters decisions before paging by exact document identity or hyphen-boundary descendant; optional vote_item_id, such as a procedure's PLENARY_VOTE_RESULTS event, selects every decision of that vote item. Mode decision requires decision_id and returns one rich record with reference text and commentary; it rejects nondefault paging and snapshot. Optional decisions or decision mep_id returns independent recorded and intended positions with publication availability, without a roster lookup; empty positions do not prove absence from the vote. Mode voters requires decision_id and one position, paging recorded and intended voters independently. Missing arrays succeed with available false; published empty arrays have available true. Optional resolve_names requires explicit roster_term and joins only published names from that complete term roster, never voting-date affiliations or current-roster substitutes. Some IDs may remain unresolved. Continue local vote items, decisions or voters with page.next_offset and snapshot; restart at offset 0 without snapshot after snapshot_changed. Missing sitting vote items or decisions succeed empty; absent selected decision fails decision_not_found.

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

Input Schema

NameRequiredDescriptionDefault
modeNoDefault decisions returns compact summaries; sittings discovers by year, vote_items lists the vote items of sitting_id, decision returns one rich record, voters pages one position.decisions
yearNoFour-digit year, required only for sittings and forbidden in other modes.
limitNoWhole items requested; default 20. Whole-acquired local collections return the requested count or remaining rows, without an output-size cap. Bounded-mode acquisition limits: 1000 sittings. Larger bounded-mode limits normalize with a notice. Values above the safe-integer range normalize to 9007199254740991; search windows and bounded modes may narrow further.
mep_idNoDecisions or decision member lookup: canonical numeric ID, person/ prefix or exact public person URI. Uses published arrays without a roster join; empty positions do not prove absence from the vote.
offsetNoZero-based collection offset; default 0.
languageNoSupported EU ISO-639-1 language, case-insensitive; default en; source text is never translated.
positionNoRequired only for voters: favor, against, abstention, intended_favor, intended_against, or intended_abstention.
snapshotNoReturned vote-item, decisions or voter-position snapshot; required for local offset above 0, optional at offset 0; forbidden for sittings and decision.
sitting_idNoRequired outside sittings: real YYYY-MM-DD date, MTG-PL-YYYY-MM-DD, known event prefix, or exact public event URI.
decision_idNoRequired for decision and voters: exact returned canonical decision ID, known eli/dl/event/ prefix, or exact public event URI; forbidden for sittings, vote_items and decisions.
document_idNoDecisions-only document filter: canonical ID, eli/dl/doc/ prefix or exact public URI, in any letter case, or a report, adopted-text, motion or agenda citation such as A9-0188/2023, P9_A(2023)0188, T9-0138/2024, B9-0163/2024 (the B- motion) or RC-B9-0163/2024. Matches decided-on, part-of or recording relations by exact ID or hyphen-boundary descendant before paging.
roster_termNoExplicit parliamentary term 0–10 containing the sitting; required with resolve_names true, forbidden otherwise. No term is inferred from dates.
vote_item_idNoDecisions-only vote item filter: canonical MTG-PL-YYYY-MM-DD-VOT-ITM- ID, eli/dl/event/ prefix or exact public event URI, such as a procedure's PLENARY_VOTE_RESULTS event, a vote_items row or a returned vote_item_ids entry. Selects every decision of that vote item before paging; its date must match sitting_id.
resolve_namesNoDefault false retains IDs only; true is voters-only and requires roster_term for complete names-only roster resolution.
label_containsNoDecisions or vote_items literal substring of the selected-language label, ignoring case, repeated whitespace and dash style, applied before paging. Decision labels carry report citations and amendment numbers and combine with document_id and vote_item_id; in a decision label a document_ids entry is cited with its prefix and term joined and the year after the number, so A-9-2022-0116 is A9-0116/2022 and the joint motion RC-9-2022-0257 is RC-B9-0257/2022. Vote item labels are titles such as Artificial Intelligence Act. Matching text does not establish a final vote.

Output Schema

NameRequiredDescriptionDefault
capNoEffective whole-item page limit.
modeNoSitting discovery, sitting vote-item page, compact decision page, one rich decision, or one voter-position page.
pageNoSelected sitting, vote-item, compact decision, or voter-position page; absent for a rich decision. Local pages retain the requested count or remaining rows without a character budget; next_offset resumes at the first item left out.
errorNoPresent when the call failed. Absent on success.
shownNoWhole items shown on this partial page.
noticeNoPublication, language fallback, empty-result or continuation guidance.
votersNoIndependent page for one recorded or intended position, preserving published ID order.
decisionNoComplete selected rich decision, present only in decision mode.
positionNoSelected recorded or intended position in voters mode.
sittingsNoSitting discovery page, present only in sittings mode.
availableNoWhether the selected source array was published, including a published empty array.
decisionsNoCompact whole-decision page with selected-language labels, separate decided-on, part-of and recording document relations, and vote items.
truncatedNoTrue when this page returns only part of the selected collection.
sitting_idNoNormalized selected sitting identifier; absent in sitting discovery.
totalCountNoExact count only when published or computed over a complete collection.
vote_itemsNoWhole vote-item page of the sitting in published order, present only in vote_items mode; roll-call, split and separate-vote requests are left out.
decision_idNoNormalized selected decision identifier; present in decision and voters modes.
appliedFiltersNoActual normalized retrieval scope and filters.
voter_resolutionNoNames-only provenance and complete-position resolution counts; names do not prove spelling or affiliation on the voting date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedInput schema / properties / decision_id / description
      Previous value: -"Required for decision and voters: exact returned canonical decision ID, known eli/dl/event/ prefix, or exact public event URI; forbidden for sittings and decisions."New value: +"Required for decision and voters: exact returned canonical decision ID, known eli/dl/event/ prefix, or exact public event URI; forbidden for sittings, vote_items and decisions."
    • changedInput schema / properties / document_id / description
      Previous value: -"Decisions-only document filter: canonical ID, eli/dl/doc/ prefix or exact public URI. Matches decided-on, part-of or recording relations by exact ID or hyphen-boundary descendant before paging."New value: +"Decisions-only document filter: canonical ID, eli/dl/doc/ prefix or exact public URI, in any letter case, or a report, adopted-text, motion or agenda citation such as A9-0188/2023, P9_A(2023)0188, T9-0138/2024, B9-0163/2024 (the B- motion) or RC-B9-0163/2024. Matches decided-on, part-of or recording relations by exact ID or hyphen-boundary descendant before paging."
    • changedInput schema / properties / label_contains / description
      Previous value: -"Decisions-only literal substring of the selected-language label, ignoring case, repeated whitespace and dash style; combines with document_id and vote_item_id before paging. Matching text does not establish a final vote."New value: +"Decisions or vote_items literal substring of the selected-language label, ignoring case, repeated whitespace and dash style, applied before paging. Decision labels carry report citations and amendment numbers and combine with document_id and vote_item_id; in a decision label a document_ids entry is cited with its prefix and term joined and the year after the number, so A-9-2022-0116 is A9-0116/2022 and the joint motion RC-9-2022-0257 is RC-B9-0257/2022. Vote item labels are titles such as Artificial Intelligence Act. Matching text does not establish a final vote."
    • changedInput schema / properties / mode / description
      Previous value: -"Default decisions returns compact summaries; sittings discovers by year, decision returns one rich record, voters pages one position."New value: +"Default decisions returns compact summaries; sittings discovers by year, vote_items lists the vote items of sitting_id, decision returns one rich record, voters pages one position."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "sittings",
      -  "decisions",
      -  "decision",
      -  "voters"
      -]New value: +[
      +  "sittings",
      +  "vote_items",
      +  "decisions",
      +  "decision",
      +  "voters"
      +]
    • changedInput schema / properties / snapshot / description
      Previous value: -"Returned decisions or voter-position snapshot; required for local offset above 0, optional at offset 0; forbidden for sittings and decision."New value: +"Returned vote-item, decisions or voter-position snapshot; required for local offset above 0, optional at offset 0; forbidden for sittings and decision."
    • changedInput schema / properties / vote_item_id / description
      Previous value: -"Decisions-only vote item filter: canonical MTG-PL-YYYY-MM-DD-VOT-ITM- ID, eli/dl/event/ prefix or exact public event URI, such as a procedure's PLENARY_VOTE_RESULTS event or a returned vote_item_ids entry. Selects every decision of that vote item before paging; its date must match sitting_id."New value: +"Decisions-only vote item filter: canonical MTG-PL-YYYY-MM-DD-VOT-ITM- ID, eli/dl/event/ prefix or exact public event URI, such as a procedure's PLENARY_VOTE_RESULTS event, a vote_items row or a returned vote_item_ids entry. Selects every decision of that vote item before paging; its date must match sitting_id."
    • changedOutput schema / properties / decision / properties / voter_counts / description
      Previous value: -"Counts only for published voter arrays; an absent entry means unavailable, a zero count means published empty."New value: +"Counts only for published voter arrays; an absent entry means unavailable. A zero count means the array names no person: published empty, or holding only entries without an identifier, which a notice discloses."
    • changedOutput schema / properties / decision / properties / voter_counts / items / properties / count / description
      Previous value: -"Exact length of this published voter-ID array; distinct from a published vote tally."New value: +"Number of person IDs in this published voter array, leaving out entries that name no person; distinct from a published vote tally."
    • changedOutput schema / properties / decisions / items / properties / voter_counts / description
      Previous value: -"Counts only for published voter arrays; an absent entry means unavailable, a zero count means published empty."New value: +"Counts only for published voter arrays; an absent entry means unavailable. A zero count means the array names no person: published empty, or holding only entries without an identifier, which a notice discloses."
    • changedOutput schema / properties / decisions / items / properties / voter_counts / items / properties / count / description
      Previous value: -"Exact length of this published voter-ID array; distinct from a published vote tally."New value: +"Number of person IDs in this published voter array, leaving out entries that name no person; distinct from a published vote tally."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: Identifier, calendar date, year, term, or language is unsupported, or vote_item_id belongs to a different sitting date than sitting_id. `invalid_mode_fields`: Required mode fields are missing, incompatible fields are supplied, or local continuation lacks a snapshot. `snapshot_changed`: Complete selected decisions, voters, resolved names, or normalized retrieval scope changed. `decision_not_found`: The selected decision is absent from the complete sitting collection. `upstream_paging_stalled`: Complete name-resolution roster acquisition repeats a page before exhaustion. `upstream_rejected`: Parliament rejects validated request parameters. `upstream_rate_limited`: Parliament rate limits persist after bounded retries. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_filter`: Identifier, calendar date, year, term, or language is unsupported, or vote_item_id belongs to a different sitting date than sitting_id. `invalid_mode_fields`: Required mode fields are missing, incompatible fields are supplied, or local continuation lacks a snapshot. `snapshot_changed`: Complete selected vote items, decisions, voters, resolved names, or normalized retrieval scope changed. `decision_not_found`: The selected decision is absent from the complete sitting collection. `upstream_paging_stalled`: Complete name-resolution roster acquisition repeats a page before exhaustion, or the vote-results read omits a vote item its sitting lists. `upstream_rejected`: Parliament rejects validated request parameters. `upstream_rate_limited`: Parliament rate limits persist after bounded retries. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / mode / description
      Previous value: -"Sitting discovery, compact decision page, one rich decision, or one voter-position page."New value: +"Sitting discovery, sitting vote-item page, compact decision page, one rich decision, or one voter-position page."
    • changedOutput schema / properties / mode / enum
      Previous value: -[
      -  "sittings",
      -  "decisions",
      -  "decision",
      -  "voters"
      -]New value: +[
      +  "sittings",
      +  "vote_items",
      +  "decisions",
      +  "decision",
      +  "voters"
      +]
    • changedOutput schema / properties / page / description
      Previous value: -"Selected sitting, compact decision, or voter-position page; absent for a rich decision. Local pages retain the requested count or remaining rows without a character budget; next_offset resumes at the first item left out."New value: +"Selected sitting, vote-item, compact decision, or voter-position page; absent for a rich decision. Local pages retain the requested count or remaining rows without a character budget; next_offset resumes at the first item left out."
    • addedOutput schema / properties / vote_items
      Added value: +{
      +  "description": "Whole vote-item page of the sitting in published order, present only in vote_items mode; roll-call, split and separate-vote requests are left out.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "One published PLENARY_VOTE_RESULTS vote item: one agenda item voted at the sitting.",
      +    "properties": {
      +      "decision_count": {
      +        "description": "Number of decisions the vote item publishes links to; absent, never 0, where it publishes none, as on sittings before 2024.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "document_ids": {
      +        "description": "Documents the vote item is based on, such as the report or motions, in published order; absent relations are empty.",
      +        "items": {
      +          "description": "Canonical document identifier accepted by document get.",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "label": {
      +        "additionalProperties": false,
      +        "description": "Whole published vote item title in its actual selected language.",
      +        "properties": {
      +          "language": {
      +            "description": "Actual language of the published text.",
      +            "type": "string"
      +          },
      +          "value": {
      +            "description": "Exact published text.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "value",
      +          "language"
      +        ],
      +        "type": "object"
      +      },
      +      "procedure_ids": {
      +        "description": "Procedures the vote item belongs to, in published order; absent relations are empty.",
      +        "items": {
      +          "description": "Canonical procedure identifier accepted by euparl_get_procedure.",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "recording_document_ids": {
      +        "description": "Documents recording the vote item, such as its minutes item, in published order; absent relations are empty.",
      +        "items": {
      +          "description": "Canonical document identifier accepted by document get.",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "source_url": {
      +        "description": "Public vote item source URL.",
      +        "type": "string"
      +      },
      +      "vote_item_id": {
      +        "description": "Canonical vote item identifier; pass it as vote_item_id in decisions mode.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "vote_item_id",
      +      "document_ids",
      +      "procedure_ids",
      +      "recording_document_ids",
      +      "source_url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed7 schema fields changed
    • addedInput schema / properties / label_contains
      Added value: +{
      +  "description": "Decisions-only literal substring of the selected-language label, ignoring case, repeated whitespace and dash style; combines with document_id and vote_item_id before paging. Matching text does not establish a final vote.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Whole items requested; default 20. Pages hold at most 100 sittings, 100 decisions, or 1000 voters; a larger limit returns that many with a notice."New value: +"Whole items requested; default 20. Whole-acquired local collections return the requested count or remaining rows, without an output-size cap. Bounded-mode acquisition limits: 1000 sittings. Larger bounded-mode limits normalize with a notice. Values above the safe-integer range normalize to 9007199254740991; search windows and bounded modes may narrow further."
    • changedInput schema / properties / mep_id / description
      Previous value: -"Decision-only member lookup: canonical numeric ID, person/ prefix or exact public person URI. Uses published arrays without a roster join; empty positions do not prove absence from the vote."New value: +"Decisions or decision member lookup: canonical numeric ID, person/ prefix or exact public person URI. Uses published arrays without a roster join; empty positions do not prove absence from the vote."
    • changedOutput schema / properties / decisions / items / description
      Previous value: -"Compact decision identity, label, separate document relations, vote items, published tallies and voter-array counts; use mode decision for reference text and comment."New value: +"Compact decision identity, label, relations, tallies, voter counts and optional member positions."
    • addedOutput schema / properties / decisions / items / properties / mep_position
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Requested member lookup from the complete decision; intended corrections never replace recorded positions.",
      +  "properties": {
      +    "intended": {
      +      "additionalProperties": false,
      +      "description": "Membership in one independent recorded or intended set of voter arrays.",
      +      "properties": {
      +        "availability": {
      +          "description": "Published when all three arrays exist, unavailable when none exist, otherwise partial.",
      +          "enum": [
      +            "published",
      +            "partial",
      +            "unavailable"
      +          ],
      +          "type": "string"
      +        },
      +        "positions": {
      +          "description": "All matching published positions, preserving conflicts; empty does not prove absence from the vote.",
      +          "items": {
      +            "description": "Published position containing this member.",
      +            "enum": [
      +              "favor",
      +              "against",
      +              "abstention"
      +            ],
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "unavailable_positions": {
      +          "description": "Unpublished positions; published empty arrays remain available.",
      +          "items": {
      +            "description": "Position whose voter array was omitted.",
      +            "enum": [
      +              "favor",
      +              "against",
      +              "abstention"
      +            ],
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "positions",
      +        "unavailable_positions",
      +        "availability"
      +      ],
      +      "type": "object"
      +    },
      +    "recorded": {
      +      "additionalProperties": false,
      +      "description": "Membership in one independent recorded or intended set of voter arrays.",
      +      "properties": {
      +        "availability": {
      +          "description": "Published when all three arrays exist, unavailable when none exist, otherwise partial.",
      +          "enum": [
      +            "published",
      +            "partial",
      +            "unavailable"
      +          ],
      +          "type": "string"
      +        },
      +        "positions": {
      +          "description": "All matching published positions, preserving conflicts; empty does not prove absence from the vote.",
      +          "items": {
      +            "description": "Published position containing this member.",
      +            "enum": [
      +              "favor",
      +              "against",
      +              "abstention"
      +            ],
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "unavailable_positions": {
      +          "description": "Unpublished positions; published empty arrays remain available.",
      +          "items": {
      +            "description": "Position whose voter array was omitted.",
      +            "enum": [
      +              "favor",
      +              "against",
      +              "abstention"
      +            ],
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "positions",
      +        "unavailable_positions",
      +        "availability"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "recorded",
      +    "intended"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / page / description
      Previous value: -"Selected sitting, compact decision, or voter-position page; absent for a rich decision. A decisions page can return fewer than limit before the end: it stops at whole decisions before their rows render past 92000 characters, and next_offset resumes at the first decision left out."New value: +"Selected sitting, compact decision, or voter-position page; absent for a rich decision. Local pages retain the requested count or remaining rows without a character budget; next_offset resumes at the first item left out."
    • changedOutput schema / properties / page / properties / limit / description
      Previous value: -"Effective whole-item page size: the requested limit, clamped to the collection's page cap and, on a 10000-result search, to the results left in the window."New value: +"Effective whole-item page size after acquisition bounds, safe-integer normalization and any search-result window. Local collections retain all requested whole items or remaining rows."
  3. Changed12 schema fields changed
    • changedInput schema / properties / document_id / description
      Previous value: -"Decisions-only document filter: canonical ID, eli/dl/doc/ prefix or exact public URI. Matches decided-on or recording relations by exact ID or hyphen-boundary descendant before paging."New value: +"Decisions-only document filter: canonical ID, eli/dl/doc/ prefix or exact public URI. Matches decided-on, part-of or recording relations by exact ID or hyphen-boundary descendant before paging."
    • addedInput schema / properties / vote_item_id
      Added value: +{
      +  "description": "Decisions-only vote item filter: canonical MTG-PL-YYYY-MM-DD-VOT-ITM- ID, eli/dl/event/ prefix or exact public event URI, such as a procedure's PLENARY_VOTE_RESULTS event or a returned vote_item_ids entry. Selects every decision of that vote item before paging; its date must match sitting_id.",
      +  "minLength": 1,
      +  "pattern": "^(?:https:\\/\\/data\\.europarl\\.europa\\.eu\\/eli\\/dl\\/event\\/|eli\\/dl\\/event\\/)?[A-Za-z0-9][A-Za-z0-9_-]*$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / decision / properties / partial_document_ids
      Added value: +{
      +  "description": "Explicit documents only part of which this decision decided on, such as one split vote on an amendment, in published order; absent relations are empty.",
      +  "items": {
      +    "description": "Canonical document identifier accepted by document get.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / decision / properties / vote_item_ids
      Added value: +{
      +  "description": "Explicit vote items this decision belongs to, in published order; vote_item_id selects every decision of one. Absent relations are empty.",
      +  "items": {
      +    "description": "Canonical vote item identifier accepted by vote_item_id.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / decision / required
      Previous value: -[
      -  "decision_id",
      -  "document_ids",
      -  "recording_document_ids",
      -  "voter_counts",
      -  "source_url"
      -]New value: +[
      +  "decision_id",
      +  "document_ids",
      +  "recording_document_ids",
      +  "partial_document_ids",
      +  "vote_item_ids",
      +  "voter_counts",
      +  "source_url"
      +]
    • changedOutput schema / properties / decisions / description
      Previous value: -"Compact whole-decision page with selected-language labels and separate decided-on and recording document relations."New value: +"Compact whole-decision page with selected-language labels, separate decided-on, part-of and recording document relations, and vote items."
    • changedOutput schema / properties / decisions / items / description
      Previous value: -"Compact decision identity, label, separate document relations, published tallies and voter-array counts; use mode decision for reference text and comment."New value: +"Compact decision identity, label, separate document relations, vote items, published tallies and voter-array counts; use mode decision for reference text and comment."
    • addedOutput schema / properties / decisions / items / properties / partial_document_ids
      Added value: +{
      +  "description": "Explicit documents only part of which this decision decided on, such as one split vote on an amendment, in published order; absent relations are empty.",
      +  "items": {
      +    "description": "Canonical document identifier accepted by document get.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / decisions / items / properties / vote_item_ids
      Added value: +{
      +  "description": "Explicit vote items this decision belongs to, in published order; vote_item_id selects every decision of one. Absent relations are empty.",
      +  "items": {
      +    "description": "Canonical vote item identifier accepted by vote_item_id.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / decisions / items / required
      Previous value: -[
      -  "decision_id",
      -  "document_ids",
      -  "recording_document_ids",
      -  "voter_counts",
      -  "source_url"
      -]New value: +[
      +  "decision_id",
      +  "document_ids",
      +  "recording_document_ids",
      +  "partial_document_ids",
      +  "vote_item_ids",
      +  "voter_counts",
      +  "source_url"
      +]
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_filter`: Identifier, calendar date, year, term, or language is unsupported. `invalid_mode_fields`: Required mode fields are missing, incompatible fields are supplied, or local continuation lacks a snapshot. `snapshot_changed`: Complete selected decisions, voters, resolved names, or normalized retrieval scope changed. `decision_not_found`: The selected decision is absent from the complete sitting collection. `upstream_paging_stalled`: Complete name-resolution roster acquisition repeats a page before exhaustion. `upstream_rejected`: Parliament rejects validated request parameters. `upstream_rate_limited`: Parliament rate limits persist after bounded retries. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_filter`: Identifier, calendar date, year, term, or language is unsupported, or vote_item_id belongs to a different sitting date than sitting_id. `invalid_mode_fields`: Required mode fields are missing, incompatible fields are supplied, or local continuation lacks a snapshot. `snapshot_changed`: Complete selected decisions, voters, resolved names, or normalized retrieval scope changed. `decision_not_found`: The selected decision is absent from the complete sitting collection. `upstream_paging_stalled`: Complete name-resolution roster acquisition repeats a page before exhaustion. `upstream_rejected`: Parliament rejects validated request parameters. `upstream_rate_limited`: Parliament rate limits persist after bounded retries. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / page / description
      Previous value: -"Selected sitting, compact decision, or voter-position page; absent for a rich decision."New value: +"Selected sitting, compact decision, or voter-position page; absent for a rich decision. A decisions page can return fewer than limit before the end: it stops at whole decisions before their rows render past 92000 characters, and next_offset resumes at the first decision left out."
  4. Changed5 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Whole items requested; default 20, effective maximum 100 with notice."New value: +"Whole items requested; default 20. Pages hold at most 100 sittings, 100 decisions, or 1000 voters; a larger limit returns that many with a notice."
    • removedInput schema / properties / limit / maximum
      Removed value: -1000
    • addedInput schema / properties / limit / multipleOf
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
    • changedOutput schema / properties / page / properties / limit / description
      Previous value: -"Effective whole-item page size, at most 100."New value: +"Effective whole-item page size: the requested limit, clamped to the collection's page cap and, on a 10000-result search, to the results left in the window."
  5. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/open-world, and the description adds substantial behavior beyond that: no output-size cap, missing arrays succeed with available=false while published empty arrays return available=true, pre-2024 sittings publish no decision links, decision mode rejects nondefault paging, and decision_not_found is the failure signal. It also warns that empty positions do not prove absence and that some IDs may stay unresolved, which is exactly the kind of caveat annotations cannot carry.

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

Conciseness2/5

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

The content is information-dense with almost no filler, but it is delivered as one long run-on paragraph that interleaves mode behavior, error semantics, pagination, and label-matching rules. Front-loading is partial (sittings first), yet an agent must re-read the block to extract per-mode rules, and several constraints are restated in both description and 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?

For a 15-parameter multi-mode tool with an output schema and annotations, the definition covers mode selection, required/forbidden parameter combinations, pagination continuation, snapshot invalidation, empty-vs-missing semantics, and known data gaps. Nothing material to calling it correctly appears to be omitted.

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 coverage is 100%, so the schema already documents every parameter including enums and patterns; this sets the baseline at 3. The description adds some genuine meaning for label_contains citation normalization (A-9-2022-0116 becomes A9-0116/2022) and document_id filtering before paging, but much of the parameter text duplicates schema descriptions rather than extending them.

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?

The opening clause names a specific verb and resource ('Discover sittings with mode sittings and year') and then enumerates what each mode returns (vote items, decisions, voters, rich decision records), so an agent can map mode to purpose. It never names a sibling tool to differentiate from, but the mode enumeration makes the tool's scope legible on its own.

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?

It gives clear conditions for each mode: year required only for sittings, decision_id required for decision and voters, vote_item_id to expand a vote item into decisions, resolve_names requiring roster_term. It also states when to restart (offset 0 without snapshot after snapshot_changed). Missing explicit 'use X instead' routing to siblings, which keeps it at 4.

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.