Skip to main content
Glama

tikdataapi: TikTok data

Video

get_video
Read-onlyIdempotent

One TikTok video by id: caption, author, sound, hashtags, counts of plays, likes, comments, shares and saves. 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": {
      "id": "<id>"
    },
    "name": "get_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric video id, as a string: the number at the end of the address of the video
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile is covered. The description adds the credit cost, which is genuine value, but says nothing about error handling for invalid/missing ids or how caching affects returned freshness (that detail lives only in the schema).

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?

A single sentence, front-loaded with the resource and scope, followed by the returned fields and cost. No redundant or filler wording; every clause carries information.

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 field enumeration in the description does useful work in telling the agent what comes back, and the credit cost is disclosed. It stops short of covering failure modes or how cached versus fresh data differs in the response.

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%, including an explanation of the id format and the cache/credit semantics of 'fresh'. The description adds no parameter meaning beyond the schema, so the baseline of 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?

States a specific verb and resource ('One TikTok video by id') and enumerates the returned payload (caption, author, sound, hashtags, counts). The singular 'one ... video by id' implicitly contrasts with the list-style sibling get_videos, but no sibling is named 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?

Usage is only implied: 'by id' suggests a direct lookup, and the '1 credit' note hints at cost-sensitive usage. There is no explicit when-to-use / when-not-to-use guidance and no pointers to alternatives such as search_videos or get_videos for bulk retrieval.

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.