Skip to main content
Glama

List parliamentary reference data

euparl_list_reference
Read-onlyIdempotent

List parliamentary codes, identifier formats, historical committees and political groups, or coverage limitations. Choose organizations with organization_ids to resolve the organization IDs other tools return, decimal (org/5154) or code (org/IMCO, org/S-D, org/ep-9), into published names and dates; a question's addressee_ids do not resolve here (COM is the Communist and Allies Group). Ordered per-item found false means no detail was published, as for a code in the wrong case. Organization lookups page the supplied IDs with an effective maximum of 20 per call; repeat the same ID list with page.next_offset. Live committees and political groups retain historical coverage and an acquisition bound of 1000 per page; static reference topics return the requested count or remaining entries without an output-size cap. These lists do not require snapshots; missing end dates do not establish current status.

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": {
      "topic": "<topic>"
    },
    "name": "euparl_list_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 reference entries or 20 organization lookups. 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.
topicYesReference topic; organizations requires organization_ids, which other topics reject.
offsetNoZero-based collection offset; default 0.
languageNoSupported EU ISO-639-1 language, case-insensitive; default en; source text is never translated.
organization_idsNoRequired nonempty list only for organizations; order and duplicates retained, with at most 20 looked up per page.

Output Schema

NameRequiredDescriptionDefault
capNoEffective whole-item page limit.
pageNoWhole-item page metadata.
errorNoPresent when the call failed. Absent on success.
itemsNoWhole reference entries on this page.
shownNoWhole items shown on this partial page.
topicNoRequested reference topic.
noticeNoPublication, language fallback, empty-result or continuation guidance.
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. Changed1 schema field changed
    • changedOutput schema / properties / items / items / properties / label / description
      Previous value: -"Published selected-language body label."New value: +"Published label and its actual language: a corporate body label, or the label of a political group code in mep_filters (mul)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Whole items requested; default 20. Pages hold at most 350 reference entries or 20 organization lookups; 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 reference entries or 20 organization lookups. 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."
    • 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. Changed2 schema fields changed
    • changedInput schema / properties / organization_ids / items / description
      Previous value: -"Decimal organization ID, org/ prefix, or exact https://data.europarl.europa.eu/org/ URI."New value: +"Decimal ID or case-sensitive code (IMCO, S-D, ep-9), bare, after org/, or in the exact https://data.europarl.europa.eu/org/ URI; labels such as S&D are rejected."
    • changedOutput schema / properties / items / items / properties / organization_id / description
      Previous value: -"Normalized decimal organization identifier on lookup results."New value: +"Supplied organization ID or code on lookup results, trimmed, without org/ or the URI origin, case unchanged."
  4. Changed5 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Whole items requested; default 20, effective maximum 20 for organizations or 100 for other topics, with notice."New value: +"Whole items requested; default 20. Pages hold at most 350 reference entries or 20 organization lookups; 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.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses pagination semantics (effective max of 20 organization lookups per call, repeat the ID list with page.next_offset), differing acquisition caps (1000 per page for live committees/groups vs no cap for static topics), a per-item failure signal ('found false'), case-sensitivity consequences, and the caveat that missing end dates do not establish current status.

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?

The most important routing information — topic selection and the organizations requirement — is front-loaded, and the edges cases are grouped at the end. The prose is a run of semicolon-joined clauses that partly restates schema-documented limits (20 per page, wrong-case codes), which slightly dilutes density.

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 five-parameter enum-driven reference tool with an output schema already describing return values, the description covers everything an agent needs to call it correctly: topic-conditional requirements, ID syntax, pagination, rate/size bounds, and the interpretation of missing data.

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 coverage is 100%, so the baseline is 3; the description goes further by illustrating the accepted ID forms in the context of what they resolve to (published names and dates) and by clarifying the semantic trap that COM means the Communist and Allies Group rather than Commission. Some of this (the 20/1000 bounds, case sensitivity) overlaps the schema text, limiting it to a 4 rather than a 5.

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 opens with a specific verb and enumerates the resources covered (codes, identifier formats, historical committees and political groups, coverage limitations), so the agent knows this is a reference/lookup tool rather than a record-retrieval tool. It further draws the line by contrasting with the record-returning siblings: 'organization IDs other tools return' and 'a question's addressee_ids do not resolve here'.

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 states the selecting condition for the organizations topic ('Choose organizations with organization_ids to resolve...') and gives an explicit exclusion (addressee_ids do not resolve here). It lacks explicit routing guidance against the sibling list/search tools, so the agent must infer that those return records while this returns reference data.

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.