Phone number validation and formatting
validate_phoneValidate and normalise any phone number worldwide (Google libphonenumber metadata). Returns valid/possible, line type (mobile, fixed line, toll free, VoIP…), E.164, international and national format, country and calling code. Pass a country code for numbers written in national format. Price: $0.002 per call (USDC on Base via x402); the first 10 calls per day are free.
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": {
"number": "<number>"
},
"name": "validate_phone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Phone number, e.g. +971 50 123 4567 or 050 123 4567 | |
| country | No | Optional default country (ISO code) for national-format numbers |