Skip to main content
Glama

Convert captions (SRT / VTT / JSON)

convert_captions
Read-onlyIdempotent

Convert captions between SRT, WebVTT and a JSON cue list. Input is SRT or VTT text, or a cue array [{start,end,text}].

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

Input Schema

NameRequiredDescriptionDefault
toYesTarget format.
captionsYesSRT or VTT text, or an array of cues [{start, end, text}].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds only that this is a format transformation, and says nothing about behavior on malformed input or about the return shape. It neither contradicts nor meaningfully enriches the annotations.

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

Conciseness5/5

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

Two short sentences with zero waste; the capability statement comes first and the input constraint second. Nothing could be removed without losing information.

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

Completeness4/5

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

For a simple two-parameter, fully-described, well-annotated pure transformation, the definition is nearly complete. The one remaining gap is that with no output schema, the description never says whether the result is returned as text or a JSON array.

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 description coverage is 100%: the `captions` param already documents 'SRT or VTT text, or an array of cues [{start, end, text}]' and `to` documents 'Target format.' The description restates that information rather than adding semantics such as timestamp format expectations, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb (convert), resource (captions), and the exact format set (SRT, WebVTT, JSON cue list), so an agent knows precisely what the tool does. It does not distinguish itself from the sibling make_captions, which is the only clarity gap.

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

Usage Guidelines2/5

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

The description gives an input-format constraint but no when-to-use/when-not guidance and never mentions the obvious alternative make_captions. An agent must infer on its own whether it should be creating captions rather than converting them.

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.

Resources