ASR (Automatic Speech Recognition) MCP server using OpenAI's Whisper model for audio transcription
Single tool with significant quality gaps. Tool name 'audio_to_text' is acceptable but generic. Description is present (89 chars) but lacks critical context: no mention of prerequisites (Whisper model must be loaded), no guidance on when to use it, no explanation of return structure. Input schema is visible with basic types, but parameter descriptions are minimal (audio_path: 'Path to the audio file to transcribe' is adequate; save_path: 'Optional path to save SRT subtitle file' lacks detail on behavior). Output schema is undocumented, callers cannot predict the structure of returned list[dict]. Error handling is minimal: bare RuntimeError('TTS failed') provides no recovery guidance. No input validation, no enum constraints, no format specifications.
Transcribe audio file to text using Whisper ASR model with optional SRT subtitle output
Output schema undocumented. Tool returns List[dict] with keys 'srt_text' and 'srt_path', but this structure is not declared in tool definition. LLMs cannot predict output fields or plan downstream operations.
Tool description lacks context. Does not explain prerequisites (Whisper model 'large-v3' is pre-loaded), supported audio formats, language constraints (hardcoded to 'en'), or when to call this tool vs alternatives. Baseline: 194 chars; this is 89 chars and incomplete.
Parameter 'save_path' description is vague. Does not explain: is it a directory or file path? What happens if the directory doesn't exist? (Code shows mkdir is called, but this is not documented.) What is the actual output filename format?
Error handling is non-actionable. RuntimeError('TTS failed') gives no recovery guidance. Does not distinguish retryable errors (network, timeout) from user-fixable errors (unsupported format, corrupted file). LLM cannot self-correct.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 42 | <=2025-11-25 | v2 |
No input validation. Tool accepts any string for audio_path without checking file existence, format, or size. Bare exception handling masks the actual failure reason. LLM receives generic 'TTS failed' instead of 'File not found: /path/to/audio.mp3'.