# Brainiall Pronunciation

> Pronunciation assessment, phoneme scoring, speaker voice ID, audio transcription, speech synthesis.

- name: com.brainiall/pronunciation
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 80/100 flags: no-repository
- quality: 88/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.brainiall%2Fpronunciation
- tools: https://api.protogrid.dev/v1/servers/com.brainiall%2Fpronunciation/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "pronunciation": {
      "type": "http",
      "url": "https://api.brainiall.com/mcp/pronunciation/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 85
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% ~updated-55d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 88/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 93 (weight 30)

- pass `tools.descriptions`: every tool has a description
- warn `tools.description_length`: 2 tools have descriptions over 1,024 characters, which crowds the context
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 14 of 14 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 3,029 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 14, about 3,029 tokens to load them all
- tool set hash: b2687ea4f2c646f5ff0a3aba080c16fc
- badge: [![protogrid quality](https://protogrid.dev/badge/com.brainiall/pronunciation.svg)](https://protogrid.dev/servers/com.brainiall/pronunciation)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://api.brainiall.com/mcp/pronunciation/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (14)

- `assess_pronunciation`: Assess English pronunciation quality from audio.

Scores pronunciation at four levels: overall, sentence, word, and phoneme.
Each score is 0-100. Phonemes are returned in both IPA and ARPAbet notation.
Sub-300ms inference latency.

Args:
    audio_base64: Base64-encoded audio data. Supports WAV, MP3, OGG, and WebM formats.
    text: The reference English text that the speaker was expected to read aloud.
    audio_format: Audio format hint — one of 'wav', 'mp3', 'ogg', 'webm'. Defaults to 'wav'.

Returns:
    dict with keys:
        - overallScore (int 0-100): Overall pronunciation quality
        - sentenceScore (int 0-100): Sentence-level fluency and accuracy
        - words (list): Per-word scores, each containing:
            - word (str): The word
            - score (int 0-100): Word pronunciation score
            - phonemes (list): Per-phoneme scores with IPA/ARPAbet notation
        - decodedTranscript (str): What the model heard (ASR transcript)
        - transcript (str): Reference text
        - confidence (float 0-1): Scoring confidence
        - warnings (list[str]): Quality warnings if any
        - audioQuality (dict): Audio metrics (SNR, peak/RMS dB, etc.)
- `check_pronunciation_service`: Check if the Brainiall Pronunciation service is healthy and ready.

Returns:
    dict with keys:
        - status (str): 'healthy' or error state
        - modelLoaded (bool): Whether the scoring model is loaded
        - version (str): API version
- `check_stt_service`: Check if the Brainiall Speech service is healthy and ready.

Returns:
    dict with keys:
        - status (str): 'healthy' or error state
        - modelLoaded (bool): Whether the speech-recognition model is loaded
        - version (str): API version
- `check_tts_service`: Check if the Brainiall Voice service is healthy and ready.

Returns:
    dict with keys:
        - status (str): 'healthy' or error state
        - modelLoaded (bool): Whether the synthesis model is loaded
        - version (str): API version
- `check_whisper_service`: Check if the Brainiall Speech Pro service is healthy and ready.

Returns:
    dict with keys:
        - status (str): 'healthy' or error state
        - modelLoaded (bool): Whether the Brainiall Speech Pro engine is loaded
        - diarizeLoaded (bool): Whether the diarization pipeline is loaded
        - version (str): API version
        - modelName (str): Engine version identifier
- `get_phoneme_inventory`: Get the full phoneme inventory supported by the pronunciation scorer.

Returns a list of all English phonemes the engine can assess, including
ARPAbet symbol, IPA equivalent, example word, and phoneme category
(vowel, consonant, diphthong).

Returns:
    list of dicts, each with keys:
        - arpabet (str): ARPAbet symbol (e.g. 'AA', 'TH')
        - ipa (str): IPA notation
        - example (str): Example word containing the phoneme
        - category (str): vowel, consonant, or diphthong
- `list_tts_voices`: List all available Brainiall Voice synthesis voices with metadata.

Returns:
    dict with keys:
        - voices (list): Available voices, each with id, name, gender, accent, grade
        - defaultVoice (str): Default voice ID
- `synthesize_speech`: Generate natural speech audio from English text.

Produces high-quality speech with 12 English voices.
Returns base64-encoded WAV audio (16-bit PCM, 24kHz mono) along with metadata.

Available voices:
- af_heart (default), af_bella, af_nicole, af_sarah, af_sky (American female)
- am_adam, am_michael (American male)
- bf_emma, bf_isabella (British female)
- bm_george, bm_lewis, bm_daniel (British male)

Args:
    text: English text to synthesize (1-5000 characters).
    voice: Voice ID. See list above. Defaults to 'af_heart'.
    speed: Speed multiplier from 0.5 to 2.0 (default: 1.0).

Returns:
    dict with keys:
        - audio_base64 (str): Base64-encoded WAV audio (16-bit PCM, 24kHz)
        - duration_ms (str): Audio duration in milliseconds
        - voice (str): Voice ID used
        - text_length (str): Input text character count
        - processing_ms (str): Synthesis time in milliseconds
- `transcribe_audio`: Transcribe audio to text with word-level timestamps.

Converts spoken English audio into text with optional word-level timestamps
and per-word confidence scores.

Args:
    audio_base64: Base64-encoded audio data (WAV, MP3, OGG, FLAC, WebM).
    audio_format: Audio format hint. Auto-detected from magic bytes if omitted.
    include_timestamps: Whether to include word-level timing (default: true).

Returns:
    dict with keys:
        - text (str): Full decoded transcript
        - words (list): Per-word results with timestamps, each containing:
            - word (str): The transcribed word
            - start (float): Start time in seconds
            - end (float): End time in seconds
            - confidence (float 0-1): Word-level confidence
        - audioDurationMs (int): Audio duration in milliseconds
        - metadata (dict): Processing time, audio length, model version
        - audioQuality (dict): Audio metrics (SNR, peak/RMS dB, etc.)
- `transcribe_audio_pro`: Transcribe audio with Brainiall Speech Pro — multilingual transcription.

Supports 99 languages with automatic language detection, word-level
timestamps, per-word confidence scores, and optional speaker diarization
(identifies who spoke each word). Best-in-class WER (~2%).

Args:
    audio_base64: Base64-encoded audio (WAV, MP3, OGG, FLAC, WebM).
    language: Language code. Auto-detected if omitted. Supports 99 languages.
    diarize: Enable speaker diarization (default: false). When true, each word
        includes a speaker label (e.g. SPEAKER_00, SPEAKER_01).

Returns:
    dict with keys:
        - text (str): Full decoded transcript
        - words (list): Per-word results with timestamps, each containing:
            - word (str), start (float), end (float), confidence (float 0-1)
            - speaker (str|null): Speaker label when diarize=true
        - speakers (dict|null): Speaker info with count and labels
        - audioDurationMs (int): Audio duration in milliseconds
        - metadata (dict): Processing time, language, languageProbability
        - audioQuality (dict): Audio metrics (SNR, peak/RMS dB, etc.)
- `voice_id_enroll`: Enroll a voiceprint for a speaker from ~2s of clear speech. Repeat with more clips to strengthen it.

Only an irreversible embedding is stored — never the raw audio.

Returns:
    dict with keys: speaker_id (str), n_samples (int), enrolled (bool).
- `voice_id_identify`: 1:N identification — rank everyone enrolled in the group against this clip.

Returns:
    dict with keys: candidates (list of {speaker_id, similarity}, best first).
- `voice_id_list_speakers`: List the speakers enrolled in a group.

Returns:
    dict with keys: speakers (list of {speaker_id, n_samples, ...}).
- `voice_id_verify`: 1:1 verification — is this clip the enrolled speaker?

Returns:
    dict with keys: similarity (float), match (bool), threshold (float).
