Skip to main content
Glama

Get Subtitles

get_subtitles
Read-only

Get subtitles for an analyzed video in JSON or SRT format.

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": {
      "videoId": "<videoId>"
    },
    "name": "get_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format: 'json' (default) or 'srt'
videoIdYesThe video ID

Output Schema

NameRequiredDescriptionDefault
srtNo
videoIdNo
languageNo
subtitlesNo
aiProvenanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the meaningful detail that subtitles exist only for an analyzed video, but does not say what happens on an unanalyzed video or how format selection affects behavior beyond the enum.

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?

A single eleven-word sentence with the resource, precondition and output formats front-loaded. No filler, no redundancy with the title.

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?

A simple two-parameter read tool with full schema coverage, annotations and an output schema — the description supplies the one non-obvious fact (the video must be analyzed). Only the failure mode for unanalyzed videos is left unstated.

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% and the enum already documents 'json' (default) and 'srt', so the description's mention of formats largely mirrors structured data. Baseline 3 is appropriate given the schema carries parameter semantics.

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?

The description names a specific verb and resource ('Get subtitles') and scopes it to an 'analyzed video', with the output formats stated up front. It is clear what the tool returns, though it does not explicitly contrast itself with siblings such as get_video or get_recording.

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

Usage Guidelines3/5

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

'For an analyzed video' implies a precondition (the video must already have been analyzed), which is useful, but the description never states when to choose this over alternatives or what to do if the precondition is unmet. Usage is implied rather than instructed.

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