Skip to main content
Glama

Get the replies to a TikTok comment

tiktok_get_comment_replies
Read-onlyIdempotent

List the replies to a comment on a TikTok post, with each reply’s text, like count and author. Page through results with the cursor from the previous response's nextCursor. Read-only: returns public data and changes nothing. Costs 1 credit per request.

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": {
      "videoId": "<videoId>",
      "count": "<count>",
      "commentId": "<commentId>"
    },
    "name": "tiktok_get_comment_replies"
  }
}

Input Schema

NameRequiredDescriptionDefault
countYesNumber of results to return (1–20). Defaults to 20.
cursorNoThe previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
videoIdYesPost ID, the number at the end of the post URL, or the post URL itself, for example "7698770783367171359" or "https://www.tiktok.com/@tiktok/video/7698770783367171359".
cacheOnlyNoReturn only a cached result and never scrape live. With `cacheMaxAgeHours`, only a result that recent is returned; without it, the latest cached result of any age. Responds 404, at no cost, when there is none, e.g. true.
commentIdYesID of the comment whose replies to list.
cacheMaxAgeHoursNoAccept a cached result scraped up to this many hours ago. A cached result costs no credits, and its `cachedAt` says when it was scraped. When no cached result is that recent, the data is scraped live at the normal price. Leave it out to always scrape live, e.g. 24.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / cacheMaxAgeHours
      Added value: +{
      +  "description": "Accept a cached result scraped up to this many hours ago. A cached result costs no credits, and its `cachedAt` says when it was scraped. When no cached result is that recent, the data is scraped live at the normal price. Leave it out to always scrape live, e.g. 24.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / cacheOnly
      Added value: +{
      +  "description": "Return only a cached result and never scrape live. With `cacheMaxAgeHours`, only a result that recent is returned; without it, the latest cached result of any age. Responds 404, at no cost, when there is none, e.g. true.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the 'Read-only: returns public data and changes nothing' sentence is largely redundant. What the description does add beyond structured fields is the pricing model — 1 credit per request — and the paging contract, which is useful context for an agent planning multi-page reads. It does not cover caching behavior or empty-result handling, which the schema handles instead.

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?

Three short sentences, front-loaded with the core action and followed by the paging and cost facts. The only waste is the read-only sentence, which duplicates the annotations rather than adding information.

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?

No output schema exists, but the description compensates by naming the returned fields and explaining how to page with `nextCursor`. The schema covers the caching parameters, so their absence from the description is acceptable. Only minor gaps remain, such as what happens when a comment has no replies.

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 all six parameters, including `cursor`, `cacheOnly` and `cacheMaxAgeHours`, are already well documented in the schema. The description only restates the `cursor` semantics, adding no new meaning for `commentId`, `videoId` or the caching parameters. Baseline 3 applies.

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?

The description states a specific verb and resource — 'List the replies to a comment on a TikTok post' — and names the fields returned (text, like count, author). An agent can distinguish this from tiktok_get_video_comments, which lists top-level comments, without opening a schema.

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?

It explains pagination mechanics (reuse `cursor` from the previous response's `nextCursor`) and the credit cost, which is genuine operational guidance. However, it never says when to choose this tool over alternatives such as tiktok_get_video_comments, and there are no exclusions or prerequisites stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources