enrich_email
Retrieve comprehensive details linked to an email address, including name, location, and social media profiles, to enhance contact insights and data enrichment.
Instructions
Return all the information associated with an email address, such as a person's name, location and social handles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes |
Input Schema (JSON Schema)
{
"properties": {
"email": {
"title": "Email",
"type": "string"
}
},
"required": [
"email"
],
"title": "enrich_emailArguments",
"type": "object"
}
Implementation Reference
- main.py:26-30 (handler)The enrich_email tool handler, registered via @mcp.tool decorator. It fetches person information for the given email using the HunterAPIClient.@mcp.tool(description="Return all the information associated with an email address, such as a person's name, location and social handles.") 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-27 (registration)Registration of the enrich_email tool with description and input schema defined in the function signature.@mcp.tool(description="Return all the information associated with an email address, such as a person's name, location and social handles.") async def enrich_email(email: str) -> str:
- main.py:27-27 (schema)Input schema: email (str), Output: str (JSON response).async def enrich_email(email: str) -> str: