# Function handleGetHomonymMEPs

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

  Handles the get_homonym_meps MCP tool request.

  Retrieves Members of European Parliament who share identical names with other MEPs in the current parliamentary term. Essential for disambiguation in data matching, identity resolution pipelines, and intelligence analysis workflows where name collisions could produce incorrect entity linkage.

  #### Parameters

  - args: unknown

    Raw tool arguments, validated against GetHomonymMEPsSchema

  #### Returns Promise<ToolResult>

  MCP tool result containing a paginated list of MEP records with homonymous names

  #### 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 handleGetHomonymMEPs({ limit: 50, offset: 0 });
      // Returns MEPs who share a name with at least one other MEP in the current 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

  - getHomonymMEPsToolMetadata for MCP schema registration
  - handleGetMEPDetails for disambiguating a specific MEP by unique ID
  - Defined in tools/getHomonymMEPs.ts:50