Skip to main content
Glama

tikdataapi: TikTok data

Live search

search_live
Read-onlyIdempotent

Live rooms that the live search of TikTok (the "LIVE" tab) finds for a query, in the order of TikTok: room id, title, viewers now, start time, cover and the account that hosts it. No stream addresses. Results change fast; the cache window is 1 minute. 1 credit per room; a query with no result gives an empty list and costs nothing.

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": {
      "query": "<query>"
    },
    "name": "search_live"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoResults on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap.
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.
queryYesWords to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: cooking
cursorNonext_cursor from the previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), it discloses a 1-minute cache window, a per-room credit price, and that an empty result costs nothing. It also sets an output boundary — 'No stream addresses' — which prevents an agent from expecting playable URLs.

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?

Three dense sentences that lead with what is returned before moving to volatility, caching, and cost. Slightly awkward phrasing ('in the order of TikTok') but no filler sentences.

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 carries the return-shape burden and does so by listing the fields and explicitly excluding stream addresses. Cost, caching, and empty-result behavior round out what an agent needs before calling it.

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 earns above that by tying the cache window to the fresh parameter's purpose and by explaining the credit model that governs count and empty results. It does not restate the query syntax rules, but the schema already does that.

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 — live rooms found by TikTok's LIVE-tab search for a query — and enumerates the returned fields (room id, title, viewers now, start time, cover, host account). The phrase 'for a query' implicitly separates it from per-user lookups like get_user_live, so an agent can tell which one it needs.

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 description makes the retrieval context clear (TikTok LIVE tab search) and notes that results change fast, which implies when a fresh call is warranted. It never names an alternative tool or states when not to use this one, so routing guidance is only implied.

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.