tool_check_phone_risk
Assess phone number fraud risk by validating numbers and detecting VoIP, prepaid, and carrier indicators. Returns validity, line type, and fraud score.
Instructions
Validate a phone number and check for fraud risk, VoIP and prepaid indicators.
Returns validity, line type, carrier, VoIP flag, and fraud score. Requires IPQS_API_KEY env var (free at ipqualityscore.com).
Args: phone: Phone number in E.164 format (e.g. +14155552671) or local format country: ISO country code for local numbers (default: US)
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": "tool_check_phone_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | ||
| country | No | US |