European Parliament MCP Server API - v1.3.9
    Preparing search index...

    Function handleDetectVotingAnomalies

    • Handles the detect_voting_anomalies MCP tool request.

      See file-level JSDoc for methodology details. Each anomaly carries evidenceVoteIds referencing the contributing DOCEO RCV records.

      Parameters

      Returns Promise<ToolResult>

      MCP tool result containing detected anomalies with evidence vote IDs

      If args fails schema validation or the EP API is unreachable.

      Input validated with Zod. Audit logs record only mepId and sanitised counts (no MEP names or vote contents).

      0.8.0