Skip to main content
Glama

Read a parliamentary procedure

euparl_get_procedure
Read-onlyIdempotent

Read a procedure title, stage, events, participants, or linked parliamentary documents. Default section overview returns scalar fields and collection counts; events, participants, and documents page one selected collection. Continue with page.next_offset and the returned snapshot; restart at offset 0 without snapshot if the collection changes. Historical participation groups remain historical. Missing detail succeeds with found false; discover references with euparl_list_procedures. Linked documents can be read with euparl_search_documents mode get; files are linked, not parsed.

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": {
      "procedure_id": "<procedure_id>"
    },
    "name": "euparl_get_procedure"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoWhole items requested; default 20. Whole-acquired local collections return the requested count or remaining rows, without an output-size cap. Values above the safe-integer range normalize to 9007199254740991; search windows and bounded modes may narrow further.
offsetNoZero-based collection offset; default 0.
sectionNoDefault overview returns scalars and counts; choose a collection for complete paged items.overview
languageNoSupported EU ISO-639-1 language, case-insensitive; default en; source text is never translated.
snapshotNoPrevious collection snapshot; required for local offset above 0, optional at offset 0.
procedure_idYesProcedure YYYY-NNNN or YYYY/NNNN, optional letter suffix and (TYPE), known eli/dl/proc/ prefix or exact public procedure URI.

Output Schema

