Skip to main content
Glama

tikdataapi: TikTok data

Transcript of a video

get_video_transcript
Read-onlyIdempotent

The transcript of one TikTok video, from the subtitles of TikTok (most are made by its speech recognition, source ASR): timed segments (start and end in seconds, text), the whole text, the language, and the languages the video has. A video with no subtitles gives a not_found with reason unavailable and costs nothing. 1 credit.

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_video_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the transcript, as TikTok names it (eng-US) or its first part (eng). Default: the first speech-recognition transcript, else the first one. The languages of a video are in the field languages.
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

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), the description discloses the data provenance (speech-recognition ASR, quality caveat), the failure mode and its exact shape ('not_found with reason unavailable'), and that failures are free, plus a credit price. That is real behavioral context an agent cannot get from structured fields.

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?

Return contents are front-loaded in the first clause, followed by the failure/cost note. It is dense but every sentence carries information; only minor awkwardness ('the languages the video has') costs it a point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by describing the response shape itself — timed segments with start/end seconds and text, the whole text, language, and available languages. Combined with the not_found behavior and credit cost, an agent has everything needed to call and interpret results.

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 schema already documents lang, fresh, and video_id in detail, including the eng-US/eng pattern and the cache-bypass cost multiplier. The description adds essentially no parameter-level meaning beyond pointing at the 'languages' field, so the baseline 3 applies.

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 opening states a specific verb and resource: retrieves the transcript of exactly one TikTok video, sourced from TikTok's subtitles/ASR. It also enumerates the returned fields (timed segments, full text, language, available languages), so an agent can distinguish it from metadata-oriented siblings like get_video. It does not name a sibling explicitly, which keeps it just below a 5.

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?

Usage context is implied (use when you want subtitle text rather than video metadata) and reinforced by cost guidance ('1 credit', 'not_found... costs nothing'), which helps an agent decide whether to call. However there is no explicit when-to-use/when-not framing and no named alternative for retrieving a video without needing the transcript.

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.