Skip to main content
Glama

tikdataapi: TikTok data

Reposts of an account

get_user_reposts
Read-onlyIdempotent

Videos that one TikTok account reposted, by username or sec_uid, in the order of TikTok. 1 credit per video; a private account or an account with no repost 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": {
      "user": "<user>"
    },
    "name": "get_user_reposts"
  }
}

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.
countNoResults on this page, 1 to 50. Default 16. 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.
cursorNonext_cursor from the previous page

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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description then adds genuinely new behavioral context: 1 credit per video, and that a private account or an account with no reposts returns an empty list at no cost. It does not elaborate on pagination or cache behaviour beyond the schema, keeping it at a solid 4.

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?

Two short sentences with zero waste: the first front-loads what is returned and the ordering, the second front-loads the cost model and the edge case. Nothing is repeated from the schema unnecessarily.

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?

For a read-only, four-parameter tool with full schema coverage, the description supplies the two things structured fields cannot: credit cost and empty-list behaviour for private or repost-free accounts. There is no output schema, but the description indicates the return is a list, and pagination is described adequately in the schema's cursor/count fields.

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 all four parameters (user, count, fresh, cursor) are already documented in detail in the schema. The description only restates that lookup accepts 'username or sec_uid', which duplicates the schema. Baseline 3 is appropriate given the schema carries the parameter burden.

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 resource and scope: 'Videos that one TikTok account reposted, by username or sec_uid, in the order of TikTok.' The word 'reposted' plus the ordering note makes the output identifiable. It does not explicitly name a sibling such as get_user_videos to contrast posted-vs-reposted content, so it stops short of 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 is implied by the resource definition – an agent can infer it should call this when it needs an account's reposts rather than its own uploads. However, no alternative tool is named and there is no explicit when-to-use or when-not-to-use statement, so the routing decision is left to inference.

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.