Skip to main content
Glama

tiktok_channel_snapshot

Idempotent

Fetch authenticated TikTok profile statistics and recent video metrics via the official Display API, then cache them to tiktok_snapshot.json for local analysis.

Instructions

Fetch authenticated TikTok profile statistics (followers, total likes, video count) and recent videos (views, likes, comments, shares, duration, publish date, share URL) via the official TikTok Display API v2 (user.info.basic, user.info.profile, user.info.stats, video.list) and cache to tiktok_snapshot.json. Requires OAuth2 setup via python3 tiktok_studio.py setup.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tiktok_channel_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover safety (destructiveHint=false, idempotentHint=true, openWorldHint=true), and the description adds genuine context beyond them: it explains that results are cached to tiktok_snapshot.json, which explains why readOnlyHint is false, and it names the OAuth2 setup step. It stops short of covering rate limits, cache overwrite/staleness behavior, or failure modes when auth is missing.

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-loads the purpose, then the returned payload, then the API identifiers and caching side effect, then the prerequisite. Every clause carries information, though the list of four API scope names is borderline noise for an agent choosing a tool.

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 carries the burden of describing returns, and it does so by enumerating both profile metrics and per-video fields including duration and share URL. The main omission is how many recent videos are fetched and whether the cached file reflects fresh or previously stored data.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to supply; the baseline for a parameterless schema applies. The description correctly does not invent options, though it also does not mention any implicit scope such as how many recent videos are returned.

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?

States a specific verb (Fetch) and resource (authenticated TikTok profile statistics plus recent videos), enumerates the returned fields, and names the exact upstream APIs (user.info.basic, user.info.profile, user.info.stats, video.list). It is clearly distinguishable from the YouTube-family siblings such as yt_channel_snapshot.

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 word 'authenticated' plus the OAuth2 setup prerequisite implicitly frame when this tool is usable (only with a configured TikTok account), but there is no explicit statement of when to prefer it over alternatives like yt_channel_snapshot, nor any when-not guidance. Usage is inferable rather than spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.