Skip to main content
Glama

tikdataapi: TikTok data

Profile

get_user
Read-onlyIdempotent

Public profile of one TikTok account, by username or sec_uid: nickname, bio, counts of followers, following, likes and videos, verified and private state. 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": {
      "user": "<user>"
    },
    "name": "get_user"
  }
}

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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond them: it discloses the credit cost ('1 credit') and the fact that only public profiles are returned, both of which affect whether and how an agent should call it.

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?

A single dense sentence, front-loaded with the resource and scope, followed by the returned field list and cost. Nothing is redundant, though the field enumeration makes the sentence long; it earns its place since there is no output schema.

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 acts as the return-value contract by listing the profile fields an agent can expect, and it adds cost and public-only scope. Combined with 100% schema coverage on the two inputs and annotations covering safety, nothing essential is missing for a correct call.

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 both parameters (user, fresh) are already fully documented, including the @-prefix handling and the sec_uid stability note. The description restates the username-or-sec_uid choice but adds no syntax or semantics the schema lacks, nor does it mention the cache-bypass tradeoff of 'fresh'.

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 names a specific resource and scope: 'Public profile of one TikTok account, by username or sec_uid', then enumerates exactly what comes back (nickname, bio, follower/following/like/video counts, verified and private state). The singular 'one account' implicitly separates it from batch siblings such as get_users, 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: the single-account scope plus the two lookup keys (username or sec_uid) suggest when to reach for it, but there is no statement of when not to use it and no reference to alternatives like search_users or get_users. An agent must infer the routing itself.

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.