Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

convert_subtitles

Read-onlyIdempotent

Convert SRT, WebVTT, or JSON subtitles and adjust cue timing by scaling or shifting. Use it to retime and reformat captions for video playback or editing.

Instructions

utilpeek: Convert SRT, WebVTT and JSON subtitles; scale or shift timing. To make subtitles from audio use transcribe_audio. Returns converted subtitles. At most 1,000,000 characters and 10,000 cues. For plain segments to WebVTT, set literal_segment_text: true. Invalid input: uncharged 422. Starts clamp at 0; negative shifts drop cues ending at or before 0. Max time 99:59:59.999. Typically under 0.3 s. Price: USD 0.002. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/subtitle-converter-api.html

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": {
      "to": "<to>"
    },
    "name": "convert_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesOutput format.
contentNoSRT or WebVTT text.
segmentsNoSegments in seconds.
shift_msNoShift in milliseconds after scaling.
time_scaleNoScale cue and inline times; ties round to even.
from_formatNoInput format; auto-detected if omitted.
literal_segment_textNoEscape cue text; only for segments to vtt.
preserve_vtt_cue_idsNoKeep exact cue IDs; requires from_format and to both vtt.
preserve_vtt_cue_settingsNoKeep cue placement; requires from_format and to both vtt.
preserve_vtt_timestamp_mapNoKeep the HLS map; requires from_format and to both vtt.

Output Schema

NameRequiredDescriptionDefault
toNo
cuesNo
fromNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
outputNo
droppedNo
durationNo
segmentsNo
shift_msNo
operationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations: it discloses input ceilings (1,000,000 chars, 10,000 cues), the clamp-at-zero and drop-negative-shift semantics, the 99:59:59.999 max time, typical latency (<0.3 s), price, free-tier quota, and that invalid input returns an uncharged 422.

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 purpose and the sibling alternative, then limits, edge-case behavior, and cost. The telegraphic fragments ("Invalid input: uncharged 422", "Max time 99:59:59.999") are dense but each carries operational value; only the docs URL is marginal.

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?

For a 10-parameter conversion tool with an output schema and full annotation coverage, the description supplies everything an agent needs: format scope, size limits, timing edge cases, error semantics, and cost. Return-value shape is correctly left to the output schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: it explains the practical effect of negative `shift_ms` (cues ending at or before 0 are dropped) and when to set `literal_segment_text`. It leaves the preserve_vtt_* flags to the schema, which already documents their constraints.

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 (convert subtitles between SRT, WebVTT and JSON) plus the secondary timing operations (scale or shift). An agent can immediately distinguish this from siblings like transcribe_audio or convert_time.

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

Usage Guidelines4/5

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

Explicitly routes audio-to-subtitle work to transcribe_audio, and gives a concrete conditional rule for literal_segment_text when feeding plain `segments` into WebVTT. It does not spell out when to supply `content` versus `segments`, but from_format auto-detection is covered by the schema.

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

Deploy Server

Other Tools