Skip to main content
Glama

Video comments

videos_comments
Read-only

Fetches a page of a TikTok video's stored comments, including replies to a specific comment, using cursors for pagination. Returns JSON with freshness and coverage details so you can decide when to retry.

Instructions

One page of a video's stored comments; pass parentCommentId for the replies of one comment and nextCursor as cursor for the next page. Needs API key scope content:read. Costs credits from the workspace wallet (billed as a cached read). May wait up to 40 s while toktokdata.live collects fresh data; if it is still collecting, the tool says when to retry. Returns the API answer as JSON, with provenance (freshness, coverage, source).

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": {
      "video_id": "<video_id>"
    },
    "name": "videos_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoComments per page.
cursorNoOpaque cursor from `nextCursor` of the previous page.
video_idYesTikTok video id.
parentCommentIdNoReturn the replies of this comment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint annotations: it names the required API key scope (`content:read`), discloses credit consumption and billing mode (cached read), warns of up to 40 s latency while fresh data is collected, and describes the retry signal. That is exactly the operational context an agent needs before calling.

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-loads purpose and the two calling modes, then layers auth, cost, latency and return shape; nearly every clause carries distinct information. It is somewhat dense as a single paragraph, but no sentence is redundant.

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

Completeness5/5

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

With no output schema, the description still specifies the return payload ('API answer as JSON' plus a `provenance` object covering freshness, coverage and source). Combined with auth, billing, latency and pagination coverage, nothing an agent needs to invoke it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema cannot: `cursor` must be the prior response's `nextCursor`, and `parentCommentId` switches the query into a replies mode rather than filtering. The added pagination-threading relationship justifies raising above 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 ('One page of a video's stored comments'), and the word 'stored' implicitly separates it from the live_comments sibling. An agent can tell what it retrieves without opening the schema.

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?

Explains how to traverse the dataset: pass `parentCommentId` to get replies of a single comment, and reuse `nextCursor` as `cursor` for subsequent pages, plus explicit retry guidance if collection is still in progress. It lacks an explicit 'use live_comments instead when…' exclusion, so it stops short of full alternative routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.