# Function handleGetOutgoingMEPs

- handleGetOutgoingMEPs(args: unknown): Promise<ToolResult>

  Handles the get_outgoing_meps MCP tool request.

  Retrieves Members of European Parliament who are departing parliament during the current parliamentary term. Useful for monitoring political transitions, succession analysis, and identifying final-engagement opportunities with outgoing stakeholders.

  #### Parameters

  - args: unknown

    Raw tool arguments, validated against GetOutgoingMEPsSchema

  #### Returns Promise<ToolResult>

  MCP tool result containing a paginated list of outgoing MEP records for the current parliamentary term

  #### Throws

  - If `args` fails schema validation (e.g., limit out of range 1–100)
  - If the European Parliament API is unreachable or returns an error response

  #### Example

      const result = await handleGetOutgoingMEPs({ limit: 20, offset: 0 });
      // Returns up to 20 MEPs who are leaving the current parliamentary term

  #### Security

  - Input is validated with Zod before any API call.
  - Personal data in responses is minimised per GDPR Article 5(1)(c).
  - All requests are rate-limited and audit-logged per ISMS Policy AU-002.

  #### Since

  0.8.0

  #### See

  - getOutgoingMEPsToolMetadata for MCP schema registration
  - handleGetCurrentMEPs for all currently active MEPs
  - handleGetIncomingMEPs for MEPs who are newly joining parliament
  - Defined in tools/getOutgoingMEPs.ts:51