Skip to main content
Glama

SiteCheck Shop & Social

Top-level comments of a public TikTok video from TikTok's

social_tiktok_comments
Read-only

Top-level comments of a public TikTok video from TikTok's web comment list JSON: comment ID, text, likes, reply count, time, language, pinned/liked-by-creator flags and the commenter's ID, username and nickname, plus the video's total comment count. Up to 60 comments in TikTok's own ranking order (no reply threads). An unknown or deleted video ID returns an empty list with total 0. Related tools on this server, for a different need: social_tiktok_creative_center_top_ads when you need TikTok Creative Center Top Ads: the top-performing TikTok; social_tiktok_hashtag_analytics when you need TikTok hashtag stats from TikTok's public hashtag detail. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": "social_tiktok_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTikTok video URL (tiktok.com/@user/video/<id>) or the numeric video ID
limitNoHow many comments, 1 to 60 (default 20)

Output Schema

NameRequiredDescriptionDefault
countNo
sourceNo
videoIdNo
commentsNo
checkedAtNo
totalCommentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description goes well past them: it discloses the ranking order used, the hard 60-item ceiling, absence of reply threads, the exact empty-result behavior for unknown/deleted videos, and the billing model ($0.002 per successful call via x402, failures not charged). Cost and failure semantics are behavioral facts an agent cannot get from annotations and are exactly what makes this call safe to plan around.

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?

The payload description is front-loaded and dense with specifics in the first two sentences, and the edge-case sentence earns its place. The trailing 'Related tools' sentence is the weakest part: it is awkwardly phrased and repeats the sibling tool names with redundant 'when you need...' clauses, adding bulk without sharpening the decision.

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 an output schema present and 100% parameter coverage, the description needs only to cover scope, limits, and edge cases — and it does, including the empty-result case and pricing. The only shortfall is that it doesn't address whether results are truncated by the 60 cap or how ranking order affects which comments you get when the video has more.

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 the baseline is 3: the schema already documents that `url` accepts either a full tiktok.com URL or a numeric ID and that `limit` defaults to 20, capped at 60. The description only restates the 60-comment ceiling and adds no new meaning about accepted URL shapes, the string-typed limit, or how limit interacts with ranking order.

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 names a specific resource and scope: 'Top-level comments of a public TikTok video,' and then enumerates exactly which fields come back (comment ID, text, likes, reply count, pinned/liked flags, commenter identity) plus the video's total comment count. The parenthetical 'no reply threads' explicitly separates it from a hypothetical full-thread tool, so an agent can identify it 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?

It states the operating condition clearly ('no reply threads', max 60 in TikTok's ranking order) and gives an edge-case rule (unknown/deleted video ID returns an empty list with total 0), which is genuine when-to-expect guidance. However, the two 'related tools' pointers are for ads and hashtag data rather than for choosing between comment-fetching endpoints, so the alternative-routing guidance is only partially useful for its actual decision.

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