Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Comment Replies

youtube_comment_replies

Fetch replies to a top-level YouTube comment by comment ID, with pagination and an optional 24h cache to reduce credits.

Instructions

Replies under a top-level comment — parentReplyCount + cursor. Nested reply ids return 404. 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>",
      "commentId": "<commentId>"
    },
    "name": "youtube_comment_replies"
  }
}

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.
commentIdYesID of the parent (top-level) comment to fetch replies for — from the comments endpoint. Legacy alias: comment_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the flat 2-credit cost, that empty results and failures are never charged, the default-fresh vs. 24h-cache behavior, and the 404 error mode for nested ids. These are exactly the billing, caching, and failure traits an agent cannot infer from the schema.

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?

Every sentence carries signal — pagination hint, error condition, cost, cache rule — with no filler. The telegraphic fragment style ('Replies under a top-level comment — parentReplyCount + cursor') is dense but slightly cryptic as an opening line.

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 5-parameter, non-mutating read tool with no output schema, the definition covers cost, caching, failure charging, and the key input constraint. It does not describe the shape of returned replies or ordering, though 'parentReplyCount + cursor' partially compensates on pagination.

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 every parameter (url, commentId, limit, cursor, cache) is already documented in the input schema, establishing a baseline of 3. The description adds only the 'parentReplyCount + cursor' hint about pagination and repeats the cache tradeoff, adding little beyond the structured fields.

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 states the specific resource — replies beneath a top-level comment — and names the pagination fields (parentReplyCount, cursor), which separates it from the sibling youtube_comments tool. It lacks an explicit verb (fetch/list), relying on the fragment 'Replies under...', so it is clear but not maximally explicit.

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?

'Nested reply ids return 404' tells the agent the boundary condition — only top-level comment ids are valid — and 'Pass cache=true for a free 24h cache hit (default always fresh)' gives a concrete usage tradeoff. It does not explicitly point to youtube_comments for the parent comment or to another tool for nested replies, so guidance is clear but not fully routing.

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