Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Shorts Transcript

youtube_shorts_transcript

Retrieve the transcript for a public YouTube Short up to 3 minutes long, with optional caption language and caching. Long-form videos are rejected, so use it for Shorts-only transcript extraction.

Instructions

Transcript for a YouTube Short — rejects long-form videos (≤3 min only). 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_shorts_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic YouTube Shorts URL, e.g. https://youtube.com/shorts/ID (≤3 min). Long-form videos return HTTP 422 — use the matching /v1/youtube/… endpoint instead. 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

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does substantial work: 1 credit per call, no charge on empty results or failures, free 24h cache hit with cache=true, fresh by default. What it omits is the shape of the returned transcript (plain text vs. timestamped segments) and any auth/rate-limit context, which matters since there is no output schema.

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?

Four short sentences, each carrying a distinct fact — scope limit, cost, charge exceptions, cache behavior — with the scope constraint front-loaded. No filler or restatement of 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?

Covers scope, pricing, failure billing, and caching for a simple 3-parameter extraction tool with no output schema. The main remaining gap is that nothing describes what the transcript result looks like or how long/truncated it may be, which the agent cannot learn elsewhere.

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 all three parameters are already documented, and the description adds useful semantics beyond it: the credit implication of cache=true (free hit) and the fact that the default is always-fresh. Optional parameters language and url are not discussed in the description, but the schema handles those thoroughly.

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 ("Transcript for a YouTube Short") and immediately scopes it with "rejects long-form videos (≤3 min only)", which is exactly what separates it from the long-form youtube_transcript sibling. An agent can pick this over youtube_transcript without opening either schema.

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?

Gives a clear selection condition (Shorts only, ≤3 min) and an explicit exclusion (long-form is rejected), plus when to set cache. It does not name the sibling tool to use instead in the description — that routing hint lives only in the URL parameter's schema text — so it falls short of a full when/when-not/alternative statement.

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