Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_get_video_share_link_by_url

Read-only

根据作品页面链接、短链接或包含作品链接的分享文案生成抖音分享短链接和完整分享文案;已知 aweme_id 时使用 ID 入口。读取作品内容请使用详情工具。

Input Schema

NameRequiredDescriptionDefault
urlYes抖音作品页面链接、作品短链接或包含作品链接的完整分享文案;不要传 video.play_url 这类播放资源链接,也不要传用户主页链接;已知 aweme_id 时优先使用 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.2/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 and network profile is covered. The description adds the input restrictions and the note that the output is a share link plus share text, but says nothing about link expiry, rate limits, or auth requirements. With annotations carrying the safety burden, this is adequate but thin.

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?

One sentence with three semicolon-separated clauses: purpose first, then the ID alternative, then the detail-tool alternative. No filler, no repetition, and the primary action is front-loaded.

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?

An output schema exists, so return values need not be explained, and the single parameter is fully documented. Alternatives and exclusions are covered. The only gap is behavioral detail about the generated link (e.g., validity/expiry), which would help an agent downstream but is not required to call the tool correctly.

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 url parameter's schema description already enumerates accepted forms and the play-URL/profile-URL exclusions. The description largely restates that same guidance, so it adds little meaning beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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?

The description gives a specific verb+resource: it generates a Douyin share short link AND a full share text from a works page URL, short link, or share text. It explicitly distinguishes itself from the sibling douyin_get_video_share_link_by_aweme_id ("已知 aweme_id 时使用 ID 入口") and from the detail tools ("读取作品内容请使用详情工具").

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

Usage Guidelines5/5

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

It states the routing rule twice-conditionally: use this URL entry when you have a page link/short link/share text, use the ID entry when aweme_id is already known, and use the detail tool when the goal is reading content. Exclusions (don't pass play_resource links or profile URLs) are also named.

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