Get Voice Compliance Report
getComplianceReportByPhoneGet the voice compliance report for one phone number: takes phoneNumber (required, E.164, e.g. +442012345678, from listComplianceReports) and optional sector. Built from the latest run of each compliance catalogue test against that number, with a summary (ran, passed, failed of the tests that apply) and the tests grouped by regulation, each with its verdict, the judge's reasoning and evidence, and the run it came from (runId). Use when: the user asks whether a number is compliant or which compliance checks it fails. For a single run's detail use getRunResults with the run id. Read-only. Needs testing:read. Only your workspace's runs are read.
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": {
"phoneNumber": "<phoneNumber>"
},
"name": "getComplianceReportByPhone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sector | No | Sector filter (e.g. `financial-services`). Omit to include all sectors. | |
| phoneNumber | Yes | URL-encoded E.164 phone number (e.g. `%2B442012345678` for `+442012345678`). The handler `decodeURIComponent`s before reading; raw `+` works on most clients too, but encoding is recommended. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||