Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TIKTOK_HEADLESSNoWhether to run the browser in headless mode. Set to 'true' to hide the browser or 'false' to see it.true
TIKTOK_COOKIES_PATHYesPath to your TikTok cookies file (.pkl or .json). Required for authenticated features like publishing and interacting.
TIKTOK_DOWNLOAD_DIRNoDirectory where downloaded videos will be stored../downloads
TIKTOK_MIN_INTERVALNoRate limit between calls in seconds.2.0

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
tiktok_searchB

Search TikTok videos by keyword. Returns metadata: author, description, views, URL, hashtags.

tiktok_trendingC

Get trending/For You videos from TikTok feed.

tiktok_feedC

Scroll the For You Page like a real user and collect video metadata.

tiktok_user_videosC

Get videos from a specific TikTok user's profile.

tiktok_video_infoC

Get detailed metadata for a specific TikTok video (stats, audio, hashtags, description).

tiktok_hashtagC

Explore a TikTok hashtag — popular videos and stats.

tiktok_downloadC

Download a TikTok video (without watermark when possible).

tiktok_publishA

Publish a video to TikTok. Requires authenticated session. Uses browser automation via Creator Center.

tiktok_interactC

Interact with a TikTok video: like, comment, or follow the creator.

tiktok_soundsC

Get trending sounds/music on TikTok.

tiktok_sessionB

Manage TikTok session: check login status, refresh cookies, export session info.

tiktok_analyze_trendC

Analyze trends for a niche: search multiple keywords, aggregate stats on popular sounds, hashtags, posting patterns.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 12 tools

Disambiguation4/5

Most tools have distinct purposes, but there is some overlap between tiktok_feed and tiktok_trending (both fetch trending/For You Page content) and between tiktok_search and tiktok_hashtag (both search-related). Descriptions help differentiate them, but an agent might occasionally misselect between these pairs.

Naming Consistency5/5

All tools follow a consistent tiktok_verb_noun naming pattern, using snake_case throughout. This predictability makes it easy for an agent to understand and navigate the toolset.

Tool Count5/5

With 12 tools, this server is well-scoped for TikTok operations, covering analysis, downloading, interaction, publishing, and session management. Each tool serves a clear purpose without feeling excessive or insufficient.

Completeness4/5

The toolset provides comprehensive coverage for TikTok interactions, including CRUD-like operations (e.g., publish, interact, download) and data retrieval. A minor gap is the lack of tools for managing user profiles or direct messaging, but core workflows are well-supported.