Media
Strip hearing-impaired (SDH) noise from subtitles: bracketed sound effects like [APPLAUSE] and (engine rumbles), speaker labels like JOHN: or NARRATOR -, music-note lines ♪ ♫ — then drop the empty cues left behind.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/srt-sdh-annotation-cleaner' \
-H 'Content-Type: application/json' \
-d '{"subtitleText":"1\n00:00:01,000 --> 00:00:03,000\n♪ [GENTLE PIANO MUSIC] ♪\n\n2\n00:00:03,500 --> 00:00:05,500\n[ENGINE RUMBLING]\n\n3\n00:00:06,000 --> 00:00:08,000\nJOHN: We need to talk.\n\n4\n00:00:08,500 --> 00:00:10,500\n(quietly, to himself)\nThis is not good.","cleanMode":"standard","removeSpeakers":true,"removeMusicNotes":true,"keepLyricText":false,"outputFormat":"srt"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/srt-sdh-annotation-cleaner| Name | Type | Required | Description |
|---|---|---|---|
| subtitleText | textarea | Yes | — |
| cleanMode | select | No | — |
| removeSpeakers | checkbox | No | — |
| removeMusicNotes | checkbox | No | — |
| keepLyricText | checkbox | No | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-srt-sdh-annotation-cleaner": {
"name": "srt-sdh-annotation-cleaner",
"description": "Strip hearing-impaired (SDH) noise from subtitles: bracketed sound effects like [APPLAUSE] and (engine rumbles), speaker labels like JOHN: or NARRATOR -, music-note lines ♪ ♫ — then drop the empty cues left behind.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=srt-sdh-annotation-cleaner",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "srt-sdh-annotation-cleaner",
"arguments": {
"subtitleText": "1\n00:00:01,000 --> 00:00:03,000\n♪ [GENTLE PIANO MUSIC] ♪\n\n2\n00:00:03,500 --> 00:00:05,500\n[ENGINE RUMBLING]\n\n3\n00:00:06,000 --> 00:00:08,000\nJOHN: We need to talk.\n\n4\n00:00:08,500 --> 00:00:10,500\n(quietly, to himself)\nThis is not good.",
"cleanMode": "standard",
"removeSpeakers": true,
"removeMusicNotes": true,
"keepLyricText": false,
"outputFormat": "srt"
}
}
}| outputFormat |
| select |
| No |
| — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]