Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Comments

youtube_comments

Retrieve comments from any public YouTube video, including author, text, likes, and paginated results, to analyze audience reactions or moderate discussions.

Instructions

Get comments on any YouTube video — text, author, likes, and truncated publishedTimeApprox from the relative label, with cursor pagination (nextCursor + hasMore). Flat 2 credits per call; 0 when the video has comments turned off (commentsDisabled: true). Costs 2 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_comments"
  }
}

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.
limitNoMax items to return (default 50, max 500). Flat 2 credits per call.
cursorNoPagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/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 behavioral burden and does most of it well: it discloses the 2-credit flat cost, the zero-cost cases (commentsDisabled, empty results, failures), the 24h cache semantics and default freshness, and the pagination contract (nextCursor + hasMore). It omits auth requirements and rate limits, and the 'truncated publishedTimeApprox' caveat is a useful but easily missed detail.

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 output/pagination information is front-loaded and useful, but the credit information is stated redundantly: 'Flat 2 credits per call' is immediately followed by 'Costs 2 credits,' and the free-case rules are split across two sentences. Tightening would remove repetition without losing content.

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 four-parameter read tool with no output schema, the description covers the essentials: returned fields, pagination mechanics, cost model, and caching. Missing only auth/permission expectations and any note on ordering or reply handling, which are minor for this tool's complexity.

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 the schema already documents url, cache, limit, and cursor. The description adds only marginal meaning beyond that — reinforcing the cache/credit interaction and the cursor flow — and says nothing about limit behavior beyond what the schema states. 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?

States a specific verb and resource ('Get comments on any YouTube video') and even names the returned fields (text, author, likes, publishedTimeApprox). The phrase 'any YouTube video' implicitly separates it from youtube_shorts_comments and the non-YouTube comment siblings, but no sibling is named explicitly, so differentiation is inferred rather than stated.

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?

Gives clear usage conditions for the cache parameter ('Pass cache=true for a free 24h cache hit') and describes when calls are free, but offers no explicit when-to-use/when-not guidance against alternatives such as youtube_comment_replies or the shorts/other-platform comment tools. Usage is implied by the name and scope rather than spelled out.

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