Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{
  "tasks": {
    "list": {},
    "cancel": {},
    "requests": {
      "tools": {
        "call": {}
      },
      "prompts": {
        "get": {}
      },
      "resources": {
        "read": {}
      }
    }
  }
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_login_statusA

Check if the current Douyin session is logged in.

Returns: dict with 'logged_in' boolean status

search_videosA

Search for Douyin videos by keyword.

Args: keyword: Search keyword offset: Pagination offset (default 0) count: Number of results per page (default 10, max 20) search_channel: Search type - "general", "video", "user", or "live" sort_type: Sort order - 0 (general), 1 (most liked), 2 (latest) publish_time: Time filter - 0 (unlimited), 1 (1 day), 7 (1 week), 180 (6 months)

Returns: dict containing search results with video list

get_video_detailA

Get detailed information about a Douyin video.

Args: aweme_id: The video/aweme ID (numeric string)

Returns: dict containing video details including title, description, statistics (likes, comments, shares), author info, and URLs

get_video_commentsA

Get comments for a Douyin video.

Args: aweme_id: The video/aweme ID cursor: Pagination cursor (default 0) count: Number of comments per page (default 20) source_keyword: Optional search keyword (used for referer)

Returns: dict containing comments list and pagination metadata

get_sub_commentsA

Get replies (sub-comments) for a Douyin comment.

Args: comment_id: The parent comment ID cursor: Pagination cursor (default 0) count: Number of replies per page (default 20) source_keyword: Optional search keyword (used for referer)

Returns: dict containing replies list and pagination metadata

get_user_infoA

Get Douyin user profile information.

Args: sec_user_id: The user's security ID (starts with MS4wLjABAAAA)

Returns: dict containing user profile with nickname, avatar, follower count, following count, total likes, and video count

get_user_postsA

Get videos posted by a Douyin user.

Args: sec_user_id: The user's security ID max_cursor: Pagination cursor (default "0") count: Number of videos per page (default 18)

Returns: dict containing video list and pagination info

get_homefeedB

Get recommended videos from Douyin home feed.

Args: tag: Content category - one of: "all", "knowledge", "sports", "auto", "anime", "game", "movie", "life_vlog", "travel", "mini_drama", "food", "agriculture", "music", "animal", "parenting", "fashion" count: Number of videos to return (default 20) refresh_index: Refresh index for pagination (default 0)

Returns: dict containing recommended video list

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a distinct resource and action: comments vs sub-comments, user info vs user posts, video detail vs video comments, search vs home feed. The only potential overlap is search_videos accepting a 'user' channel, but it still operates by keyword while get_user_info requires a sec_user_id, so no practical confusion.

Naming Consistency4/5

All tools use snake_case with a consistent verb_noun pattern (get_*, check_*, search_*). The only minor deviation is 'get_homefeed' (one word) rather than 'get_home_feed', but it remains readable and consistent with the overall convention.

Tool Count5/5

Eight tools is well-scoped for a read-only Douyin data access server, covering login, content retrieval, user data, comments, and search without excessive fragmentation or missing obvious categories.

Completeness4/5

Core read operations are covered: login status, video detail, comments, replies, user profile, user posts, home feed, and search. Minor gaps include a dedicated user search (search_videos overlaps but is named for videos) and follower/following lists, but these are workable for typical browsing and scraping tasks.

Maintenance

ActivityMaintained
ResponsivenessNo issues