Validation
Validate and format multiple phone numbers at once with international format support
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/batch-phone-validator' \
-H 'Content-Type: application/json' \
-d '{"phoneList":"Enter phone numbers separated by delimiter...\n+1-555-123-4567, (555) 987-6543, 555.123.9999","delimiter":"comma","customDelimiter":"Enter custom delimiter","countryCode":"US","formatOutput":true,"showSummary":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/batch-phone-validator| Name | Type | Required | Description |
|---|---|---|---|
| phoneList | textarea | Yes | — |
| delimiter | select | Yes | — |
| customDelimiter | text | No | — |
| countryCode | select | Yes | — |
| formatOutput | checkbox | No | — |
| showSummary |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-batch-phone-validator": {
"name": "batch-phone-validator",
"description": "Validate and format multiple phone numbers at once with international format support",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=batch-phone-validator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "batch-phone-validator",
"arguments": {
"phoneList": "Enter phone numbers separated by delimiter...\n+1-555-123-4567, (555) 987-6543, 555.123.9999",
"delimiter": "comma",
"customDelimiter": "Enter custom delimiter",
"countryCode": "US",
"formatOutput": true,
"showSummary": true
}
}
}Questions or issues? Contact [email protected]
| checkbox |
| No |
| — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}