Skip to main content
Glama

TopTik — TikTok data

tiktok_video_comments

Read-onlyIdempotent

Top-level comments on a video, with like and reply counts. cursor is an offset: pass the previous response's cursor to continue. TikTok re-ranks between pages, so dedupe on comment_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe numeric video id.
countNoComments per page. (1-50, default 20)
cursorNoOffset from the previous response. Omit for page one. (default 0)
expandNofalse (default): a compact JSON summary sized for a model's context. true: the complete, unmodified response from the data API — can exceed 500 KB for list tools, so ask for it only when a field you need is missing from the compact form. Same price either way.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark the tool readOnly/idempotent, so the description's main contribution is pagination behavior: cursor offset, continuation via previous response, and re-ranking instability. That is genuinely useful behavioral context beyond the annotations.

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, each earning its place: what the tool returns, how pagination works, and a dedupe warning. No filler or repetition of schema details.

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?

Covers primary behavior, pagination, and a stability caveat despite no output schema. It stops short of describing the exact response shape or field names beyond comment_id, but what an agent needs to call and paginate correctly is present.

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; the description adds meaning by explaining how cursor relates to the previous response and why comment_id should be used for deduplication. This is practical semantics not fully captured in the schema.

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 the resource ('comments on a video') and narrows scope to 'Top-level comments' with like/reply counts, making it easy to distinguish from tiktok_comment_replies. It also defines the purpose in a single front-loaded phrase.

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 gives clear operational guidance: pass the previous cursor to continue and dedupe on comment_id because TikTok re-ranks between pages. It does not explicitly name sibling alternatives or exclusion conditions, though 'top-level' plus sibling tiktok_comment_replies implies the boundary.

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