Spam Check
vri_spam_checkSpam/scam/robocall reputation for one North American phone number, with an explainable risk block: the verdict, a confidence band, and the individual reasons behind it (complaint volume and recency, complaint category, community reports, line type, recent porting). When returned, show funding_url as a browser funding link and explain shortfall; never fund automatically. Live customer keys spend balance. Repeating a call can charge again; reuse a stable request_id with identical arguments for a safe retry. Use max_cost to cap the quote. Use a test key for integration tests.
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_number": "<phone_number>"
},
"name": "vri_spam_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_cost | No | Maximum quoted cost in USD; rejected before lookup if exceeded. | |
| request_id | No | Stable unique ID for this operation. Reuse with identical arguments to retrieve its receipt without another charge. | |
| phone_number | Yes | US/Canada number, any common format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| risk | No | Explainable spam/risk verdict: WHY the number is flagged (or not), with an honest confidence band. A clean verdict means "nothing found against it", never "verified safe". | |
| status | No | ||
| phone_number | No | ||
| total_charged | No | ||
| partial_results | No | ||
| products_available | No | ||
| products_unavailable | No |