NameRequiredDescriptionDefault
capNoEffective whole-item page limit.
pageNoSelected collection continuation; absent on overview or missing detail.
errorNoPresent when the call failed. Absent on success.
foundNoWhether Parliament published procedure detail.
shownNoWhole items shown on this partial page.
stageNoPublished current procedure stage.
titleNoPublished procedure title in the actual selected language.
eventsNoSelected event page in date order, undated events last and ties by id; present only for the events section.
noticeNoPublication, language fallback, empty-result or continuation guidance.
sectionNoProcedure retrieval section.
availableNoWhether the selected source array was published, including a published empty array.
documentsNoSelected deduplicated linked-document page sorted by document_id; present only for documents.
referenceNoExact published procedure reference.
truncatedNoTrue when this page returns only part of the selected collection.
source_urlNoPublic procedure source URL.
totalCountNoExact count only when published or computed over a complete collection.
participantsNoSelected historical participation page in date order, undated participations last and ties by id; present only for participants.
procedure_idNoNormalized canonical procedure identifier.
process_typeNoPublished procedure type.
appliedFiltersNoActual normalized retrieval scope and filters.
available_sectionsNoSection counts on a found overview only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / events / items / properties / sitting_ids / description
      Previous value: -"Explicit scheduled sitting relations, sorted by identifier; when absent, a published vote-event date selects the sitting for euparl_get_plenary_votes decisions with vote_item_id or document_id. Older sittings publish no vote items or report relations on decisions, so neither filter matches there; find the report citation in decision labels instead."New value: +"Explicit scheduled sitting relations, sorted by identifier; when absent, a published vote-event date selects the sitting for euparl_get_plenary_votes decisions with vote_item_id or document_id. Older sittings publish vote items without decision links and decisions without report relations, so neither filter matches there; list the sitting's vote items with mode vote_items, or find the report citation in decision labels instead (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), else words of the vote item's title with language set to the title's language (decision records start with the 2019-01-14 sitting)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Whole items requested; default 20. Pages hold at most 125 procedure section entries; 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. 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. Changed5 schema fields changed
    • changedOutput schema / properties / events / items / properties / id / description
      Previous value: -"Published canonical event identifier."New value: +"Published canonical event identifier. A PLENARY_VOTE_RESULTS event id is a vote item: pass it as vote_item_id to euparl_get_plenary_votes, with the sitting on its date, for every decision of that vote."
    • changedOutput schema / properties / events / items / properties / sitting_ids / description
      Previous value: -"Explicit scheduled sitting relations, sorted by identifier; when absent, a published vote-event date can select a sitting for euparl_get_plenary_votes decisions with document_id."New value: +"Explicit scheduled sitting relations, sorted by identifier; when absent, a published vote-event date selects the sitting for euparl_get_plenary_votes decisions with vote_item_id or document_id. Older sittings publish no vote items or report relations on decisions, so neither filter matches there; find the report citation in decision labels instead."
    • changedOutput schema / properties / participants / items / properties / organization_ids / description
      Previous value: -"Explicit participating organizations, sorted by identifier."New value: +"Explicit participating organizations, sorted by identifier; resolve each with euparl_list_reference topic organizations."
    • changedOutput schema / properties / participants / items / properties / political_group_id / description
      Previous value: -"Published historical political group; never joined to a current group."New value: +"Published historical political group code (org/S-D); never joined to a current group. Resolve with euparl_list_reference topic organizations."
    • changedOutput schema / properties / participants / items / properties / represented_organization_id / description
      Previous value: -"Published organization represented by this participation."New value: +"Published organization represented by this participation, usually a committee code (org/IMCO); resolve with euparl_list_reference topic organizations."
  4. Changed12 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 125 procedure section entries; 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 / documents / description
      Previous value: -"Selected deduplicated linked-document page, present only for documents."New value: +"Selected deduplicated linked-document page sorted by document_id; present only for documents."
    • changedOutput schema / properties / events / description
      Previous value: -"Selected event page, present only for the events section."New value: +"Selected event page in date order, undated events last and ties by id; present only for the events section."
    • changedOutput schema / properties / events / items / properties / document_ids / description
      Previous value: -"Explicit event document relations, deduplicated in first-seen order."New value: +"Explicit event document relations, deduplicated and sorted by identifier."
    • changedOutput schema / properties / events / items / properties / sitting_ids / description
      Previous value: -"Explicit scheduled sitting relations; when absent, a published vote-event date can select a sitting for euparl_get_plenary_votes decisions with document_id."New value: +"Explicit scheduled sitting relations, sorted by identifier; when absent, a published vote-event date can select a sitting for euparl_get_plenary_votes decisions with document_id."
    • 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."
    • changedOutput schema / properties / participants / description
      Previous value: -"Selected historical participation page, present only for participants."New value: +"Selected historical participation page in date order, undated participations last and ties by id; present only for participants."
    • changedOutput schema / properties / participants / items / properties / organization_ids / description
      Previous value: -"Explicit participating organizations."New value: +"Explicit participating organizations, sorted by identifier."
    • changedOutput schema / properties / participants / items / properties / person_ids / description
      Previous value: -"Explicit participating people."New value: +"Explicit participating people, sorted by identifier."
  5. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, open-world profile, and the description adds real operational context: paging continues via page.next_offset plus a snapshot, offset 0 without a snapshot restarts the collection, missing detail returns found=false rather than failing, and linked files are linked not parsed. The one weak spot is the opaque line 'Historical participation groups remain historical', which asserts a behavior without explaining it.

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?

Front-loaded and dense with zero filler, packing scope, section choice, pagination, error behavior, and cross-tool routing into a few sentences. It loses a point for compression that tips into ambiguity, particularly the unexplained 'Historical participation groups remain historical' clause.

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 six-parameter, paged read tool with a full output schema, the description covers everything an agent needs: which section to request, how to continue paging, how to reset, how failures surface, and where the linked data lives. Return-value structure is correctly left to the output schema.

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 baseline is 3, but the description genuinely adds meaning: it explains the overview-vs-collection tradeoff for section, the snapshot/offset coupling that the schema only hints at, and that collection reads are paged one at a time. It does not elaborate on language or limit behavior beyond what the schema already documents.

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?

Opens with a specific verb and resource plus the exact facets available (title, stage, events, participants, linked documents), which maps directly onto the section enum. It also distinguishes itself from euparl_list_procedures by name, so an agent can separate discovery from retrieval without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: use euparl_list_procedures to discover references, and euparl_search_documents mode get to read linked documents. It also states which section to pick depending on whether the caller wants counts (overview) or full paged items, and when to restart pagination.

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.