Get an MEP's record
get_mepUse this when the user asks about one Member of the European Parliament: country, political group, committees, how often they vote with their group, where they broke with it, and their recent roll-call votes. Takes an MEP id or a name. Set topic to keep only votes whose label, agenda item topic or dossier title contains those words (e.g. "digital euro", "Mercosur"). Set from and to to read one period; page through all votes of the term with page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional: only votes on or before this day, YYYY-MM-DD. | |
| mep | Yes | The MEP id (e.g. "124834") or name (e.g. "Martin Sonneborn"). | |
| from | No | Optional: only votes on or after this day, YYYY-MM-DD. | |
| page | No | Page of votes, 25 per page, newest first (400 pages reach 10,000 votes; use from and to for older votes of a busy term). | |
| topic | No | Optional: only votes whose label, agenda item topic or dossier title contains these words. |