phone_parse
Parse and validate up to 50 phone numbers to E.164, returning validity, country, calling code, type, and national/international formats.
Instructions
Phone number parsing and validation to E.164 (libphonenumber numbering plans): validity, country, calling code, type (mobile, fixed line, toll-free…), national/international formats, tel: URI. Up to 50 numbers. No carrier lookup, no call. Costs 0.001 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
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": {
"phone": "<phone>"
},
"name": "phone_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Number(s); separate with ; or newline | |
| country | No | Default ISO country for national numbers |