Skip to main content
Glama

SocialDataX 抖音 Douyin MCP

douyin_get_product_detail_by_url

Read-only

根据抖音商品链接或分享文案读取商品详情;只有链接类输入时使用此入口。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes抖音商品短链接、商品页面链接或包含商品链接的分享文案;不要传 product_id、sku_id 或搜索词。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceYes商品起售价,单位:元;不是指定 SKU 的价格,也不保证是最终实付价
titleYes商品标题
pointsYes本次成功调用的积分消耗与调用完成时的账户积分余额。
on_saleYes商品当前是否在售;不等同于指定 SKU 有库存或当前用户可购买
shop_idYes店铺 ID
shippingYes发货信息;不包含发货地
shop_nameYes店铺名称
assurancesYes商品保障服务列表;空列表表示当前未返回保障信息,不代表商品没有保障服务
product_idYes商品 ID;可直接使用商品搜索结果中的 product_id
sales_textYes平台展示的商品销量文本;没有时为空字符串;带“+”的数量表示下限,不是精确销量
sold_countYes从销量文本解析的已售数量;不带“+”的万级展示数量换算为整数(如已售 1.5万返回 15000),不代表精确销量,须结合 sales_text 解读;缺失或无法解析时为 null,不代表零销量;0 表示明确已售 0
main_imagesYes商品顶部主图/轮播图列表;空列表表示当前未返回对应图片
detail_imagesYes商品详情图列表;空列表表示当前未返回对应图片
discount_priceYes优惠后起售价,单位:元;不限定为券后价,也不保证是最终实付价;没有单独优惠价时与 price 相同
variant_groupsYes可选商品规格组(name/options),不是商品属性参数或已选 SKU;空列表表示当前未返回规格信息,不代表商品只有一种规格
shop_avatar_urlYes店铺头像链接

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior3/5

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

The description states the tool reads product details, consistent with the readOnlyHint annotation. However, it does not add additional behavioral context such as side effects, rate limits, or error conditions beyond what the annotation already implies.

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?

The description is concise and well-structured, with a single clear sentence conveying the purpose and usage condition. The parameter description adds essential detail without redundancy.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple with a single parameter, and the description fully covers its purpose and input constraints. Given the presence of an output schema, no further explanation of return values is necessary.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The parameter description is highly informative, detailing the accepted URL types (short link, product page link, or shared copy containing the link) and explicitly excluding product_id, sku_id, and search terms. This goes far beyond the basic schema.

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 explicitly states the tool reads product details based on a Douyin product link or shared copy. It also distinguishes itself from other tools by specifying this entry is for link-type inputs only, which clearly differentiates it from the product_id variant.

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?

The description and parameter description provide explicit when-to-use guidance: use this tool only when the input is a link, and avoid passing product_id, sku_id, or search terms. This clearly routes the agent to the correct tool among siblings.

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