Skip to main content
Glama

tiktok_posts_by_url

Destructive

采集 TikTok 帖子信息(posts),含播放数据、话题标签与发布时间 采集方式:通过URL采集 示例参数:url=https://www.tiktok.com/@nmmusic45/photo/7675901462857223442?q=music&t=1794557752587 必填参数:url

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": {
      "url": "<url>"
    },
    "name": "tiktok_posts_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTikTok 帖子 URL:该参数用于指定待采集的 TikTok 具体帖子网址。
countryNo国家:该参数用于指定要搜索的国家。us
file_nameNoBuilder 输出文件名,不传时使用 {{TasksID}}。{{TasksID}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the description does not need to repeat them. The description says nothing about the task-creation and file-writing behavior implied by the file_name parameter and the {{TasksID}} default output file, and nothing about credits or rate costs. That omission is substantial for a tool the annotations mark as destructive and non-idempotent.

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 content is front-loaded: the first line says what is collected, the second says how, then an example, then the required parameter. The '必填参数:url' line largely repeats the required array in the schema, a minor redundancy, but overall the text is short and readable.

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?

For a three-parameter collection tool with no output schema, the description usefully enumerates the returned fields (play data, hashtags, publish time), which compensates for the missing output schema. However, it does not explain the task/file output model or the country-scoped behavior. That leaves an agent guessing about the side effects of a tool annotated as destructive.

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 the schema already documents all three parameters, including the enum for country and the file_name default. The example URL adds a little practical context for url, but the description says nothing about how country affects collection or what file_name does. Thus, the baseline of 3 applies.

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 uses a specific verb and resource in stating that it collects TikTok post information (posts), which includes play counts, hashtags, and publish time, and it names the collection method as via URL. This distinguishes it from the keyword and list-URL siblings. It does not, however, explicitly say what separates it from tiktok_posts_by_keywords or tiktok_posts_by_listurl.

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 description says the collection is done '通过URL' and supplies a concrete example URL, which implies the input must be a specific post link rather than a profile or search. It gives no when-not guidance and never names an alternative tool for keyword- or list-based collection.

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