Skip to main content
Glama

TokConnect: TikTok Research

related_topics

CSI related topic records — fetch one page of TikTok's related inspirations for a seed CSI queryId. Returns topic records with queryId values and available topic metrics, suitable for further CSI calls. Unlike related_queries, this is a paginated topic-record feed. Does not find similar videos or calculate keyword similarity. Continue with nextOffset only when hasMore is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many related topics to return, 1-20. Defaults to 11.
offsetNoPagination offset. Defaults to 0; pass back nextOffset.
query_idYesCSI topic queryId returned by search_topics, browse_topics, trending_topics or related_topics. Not a video ID, username or keyword.

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, so the description carries the burden: it discloses pagination semantics, the hasMore gate for nextOffset, and that records carry queryId values usable in further CSI calls. Does not describe rate limits, auth needs, or failure behavior, and there is no output schema to cover returns.

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 compact sentences, front-loaded with the core action, then sibling differentiation, then the pagination rule. No filler.

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 no annotations and no output schema, it covers seed input, page scope, record contents, sibling disambiguation, and continuation. Missing only return-shape and error/rate context, which are minor for this tool class.

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%: limit, offset, and query_id are fully documented, including that query_id is not a video ID or username. The description adds only the nextOffset/hasMore relationship, so the schema does the heavy lifting and baseline 3 applies.

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 and resource: fetch one page of TikTok's related topic records for a seed CSI queryId. Explicitly distinguishes from sibling related_queries ('Unlike related_queries, this is a paginated topic-record feed') and from similar_videos. An agent can route correctly without opening any 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?

Names the alternative it is not (related_queries, similar_videos) and gives continuation guidance ('Continue with nextOffset only when hasMore is true'). Does not state prerequisites or which seed-tool output to use beyond the schema, but the exclusions and pagination rule are explicit.

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