Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Transcript

youtube_transcript

Retrieve published YouTube captions with timestamps by video URL. Specify a language or auto-detect, and optionally use a 24-hour cache for repeat requests.

Instructions

YouTube's published captions with timestamps — not speech-to-text. Flat 1 credit; 404 is free. Costs 1 credit. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": {
      "url": "<url>"
    },
    "name": "youtube_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic YouTube video URL, e.g. https://youtube.com/watch?v=ID. Not a TikTok/Instagram/Facebook URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.
languageNoPreferred caption language as an ISO code, e.g. "en". Defaults to auto-detect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: 1 credit flat, 404 free, empty results and failures uncharged, and the key semantic that results come from published captions rather than transcription (so absence is a real possibility). It omits what a missing-caption response looks like and any rate-limit behavior.

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?

Opening with the source distinction is well front-loaded and the whole thing fits in three sentences. The cost story is stated twice ('Flat 1 credit; 404 is free' then 'Costs 1 credit'), which is minor waste in an otherwise tight description.

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 3-parameter read tool with no output schema, it covers the things an agent would otherwise have to guess: credit cost, free failure paths, cache trade-off, and the nature of the returned data (published captions with timestamps). Return shape details and the empty-result case are the remaining gaps.

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 coverage is 100%, so url, cache, and language are already documented in detail. The description's cache note largely restates the schema's own '0 credits on hit / default false' wording, and the language parameter is not mentioned at all — baseline 3 is appropriate.

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 the exact resource — YouTube's own published captions with timestamps — and explicitly excludes speech-to-text, which separates it from the sibling youtube_audio_transcript without naming it. The retrieval verb itself is only implied by the tool name, so it stops short of a full 5.

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?

It gives concrete cost/caching guidance (use cache=true for a free 24h hit, default is always-fresh), which effectively tells the agent when to flip the cache flag. It never states when to choose this over youtube_audio_transcript or the other platform transcript tools, nor what to do when a video has no published captions.

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