enrich_email
Retrieve comprehensive contact details from an email address, including name, location, and social profiles, to enhance lead data and verify identities.
Instructions
Return all the information associated with an email address, such as a person's name, location and social handles.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes |
Implementation Reference
- main.py:27-30 (handler)The main handler function that implements the logic for the 'enrich_email' tool by calling the Hunter API's 'people/find' endpoint with the provided email address.async def enrich_email(email: str) -> str: async with HunterAPIClient() as client: response = await client.get("people/find", {"email": email}) return response
- main.py:26-26 (registration)Registers the 'enrich_email' tool with the FastMCP server using the @mcp.tool decorator, including the tool description. The input schema is inferred from the function signature (email: str).@mcp.tool(description="Return all the information associated with an email address, such as a person's name, location and social handles.")