enrich_company
Extract comprehensive company details, including industry, description, and headquarters location, by inputting a domain. Simplify B2B data retrieval for efficient analysis and decision-making.
Instructions
Return all the information associated with a domain, such as the industry, the description, or headquarters' location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes |
Input Schema (JSON Schema)
{
"properties": {
"domain": {
"title": "Domain",
"type": "string"
}
},
"required": [
"domain"
],
"title": "enrich_companyArguments",
"type": "object"
}
Implementation Reference
- main.py:32-36 (handler)The handler function for the 'enrich_company' tool, decorated with @mcp.tool for automatic registration in the FastMCP server. It queries the Hunter API's companies/find endpoint to retrieve company information for the given domain.@mcp.tool(description="Return all the information associated with a domain, such as the industry, the description, or headquarters' location.") async def enrich_company(domain: str) -> str: async with HunterAPIClient() as client: response = await client.get("companies/find", {"domain": domain}) return response