Skip to main content
Glama

tiktok_posts_by_keywords

Destructive

采集 TikTok 帖子信息(posts),含播放数据、话题标签与发布时间 采集方式:通过关键词采集 示例参数:search_keyword=music 必填参数:search_keyword

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": {
      "search_keyword": "<search_keyword>"
    },
    "name": "tiktok_posts_by_keywords"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_nameNoBuilder 输出文件名,不传时使用 {{TasksID}}。{{TasksID}}
num_of_postsNoTiktok帖子数量:该参数用于指定收集的帖子数量,缺失值表示没有限制。
search_keywordYesTiktok搜索关键词:该参数用于指定通过特定关键词或标签搜索帖子

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true and non-idempotent, so the safety profile is covered structurally. The description adds the useful detail of which fields are collected, but it does not explain the destructive/write side of the tool (the file_name output artifact), nor rate limits, quotas, or partial-failure behavior for an open-world scrape.

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?

The definition is short, front-loaded with the resource description, and free of filler prose. Minor waste: search_keyword is effectively stated three times (示例参数 and 必填参数, plus the schema), and the example line could be merged into the required-parameter line.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 listing the collected fields, which is genuinely helpful. However, for an open-world scraper with a required keyword and a file-output parameter, it omits how many posts are returned by default, what the output file contains, and what happens on zero results, leaving the definition only minimally complete.

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 description coverage is 100%, so all three parameters (file_name, num_of_posts, search_keyword) are already documented in the schema; the baseline of 3 applies. The description only restates search_keyword as required and supplies one literal example, adding no semantics for num_of_posts ('no limit' when absent) or for how file_name interacts with {{TasksID}}.

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 verb and resource (采集 TikTok 帖子信息 / posts) and enumerates the payload (播放数据、话题标签、发布时间), so an agent knows exactly what it returns. It also states the collection channel (通过关键词采集), which implicitly separates it from the URL-based siblings such as tiktok_posts_by_url and tiktok_posts_by_listurl, but it never names an alternative explicitly.

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?

Usage is only implied: the description gives a worked example (search_keyword=music) and repeats that search_keyword is required, which tells the agent how to call it but not when to prefer it. There is no when-not-to-use guidance and no mention of the URL/listurl siblings as alternatives, so the routing decision is left to inference.

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.

Resources