Skip to main content
Glama

tikdataapi: TikTok data

Live state of an account

get_user_live
Read-onlyIdempotent

Whether one TikTok account, by username or sec_uid, is live now. When it is: the room id, title, viewers now, start time and cover. When it is not: live false and no room fields. No stream addresses. The cache window is 1 minute. 1 credit either way.

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": {
      "user": "<user>"
    },
    "name": "get_user_live"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesUsername, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes.
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

A4.1/5.0
Behavior4/5

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

The annotations already declare read-only, open-world, idempotent, and non-destructive behavior, and the description adds useful operational context: cache window, credit cost, output shape when live versus not live, and the absence of stream addresses. It does not discuss authentication or rate limits, but for a simple read endpoint the added transparency is strong and consistent with annotations.

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?

The description is short, front-loaded, and telegraphic in a useful way. Every sentence carries information about purpose, return shape, output constraints, caching, or cost, with no wasted wording.

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?

For a simple two-parameter read tool with no output schema, the description explains the return fields when live, the not-live case, the absence of stream addresses, caching behavior, and cost. Combined with the annotations, this gives an agent enough to call the tool correctly and interpret 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%, so the input schema already explains both the user and fresh parameters in detail. The description mentions username or sec_uid and the one-minute cache window, which provides some contextual meaning for the fresh parameter, but it does not add significant parameter semantics beyond the schema.

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?

The description states a specific verb and resource: checking whether one TikTok account, identified by username or sec_uid, is live now. The phrase 'one TikTok account' distinguishes it from a broader live search or multi-user lookup, so an agent can tell what it does without opening the schema.

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 implied clearly: check live status for a single known account. However, the description does not explicitly say when to use this tool instead of alternatives such as searching live streams or fetching user profile data, so guidance is present but not fully articulated.

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.