Raw tool arguments, validated against TrackMepAttendanceSchema
MCP tool result containing individual MEP attendance rates, overall summary statistics, attendance trend classification, and computed participation scores
args fails schema validation (e.g., missing required fields or invalid format)const result = await handleTrackMepAttendance({
mepId: '124810',
dateFrom: '2024-01-01',
dateTo: '2024-12-31'
});
// Returns attendance analysis with participation rate, trend,
// and session-level breakdown for the specified MEP
Handles the track_mep_attendance MCP tool request.
Tracks plenary attendance and participation rates for individual MEPs or groups of MEPs filtered by country or political group. Derives attendance metrics from plenary vote participation records and computes an overall attendance rating and trend for each MEP.