normalize_address
Normalize messy address strings into structured components and geocoded coordinates for data quality and deduplication.
Instructions
Normalize and standardize a messy or inconsistently formatted address string.
Returns: { formatted_address, street, housenumber, city, postcode, country, country_code, lat, lon }.
WHEN TO USE: When cleaning user-submitted data, deduplicating a CRM, or standardizing addresses before batch processing. Also geocodes the address as a side-effect (lat/lon included).
DO NOT USE: If you just need coordinates — use geocode instead. normalize_address is for data quality, not navigation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "normalize_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Raw address string to normalize. Can be incomplete, abbreviated, or poorly formatted. | |
| countries | No | ISO country codes to bias normalization. Strongly recommended for ambiguous inputs. |