validate_address
Validate and standardize one postal address (240+ countries; UK via the official Royal Mail PAF with UDPRN + UPRN).
Give `country` as ISO-3 lowercase (e.g. usa, can, deu, gbr) plus EITHER a
free-text `address_line` OR fielded parts (street, house_number, city,
state, postcode). Returns an honest verdict — status "verified" (exact) or
"corrected" (fixed), or partial_match with reasons — plus the standardized
form, confidence, coordinates with an explicit accuracy_type, and, for
street-accurate USA/Canada matches, a FREE `enrichment` block (census
tract, block group, FIPS, CBSA/MSA, congressional district, school
district / Canadian equivalents).
Reading the verdict: `status` is only ever "verified" or "corrected". A
partial result has partial_match: true and NO `status`: the address was
not fully confirmed. Present it as "partially matched", with `reasons`
(e.g. house_number_unconfirmed, street_not_matched), `deliverable` and the
accuracy_type of the coordinate; never as valid, never as not found.
http_status 404 = not found.
Cost: 1 validation credit per successful lookup (verified, corrected, or a
partial result with a coordinate). No-match, errors and state/province-only
results are not charged: they are refunded automatically (you pay for
results, not attempts).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": {
"country": "<country>"
},
"name": "validate_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| state | No | ||
| street | No | ||
| country | Yes | ||
| postcode | No | ||
| address_line | No | ||
| house_number | No |