Skip to main content
Glama

List parliamentary questions

euparl_list_questions
Read-onlyIdempotent

List parliamentary questions by year and work_type or retrieve metadata, addressed institutions, original languages, source-file links and published answers with mode get and question_id. Human citations such as E-000001/2025 retain their full year; omission of term checks canonical candidates for every overlapping parliamentary term and requires one verified match. Supply term to disambiguate; canonical IDs resolve directly. Use euparl_list_reference topic question_types for work_type codes. No keyword, author or addressee search is available. Empty answers means no answer relation was published in this response. Get rejects list filters and nondefault paging; continue lists with page.next_offset.

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_list_questions"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDefault list discovers questions; get requires question_id and forbids year and work_type.list
termNoGet-only term 0–10 to disambiguate a human citation; must agree with a canonical ID. Omit to verify candidates for every term overlapping the citation year.
yearNoList-only four-digit question year.
limitNoWhole items requested; default 20. Bounded-mode acquisition limits: 1000 questions. 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.
offsetNoZero-based collection offset; default 0.
languageNoSupported EU ISO-639-1 language, case-insensitive; default en; source text is never translated.
work_typeNoList-only question code from euparl_list_reference topic question_types; case-insensitive and whitespace-trimmed.
question_idNoGet-only canonical E-{term}-{year}-{sequence}, known document prefix/public URI, or human E-sequence/YYYY citation; E/P/O/G/K prefixes are case-insensitive and one-to-six-digit sequences are padded to six.

Output Schema

NameRequiredDescriptionDefault
capNoEffective whole-item page limit.
modeNoExecuted question retrieval mode.
pageNoList continuation metadata; absent in get mode.
errorNoPresent when the call failed. Absent on success.
foundNoGet-only result; false only after complete citation resolution or missing published detail.
itemsNoWhole sparse records on a list page; absent in get mode.
shownNoWhole items shown on this partial page.
noticeNoPublication, language fallback, empty-result or continuation guidance.
questionNoQuestion detail present only when a published record is found.
availableNoWhether the selected source array was published, including a published empty array.
truncatedNoTrue when this page returns only part of the selected collection.
totalCountNoExact count only when published or computed over a complete collection.
appliedFiltersNoActual normalized retrieval scope and filters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / question / properties / addressee_ids
      Added value: +{
      +  "description": "Organizations of participations published with the ADDRESSEE role, in published order: org/COM, org/EU_COMMISSION, org/EU_COUNCIL or org/HRVP; some records publish an EU authority URI (http://publications.europa.eu/resource/authority/corporate-body/…) beside such a code or in its place; empty when no role is published. They do not resolve through euparl_list_reference topic organizations, where COM is the Communist and Allies Group; alternative_title names the addressee in words.",
      +  "items": {
      +    "description": "Published addressee organization reference, verbatim.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / question / properties / alternative_title
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Published alternative title and actual selected source language: question type, citation, addressee in words, Rule and authors, with any <br/> separators kept as published.",
      +  "properties": {
      +    "language": {
      +      "description": "Actual language of the published text.",
      +      "type": "string"
      +    },
      +    "value": {
      +      "description": "Exact published text.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "value",
      +    "language"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / question / properties / original_languages
      Added value: +{
      +  "description": "Languages the question was written in, in published order: Parliament language authority codes mapped to ISO 639-1 for the 24 EU languages; empty when unpublished.",
      +  "items": {
      +    "description": "ISO 639-1 code, or an unlisted authority code verbatim.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / question / required
      Previous value: -[
      -  "question_id",
      -  "source_url",
      -  "creator_ids",
      -  "links",
      -  "answers"
      -]New value: +[
      +  "question_id",
      +  "source_url",
      +  "creator_ids",
      +  "addressee_ids",
      +  "original_languages",
      +  "links",
      +  "answers"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Whole items requested; default 20. Pages hold at most 300 questions; a larger limit returns that many with a notice."New value: +"Whole items requested; default 20. Bounded-mode acquisition limits: 1000 questions. 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 / question_id / description
      Previous value: -"Get-only canonical E-{term}-{year}-{six-digit-sequence}, known document prefix/public URI, or human E-NNNNNN/YYYY citation; P, O, G and K prefixes are accepted the same way."New value: +"Get-only canonical E-{term}-{year}-{sequence}, known document prefix/public URI, or human E-sequence/YYYY citation; E/P/O/G/K prefixes are case-insensitive and one-to-six-digit sequences are padded to six."
    • 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. Changed6 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 300 questions; 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"
    • changedInput schema / properties / question_id / description
      Previous value: -"Get-only canonical E-{term}-{year}-{six-digit-sequence}, known document prefix/public URI, or human E-NNNNNN/YYYY citation; corresponding P/O prefixes are accepted."New value: +"Get-only canonical E-{term}-{year}-{six-digit-sequence}, known document prefix/public URI, or human E-NNNNNN/YYYY citation; P, O, G and K prefixes are accepted the same way."
    • 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."
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld, and the description adds behavior beyond them: get-mode rejection of list filters and nondefault paging, the meaning of an empty answers field, pagination continuation via page.next_offset, and canonical-ID resolution. Error and edge-case semantics are disclosed rather than left to discovery. It does not cover rate limits or failure modes for invalid citations beyond the term check.

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

Conciseness3/5

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

Nearly every clause carries information, but the opening sentence strings together purpose, return fields, mode and id format, and later constraints arrive as an undifferentiated stream. Front-loading the list/get split as separate sentences would make it far easier to parse. No genuinely wasted content, but structure is weak.

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?

An output schema exists, so return values need not be explained, yet the description still clarifies the one ambiguous return signal (empty answers) and the paging continuation field. Modes, filters, disambiguation and ID forms are all covered. What remains thin is how term interacts with list mode and what happens when multiple candidates match and none is verified.

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% and the per-parameter descriptions already explain mode, term, limit bounds, language, work_type and question_id formats in detail. The description adds some semantics on top, notably that human citations like E-000001/2025 retain their full year and that omitting term checks candidates across every overlapping term requiring one verified match. That is real added meaning, but much of it restates the schema, so the baseline 3 is appropriate.

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 verb and resource ('List parliamentary questions') and covers both operating modes: list by year/work_type, or get metadata/answers via question_id. It also draws a boundary against search-style siblings by declaring 'No keyword, author or addressee search is available.' The first sentence is heavily overloaded, so the core purpose takes effort to extract, which keeps it below 5.

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 concrete routing: 'Use euparl_list_reference topic question_types for work_type codes' and 'Supply term to disambiguate.' It also states exclusions ('Get rejects list filters and nondefault paging') and how to continue ('continue lists with page.next_offset'). It stops short of naming a search tool as the alternative for keyword/author lookups, only saying such search is unavailable here.

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.