Phone number validation
phone_verifyValidates and formats a phone number: validity, country, line type, E.164, international and national formats. Numbers without a leading + require 'country', since the end user's country cannot be inferred over MCP.
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": "phone_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Phone number to validate and format, ideally in E.164 format (e.g. +14155552671). | |
| country | No | ISO 3166-1 alpha-2 country code (e.g. US, FR). Required unless the number starts with +: over MCP the end user's country cannot be inferred. |