Skip to main content
Glama

HandleHaul

TikTok stories

tiktok_get_stories
Read-onlyIdempotent

Stories a TikTok account has up right now. Stories expire, so this is often empty. 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_stories"
  }
}

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

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds value beyond them: ephemeral/expiring data, per-page credit cost, no charge on cache hits or errors, and sandbox-key exemption — real operational context an agent would otherwise not have.

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?

Four short sentences, front-loaded with what the tool returns and its most surprising trait (often empty). The credit/cache parenthetical is dense but each clause carries distinct pricing information; nothing is redundant with the title or schema.

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 partially compensates by naming the pagination.next_cursor / pagination.has_more output fields the caller must read. Costs, caching, and the empty-result case are all covered. It stops short of describing story item fields, which is the remaining gap for a read tool without an output schema.

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 coverage is 100%, and the schema already documents user, raw, fresh and cursor in detail. The description's only addition is the loop condition — re-pass pagination.next_cursor as cursor while pagination.has_more is true — which is mildly useful but mostly restates the cursor parameter. Baseline 3 is appropriate.

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 first sentence gives a concrete verb-less but specific resource: 'Stories a TikTok account has up right now', which tells an agent exactly what it fetches and implies the user-scoped input. It does not distinguish this from the sibling tools get_stories or get_highlight_stories, so an agent comparing siblings still has to infer the difference.

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?

'Stories expire, so this is often empty' is genuinely useful expectation-setting that implies when results will be sparse. However, there is no explicit statement of when to use this versus get_stories or get_highlight_stories, and no prerequisites such as needing a valid, existing account.

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.