Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_get_video_share_link_by_aweme_id

Read-only

根据作品 aweme_id 生成抖音分享短链接和可复制的完整分享文案;用户已提供 aweme_id 时直接使用,无需先搜索或读取详情。读取作品内容请使用详情工具。

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": {
      "aweme_id": "<aweme_id>"
    },
    "name": "douyin_get_video_share_link_by_aweme_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
aweme_idYes抖音作品的数字 aweme_id,通常可从搜索、详情或评论结果中的 aweme_id 字段复用;不要传作品链接、分享文案或带引号的字符串

Output Schema

NameRequiredDescriptionDefault
pointsYes本次成功调用的积分消耗与账户积分余额。
short_urlYes抖音作品分享短链接。
share_textYes包含短链接的完整分享文案,可复制分享。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / points / description
      Previous value: -"本次成功调用的积分消耗与调用完成时的账户积分余额。"New value: +"本次成功调用的积分消耗与账户积分余额。"
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额,可为负数。"New value: +"优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。"
  2. Changed2 schema fields changed
    • changedOutput schema / properties / points / properties / balance / description
      Previous value: -"本次接口完成时看到的当前积分余额。"New value: +"本次接口完成时看到的当前积分余额,可为负数。"
    • removedOutput schema / properties / points / properties / balance / minimum
      Removed value: -0
  3. Changed3 schema fields changed
    • addedOutput schema / properties / share_text / title
      Added value: +"Share Text"
    • addedOutput schema / properties / short_url / title
      Added value: +"Short Url"
    • addedOutput schema / title
      Added value: +"DouyinShareLinkData"
  4. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavior context (it returns a short link and ready-to-copy share text, and it does not require a preceding search or detail read), but says nothing about link expiry, auth requirements, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight clauses: what it produces first, then the usage shortcut and the pointer to the detail tool. No redundant restatement of the name and nothing that could be cut.

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 one required parameter, full schema coverage, an output schema, and read-only annotations, the description covers everything needed to call it correctly. Only minor gaps remain, such as whether the generated short link is durable or the share text is locale-specific.

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% and the single parameter already documents that aweme_id is a numeric ID reusable from search/detail/comment results and that links, share text, or quoted strings must not be passed. The description adds only the reuse hint ('用户已提供 aweme_id 时直接使用'), which is already implied by the schema text, so the baseline of 3 applies.

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 and resource: generate a Douyin share short link plus copyable share text from an aweme_id. It also explicitly separates itself from the detail tool ('读取作品内容请使用详情工具'), so an agent can distinguish it from douyin_get_video_detail_by_aweme_id without inspecting either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear when-to-use rule ('用户已提供 aweme_id 时直接使用') and a when-not rule (no need to search first or read details first), plus one explicit alternative for content reading. The URL-based sibling douyin_get_video_share_link_by_url is never mentioned, so routing between the two share-link variants is left to inference from the tool name.

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