Skip to main content
Glama

SocialDataX TikTok MCP

tiktok_get_post_comment_replies

Read-only

根据 TikTok 作品 post_id 和一级评论 comment_id 获取回复,支持 page_token 翻页。 用户已提供完整合法的 ID 组合时直接使用;已有 post_id 或作品链接但缺少必需 ID 时,调用对应一级评论工具补全; 缺少作品定位信息时向用户索取;不要传回复项自身的 comment_id。 回复项的 parent_comment_id 表示所属一级评论,reply_to_comment_id 直接回复一级评论时为 null。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_idYesTikTok 作品 post_id;用户已提供时直接使用,否则可使用 tiktok_search_posts 返回的 content_type=video 或 image 的 post_id;读取评论回复时也可使用评论列表 items[*].post_id;长数字字符串,原样传入,不要转为数字
comment_idYesTikTok 一级评论的数字 comment_id;用户已提供时直接使用,否则来自评论列表 items[*].comment_id;长数字字符串,原样传入,不要转为数字
page_tokenNo请求分页令牌是不透明令牌。请求的 page_token 为空字符串表示首页;继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;不能修改、截断、脱敏、格式化、重组,也不能跨关键词、筛选条件或不同请求链路复用。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes当前页评论回复列表
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
reply_countYes该一级评论的回复总量;当前不可用时为 null
next_page_tokenYes响应分页令牌是不透明令牌。响应的 next_page_token 为空字符串表示没有更多结果;非空时必须将完整令牌原样作为下一次请求的 page_token 传回;不能修改、截断、脱敏、格式化、重组,也不能跨关键词、筛选条件或不同请求链路复用。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / page_token / description
      Previous value: -"分页令牌。首页传空字符串;next_page_token 为空字符串表示没有更多结果。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;它是不透明令牌,不能修改、截断、脱敏、格式化、重组,也不能跨关键词、筛选条件或不同请求链路复用。"New value: +"请求分页令牌是不透明令牌。请求的 page_token 为空字符串表示首页;继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;不能修改、截断、脱敏、格式化、重组,也不能跨关键词、筛选条件或不同请求链路复用。"
    • changedOutput schema / properties / next_page_token / description
      Previous value: -"分页令牌。首页传空字符串;next_page_token 为空字符串表示没有更多结果。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;它是不透明令牌,不能修改、截断、脱敏、格式化、重组,也不能跨关键词、筛选条件或不同请求链路复用。"New value: +"响应分页令牌是不透明令牌。响应的 next_page_token 为空字符串表示没有更多结果;非空时必须将完整令牌原样作为下一次请求的 page_token 传回;不能修改、截断、脱敏、格式化、重组,也不能跨关键词、筛选条件或不同请求链路复用。"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely useful behavioral context beyond that: page_token is opaque and must be passed back unmodified and not reused across different request chains, and it explains the parent_comment_id/reply_to_comment_id relationship. It stops short of auth requirements or throttling disclosure, so not a 5.

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?

Purpose and pagination support are front-loaded in the first clause, followed by usage rules and the parent/child semantics. It is dense but every sentence carries routing or constraint information; slight redundancy between the description and the schema's own comments keeps it from a 5.

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?

With 3 params, 2 required, full schema coverage and an output schema present, the description needn't explain return values and correctly focuses on how to acquire IDs and pages. It covers the acquisition flow and pagination contract well; only minor gaps remain (no mention of token expiry or failure/empty-result behavior).

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 and the schema already documents all three parameters thoroughly (including type warnings). The description still adds value the schema lacks: the rule not to pass the reply item's own comment_id and the opaque-token reuse constraint, which sharpens how comment_id and page_token must be supplied.

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 (获取回复/get replies), resource (TikTok 一级评论的回复), and scope (identified by post_id + comment_id, paginated by page_token). It implicitly distinguishes itself from the sibling first-level comment tools by instructing to call '对应一级评论工具' to fill missing IDs, so an agent can separate replies from top-level comments without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing rules: use directly when a complete valid ID combo exists, call the corresponding first-level comment tool when post_id/link exists but required IDs are missing, and ask the user when post-location info is absent. It also adds a negative rule ('不要传回复项自身的 comment_id'), which is exactly the when-not guidance the dimension asks for.

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