Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Video Sponsors

youtube_video_sponsors

Retrieve SponsorBlock community segments for a YouTube video to identify sponsor, self-promo, intro, and similar sections by vote count and category.

Instructions

SponsorBlock community segments — free while the CC BY-NC-SA commercial-use exception is pending. Costs 0 credits. 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_video_sponsors"
  }
}

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.
minVotesNoMinimum SponsorBlock votes to keep a segment. Default 0 (drops community-rejected votes < 0).
categoriesNoComma-separated categories. Default sponsor,selfpromo,interaction. Also intro,outro,preview,music_offtopic,poi_highlight,filler.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.8/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose genuinely useful behavior: zero credit cost, failures and empty results are never charged, and cache hits are free for 24h. However, it never describes what is actually returned (segment categories, time ranges, vote filtering) or any auth/credit prerequisites, so the disclosure is partial.

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

Conciseness3/5

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

The definition is short and front-loads the free/credit framing, but the opening licensing clause ('CC BY-NC-SA commercial-use exception is pending') is obscure filler, and the billing point is restated three times across four sentences. Tightening to one sentence on cost and one on cache would lose nothing.

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?

For a 4-parameter tool with no annotations and no output schema, the description covers the billing and caching story well but leaves the agent without a picture of the returned segment data or how this differs from adjacent YouTube tools. The core call can be made, but the surrounding context is thin.

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%, so the baseline is 3. The description's cache sentence largely restates what the schema already says ('24h response cache (0 credits on hit)'), and it says nothing about minVotes or categories, so it adds no meaning beyond the schema.

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

Purpose3/5

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

The description names the resource ('SponsorBlock community segments') but never states the action or that it operates on a YouTube video URL. The title plus the resource name make the intent inferable, but there is no explicit verb and no differentiation from siblings such as youtube_video_details or youtube_transcript.

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 only guidance is about the cache parameter ('Pass cache=true for a free 24h cache hit'), which is parameter-level advice rather than when-to-use. It never says when to reach for this tool instead of youtube_video_details or youtube_transcript, nor when not to use it.

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