Raw tool arguments, validated against GetPlenarySessionsSchema
MCP tool result containing either a single plenary session record (when eventId
is provided) or a paginated list of sessions with date, location, agenda items, voting
records, and attendance statistics
args fails schema validation (e.g., date not in YYYY-MM-DD format,
limit out of range 1–100)// List sessions in a date range
const result = await handleGetPlenarySessions({
dateFrom: '2024-01-01',
dateTo: '2024-12-31',
limit: 20
});
// Returns up to 20 plenary sessions held in 2024
// Fetch a single session by event ID
const single = await handleGetPlenarySessions({ eventId: 'MTG-2024-01-15' });
// Returns agenda, voting records, and attendance for the specified session
Handles the get_plenary_sessions MCP tool request.
Retrieves European Parliament plenary sessions with optional filtering by date range and location. Supports single-session lookup by event ID. Critical for legislative monitoring, session activity tracking, debate analysis, and identifying legislative priorities.