Search parliamentary speeches
euparl_search_speechesSearch speech activities in parliamentary term 9 or 10, default 10, or retrieve one with mode get and speech_id. Text and title search return activity metadata; set include_text for the published text of each speech with its speaker line and xml:lang tags, title and text then only in the selected language, and at most 100 search rows per call. Every row lists original_languages. Follow document_ids with euparl_search_documents mode get and any returned parent_document_ids to source files. Use euparl_list_reference topic activity_types for activity_type codes. Get rejects search filters and nondefault paging. Non-keyword lists use sitting-date:asc,numbering:asc and aligned 100-row upstream pages independently of caller limit. Keyword searches retain relevance order and can repeat or omit records across pages. Search exposes at most 10000 results; continue with page.next_offset when present, otherwise narrow text, title, person_id, activity_type or sitting dates.
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_search_speeches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default search discovers speech activities; get requires speech_id and rejects search filters. | search |
| term | No | Search-only parliamentary term 9 or 10; omitted search defaults to 10. Omit in get mode. | |
| text | No | Search-only keywords matched against speech text in the selected language; set include_text to return that text. | |
| limit | No | Whole items requested; default 20. Bounded-mode acquisition limits: 10000 speeches, 1000 keyword speeches, or 100 speeches with text. 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. | |
| title | No | Search-only published activity title keywords in the selected language. | |
| offset | No | Zero-based collection offset; default 0. | |
| language | No | Supported EU ISO-639-1 language, case-insensitive; default en; source text is never translated. | |
| person_id | No | Search-only numeric MEP identifier, person/ prefix or exact public person URI. | |
| speech_id | No | Get-only canonical activity ID, eli/dl/event/ prefix or exact public URI. | |
| include_text | No | Search and get. Default false returns metadata only; true adds text, speaker and language_tags in the selected language, without fallback: a speech unpublished in it omits title or text, with a notice; chair rows publish no title in any language and are not counted as missing one. Search returns at most 100 rows per call. | |
| sitting_date | No | Search-only sitting date YYYY-MM-DD; start date when a range end is supplied. | |
| activity_type | No | Search-only code from euparl_list_reference topic activity_types; case-insensitive and whitespace-trimmed. | |
| sitting_date_end | No | Search-only inclusive end date YYYY-MM-DD; requires sitting_date and cannot precede it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | Effective whole-item page limit. | |
| mode | No | Executed speech retrieval mode. | |
| page | No | Search continuation metadata; absent in get mode. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Get-only publication result; false for missing or empty detail. | |
| items | No | Whole speech activity records on the search page; absent in get mode. | |
| shown | No | Whole items shown on this partial page. | |
| notice | No | Publication, language fallback, empty-result or continuation guidance. | |
| speech | No | Published activity detail when get succeeds. | |
| available | No | Whether the selected source array was published, including a published empty array. | |
| truncated | No | True when this page returns only part of the selected collection. | |
| totalCount | No | Exact count only when published or computed over a complete collection. | |
| appliedFilters | No | Actual normalized retrieval scope and filters. |