Skip to main content
Glama

Get the comments on a TikTok video

get_tiktok_comments

Fetch comments on one TikTok video: username, text, create_time, like_count, reply_count and parent_comment_id for replies. Give exactly one of url or id. Costs 3 credits, cached or not; a failed call is refunded.

Input Schema

NameRequiredDescriptionDefault
idNoThe numeric video id.
urlNoThe video URL, `https://www.tiktok.com/@…/video/…`. A short `vm.tiktok.com` link is not read: open it, and copy the address it leads to.
freshNoSkip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.
limitNoAt most this many results, 1–50. A page can hold fewer while `next_cursor` is set: read until it is null.
cursorNoThe `meta.next_cursor` from the previous page. Omit for the first page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose real operational traits: a 3-credit cost regardless of cache hits and a refund on failure, plus the parent_comment_id linkage for replies. It stays silent on rate limiting, auth requirements, or result ordering, keeping it short of 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.

Conciseness5/5

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

Three tight sentences: purpose and payload first, the input constraint second, cost/refund last. Nothing is redundant with the schema and no sentence is padding.

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 no output schema, the description usefully enumerates the returned fields, and pagination/refresh semantics are covered by the schema's limit/cursor/fresh descriptions. Only minor gaps remain (ordering of comments, whether replies are always included, applicability of the cache to cursor pages).

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 per-parameter baselines are already documented and a 3 would be the floor. The description adds a genuine cross-field rule ('exactly one of url or id') that the schema's empty required list does not express, so it earns 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 precise verb+resource ('Fetch comments on one TikTok video') and enumerates the returned fields (username, text, create_time, like_count, reply_count, parent_comment_id), which unambiguously separates it from get_tiktok_video, get_tiktok_videos and get_x_replies. An agent can pick this tool 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 Guidelines3/5

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

The description implicitly defines when to use it (when you have a specific TikTok video and want its comments) and adds the useful constraint 'Give exactly one of `url` or `id`'. However, it never names an alternative tool or states when NOT to use it, e.g. for bulk comment harvesting via search_tiktok, so usage guidance is only implied.

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.