Raw tool arguments, validated against GetEventsSchema
MCP tool result containing either a single event record or a paginated list of EP events
args fails schema validation (e.g., missing required fields or invalid format)// Single event lookup
const result = await handleGetEvents({ eventId: 'EVT-2024-001' });
// Returns the full record for the specified event
// List events (pagination only — no date filtering available)
const list = await handleGetEvents({ limit: 30, offset: 0 });
// Returns up to 30 EP events
Handles the get_events MCP tool request.
Retrieves European Parliament events including hearings, conferences, and seminars. Supports single event lookup by eventId or a paginated list.
Note: The EP API
/eventsendpoint has no date filtering. Only pagination (limit/offset) is supported.