Skip to main content
Glama

tikdataapi: TikTok data

Replies to a comment

get_comment_replies
Read-onlyIdempotent

Replies to one comment of a TikTok video, oldest first, as TikTok shows them under the comment. The replies field of a comment says how many there are. 1 credit per reply.

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>",
      "comment_id": "<comment_id>"
    },
    "name": "get_comment_replies"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoResults on this page, 1 to 50. Default 20. A page can come back shorter; next_cursor then continues with no gap.
freshNoRead TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none.
cursorNonext_cursor from the previous page
video_idYesNumeric video id, as a string: the number at the end of the address of the video
comment_idYesNumeric comment id, as a string, from get_comments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds two things not found there: deterministic ordering (oldest first, matching TikTok's display) and a per-reply billing cost of 1 credit. It stops short of mentioning caching behaviour or that fresh reads cost double, leaving that to 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what the tool returns and in what order, then the sizing hint, then the cost. No filler or repetition; every sentence carries a distinct fact.

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 paginated read with full schema coverage, no output schema and a clear annotation profile, the description supplies the missing qualitative facts: ordering and per-reply cost. Only the cache/fresh trade-off is absent, and the schema's fresh field already explains it.

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 count, cursor, fresh and both ids are fully self-documented; the baseline of 3 applies. The description adds no syntax or format detail for any parameter, only the tangential note about the replies field used to size the request.

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 resource and scope: replies to a single comment on a TikTok video, with an explicit ordering (oldest first). It is distinguishable from get_comments because it operates on one comment_id, but it never names the sibling that produces top-level comments, relying on the schema's comment_id note instead.

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: 'The replies field of a comment says how many there are' hints that you should check reply_count on a comment before calling this, but it never states when to choose this over get_comments or what to do when replies are zero. No exclusions or prerequisites are spelled out.

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.