Raw tool arguments, validated against GetProceduresSchema
MCP tool result containing procedure data (single procedure or paginated list)
args fails schema validation (e.g., invalid field types or formats)// Single procedure lookup
const single = await handleGetProcedures({ processId: '2023/0132(COD)' });
// Returns the legislative procedure for the Artificial Intelligence Act
// List procedures (no year filter available in the EP API)
const list = await handleGetProcedures({ limit: 50, offset: 0 });
// Returns up to 50 legislative procedures
Handles the get_procedures MCP tool request.
Retrieves European Parliament legislative procedures enabling end-to-end legislative tracking, outcome prediction, and timeline analysis. Supports both a single-procedure lookup by
processIdand a paginated list.Note: The EP API
/proceduresendpoint does not supportyearfiltering. Onlyprocess-typeis available. Callers needing year-specific counts must filter client-side.