Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Comments

tiktok_comments

Retrieve comments from public TikTok videos with clean schemas, stable author IDs, comment language, and cursor pagination for listening and moderation workflows.

Instructions

TikTok comments — clean schema plus authorName, stable authorId/authorSecUid and commentLanguage for listening loops. Unresolvable videos are 404 at 0 credits. 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": "tiktok_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic TikTok video URL, e.g. https://www.tiktok.com/@khaby.lame/video/7646812028874673439. Not a YouTube/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 (a numeric offset, e.g. 50). A null nextCursor means the end of the comments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does notable work: it discloses 2-credit pricing, zero charge on 404/empty/failure, and 24h cache behavior with a fresh-by-default policy. It also hints at returned fields despite no output schema, but says nothing about ordering, whether replies are included, or rate limits.

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?

Four compact sentences with no padding; cost, error, and cache behavior are packed efficiently. The opening clause ("clean schema plus...") and the "listening loops" jargon are slightly marketing-flavored but still informative.

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?

Pricing, error, and caching semantics are unusually complete for a tool with no annotations and no output schema, and return fields are partially previewed. What is missing is the scope question — top-level comments vs. replies — and pagination/ordering expectations beyond what the cursor schema states.

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 url, cache, limit, and cursor are already fully documented in the schema. The description's cache sentence adds free-hit framing that is largely a restatement of the schema's cache description, so baseline 3 applies.

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 names the resource explicitly ("TikTok comments") and signals the enriched shape returned (authorName, stable authorId/authorSecUid, commentLanguage), which combined with the required video URL parameter makes the operation unambiguous. It does not explicitly distinguish itself from the sibling tiktok_comment_replies, so top-level vs. reply scope is left unclear.

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?

Usage is only implied through the URL parameter and the caching note; there is no statement of when to choose this over tiktok_comment_replies or other TikTok endpoints. The "listening loops" phrasing hints at a polling use case, but no explicit when/when-not guidance is given.

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