Skip to main content
Glama

Get Voice Compliance Report

getComplianceReportByPhone
Read-onlyIdempotent

Get 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

NameRequiredDescriptionDefault
sectorNoSector filter (e.g. `financial-services`). Omit to include all sectors.
phoneNumberYesE.164 phone number, e.g. `+442012345678`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / phoneNumber / description
      Previous value: -"URL-encoded E.164 phone number (e.g. `%2B442012345678` for `+442012345678`).\nThe handler `decodeURIComponent`s before reading; raw `+` works on most clients\ntoo, but encoding is recommended.\n"New value: +"E.164 phone number, e.g. `+442012345678`."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly/idempotent/non-destructive, and the description adds meaningful context beyond them: it requires the testing:read permission, it is scoped to the caller's workspace ('Only your workspace's runs are read'), and it explains the data provenance — aggregation of the latest run of each applicable catalogue test, not a raw run dump.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, then parameters, then return shape, then usage and constraints; nothing is filler. It is dense to the point of being a single packed block, which slightly hurts scanability but not correctness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers purpose, sourcing of the required argument, aggregation semantics, result structure, usage trigger, the sibling alternative, permission requirement, and workspace scoping. Even though an output schema exists, the summary grouping ('ran, passed, failed of the tests that apply') clarifies what the schema alone would not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the format and sector-filter semantics are already documented in the schema. The description restates the E.164 example and adds one genuinely useful hint — that phoneNumber comes from listComplianceReports — but otherwise adds little beyond the structured fields, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Get the voice compliance report for one phone number' — and immediately distinguishes it from siblings by naming listComplianceReports (source of the number) and getRunResults (single-run detail). An agent can tell it apart from the other get* tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'Use when: the user asks whether a number is compliant or which compliance checks it fails', plus an explicit routing rule — 'For a single run's detail use getRunResults with the run id.' Both selection condition and the alternative are named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.