Skip to main content
Glama

tikdataapi: TikTok data

Related videos

get_related_videos
Read-onlyIdempotent

Videos that TikTok shows next to one video ("You may like"), in the order of TikTok. One page of at most 16 videos, with no next page. 1 credit per video.

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": {
      "video_id": "<video_id>"
    },
    "name": "get_related_videos"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoVideos to return, 1 to 16. Default 16. There is no next page.
freshNoRead TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none.
video_idYesNumeric video id, as a string: the number at the end of the address of the video

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), yet the description still adds material facts: results follow TikTok's ordering, the response is capped at 16 items with no pagination, and each video costs 1 credit. The one thing it leaves implicit is caching behavior, which the schema's 'fresh' field explains.

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?

Two compact sentences, front-loaded with what the resource is and immediately followed by the hard limits (16 max, single page) and cost. Zero filler and no repetition of schema content.

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?

There is no output schema, so the description carries the burden of explaining the return shape – it does state cardinality, ordering, and the absence of pagination, which is what an agent needs. It stops short of describing what fields each video object contains, a minor gap for a retrieval tool.

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 all three parameters (video_id, count, fresh) are already documented in the schema, including the 1-16 cap. The description's only added signal is the credit model ('1 credit per video'), which helps a caller reason about cost tradeoffs for 'count' but does not restate the parameter itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a precise verb+resource framing: videos TikTok surfaces alongside one given video ("You may like"), returned in TikTok's own ranking order. That distinguishes it from feed-style siblings like get_trending_videos or get_video without naming them, though no sibling is called out explicitly.

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 use case is strongly implied – you have a video_id and want its related content – but there is no explicit "use this when... instead of..." guidance and no named alternative among the many video-listing siblings. The reader must infer that this is a discovery tool distinct from search or user feeds.

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.