Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Audio Transcript

youtube_audio_transcript

Transcribe YouTube video audio to text when captions are missing or you need the actual spoken words instead of published captions.

Instructions

Speech-to-text for YouTube audio. Use it when a video has no captions — or when you want a transcript of what was actually spoken rather than YouTube's published captions. Priced per started minute of audio. Costs 2 credits/min of audio. 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_audio_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.
maxCreditsNoRefuse before STT when estimatedCredits would exceed this (400 cost_exceeds_max, 0 credits). The estimate is on every success and, when the extract miss is retryable, as estimatedCreditsIfRetried.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does real work: per-minute pricing, no charge for empty results or failures, and default-fresh vs cached behavior. It omits what the transcript response looks like (timestamps, segmentation, length) and any latency or auth expectations, which matter for an unannotated paid endpoint.

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 purpose followed by the usage condition, then pricing and safety guarantees — a sensible order with no filler. The only waste is the redundant pricing pair 'Priced per started minute of audio' / 'Costs 2 credits/min of audio,' which says the same thing twice.

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

Completeness3/5

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

Cost, billing exclusions, and cache semantics are covered well, but a paid multi-parameter endpoint with no output schema and no annotations should describe what comes back — raw text, timed segments, language used. That return-shape gap leaves an agent unsure how to consume results.

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, language, and maxCredits are already documented, and the description adds nothing about url or maxCredits. The one added nuance — cache=true yields a free 24h hit while the default is always fresh — largely restates the schema's own cache description, so this stays at the baseline.

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 ('Speech-to-text for YouTube audio') and functionally separates itself from a caption-fetching sibling by saying it returns 'what was actually spoken rather than YouTube's published captions.' An agent can decide between STT and caption retrieval from this text alone.

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 explicit triggering conditions — no captions exist, or the caller wants a spoken-audio transcript instead of published captions — plus cost and caching trade-offs that shape invocation. It never names a specific alternative tool or states a hard 'do not use for X' exclusion, so it stops short of full routing guidance.

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