Skip to main content
Glama

HandleHaul

TikTok liked videos

tiktok_get_liked
Read-onlyIdempotent

Videos a TikTok account liked. Most accounts hide this list: then the page is empty and meta.list_hidden is true. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).

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": "tiktok_get_liked"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns TikTok's raw JSON in data instead of our fields (same price). Default false.
userYesTikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a handle we have not seen in 7 days may cost 1 extra credit for the lookup (see meta.lookup_credits); an id or secUid never does.
freshNotrue skips the cache and fetches live data (full price). Default false.
cursorNopagination.next_cursor from the previous page. Leave out for the first page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent read, and the description adds real behavioral context on top: the list is often hidden and how that manifests in the response, the exact pagination loop, and the credit cost model including cache, error, and sandbox exceptions. This is the kind of cost and failure-mode disclosure annotations cannot carry.

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?

Four short sentences, each doing distinct work: resource, hidden-list caveat, pagination protocol, cost. The resource statement is front-loaded and nothing is repeated from the schema or annotations.

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 description usefully sketches the response envelope (data, meta.list_hidden, pagination.has_more/next_cursor, meta.lookup_credits). It does not describe the per-video fields returned, but the raw flag and schema already imply that, leaving only a minor gap for a read-only list tool.

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 user, raw, and fresh are already well documented in the schema. The description adds meaning the schema lacks by explaining that cursor must be the previous page's pagination.next_cursor and only while pagination.has_more is true, which clarifies the parameter's role in a loop.

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: liked videos belonging to a given TikTok account, which is clearly distinct from siblings such as tiktok_get_posts or tiktok_get_following. It does not explicitly name an alternative tool, so it stops short of a 5, but the resource boundary is unambiguous.

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?

It tells the agent how to page through results and what an empty page plus meta.list_hidden means, which is practical guidance. It never states when to choose this over a related sibling (for example, posted videos versus liked videos), so usage is implied rather than directed.

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.