Number Lookup
vri_number_lookupLive intelligence for ONE North American phone number: current carrier of record, line type, LRN routing data, porting activation date, and optionally caller-ID name (cnam), spam reputation, and messaging provider. Always a fresh read of live numbering infrastructure — never cached carrier data. 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_number_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_cost | No | Maximum quoted cost in USD; rejected before lookup if exceeded. | |
| products | No | Data sets to include. Default ['lrn'] (carrier/line-type/routing). | |
| 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 | |
| include_sms_assessment | No | Include SMS assessment from this same lookup. Adds LRN/spam if absent; no second lookup. |
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". | |
| billed | No | Whether this lookup was charged | |
| status | No | ||
| phone_number | No | Normalized number | |
| total_charged | No | ||
| partial_results | No | ||
| products_available | No | ||
| products_unavailable | No |