Skip to main content
Glama

ProductAnalysis

竞品分析:仅支持淘宝、天猫商品链接。根据用户给出的淘宝或天猫商品链接输出竞品分析报告。不支持京东、拼多多等其他平台,也不支持只给商品名、品类或文字描述。本工具提交后立即返回任务信息,不阻塞等待生成;请按返回的轮询参数调用 GetTask 取结果。

【必填字段】

  • content:淘宝或天猫商品链接,必填,不超过 5000 个字符。必须是淘宝或天猫商品页链接(如 item.taobao.com、taobao.com/item.htm、detail.tmall.com)。用户没给出淘宝或天猫商品链接时先追问,不要用商品名、品类或其他平台链接提交。

【可选字段】

  • language:分析输出语言,默认「中文」。可选:中文、英语、日语、韩语、西班牙语、葡萄牙语。用户没提就不要传。

【异步与轮询】成功提交后返回 JSON:taskId、initialSleepSeconds、intervalSeconds。 先按 initialSleepSeconds 等待,再按 intervalSeconds 间隔调用 GetTask(taskId),直到 status 为 completed 或 failed。 completed 时 result 是分析正文,请按原文转达给用户,不要缩写、扩写或改写;message 按用户当前对话语言翻译,不要强行中文。 Markdown 链接必须完整保留,链接地址不要改。

【回复要求】工具返回的内容就是给用户的最终文案,按用户当前对话语言转达,不要强行中文:可以翻译措辞,不要改写事实、精简、扩写或自行追加建议、总结或客套话。 返回体是 JSON 时,转达其中面向用户的文案字段(如 message);是纯文本时转达整段。 文案中的 Markdown 链接(例如 莱诺鸟)必须完整保留,链接地址以工具返回的为准;链接文字随回复语言调整:中文用「莱诺鸟」,非中文一律用 rhinobird,禁止在非中文回复中保留「莱诺鸟」;严禁降级成「莱诺鸟(lainuoniao.com)」「lainuoniao.com」这类纯文本,否则用户无法点击跳转。 任务编号、积分数字、链接地址保持原样。成功、积分不足、生成失败、超时等所有场景都按此规则处理。 媒体与图片地址是服务端签发的短链(形如 …/api/v1/explorer/media/s/8 位短码),必须整段原样使用:不要拼接、补全、截断或改写,也不要自己拼 OSS / CDN 地址。

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": {
      "content": "<content>"
    },
    "name": "ProductAnalysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYes淘宝或天猫商品链接,必填,不超过 5000 个字符。必须是淘宝或天猫商品页链接(如 item.taobao.com、taobao.com/item.htm、detail.tmall.com)。用户没给出淘宝或天猫商品链接时先追问,不要用商品名、品类或其他平台链接提交。
languageNo分析输出语言,可选:中文、英语、日语、韩语、西班牙语、葡萄牙语。默认中文。用户没指定时不要传。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations only declare the safety profile; the description adds the substantive behavior, including that submission returns immediately with taskId and polling parameters, that the task ends in completed or failed, and that failure modes include 积分不足 and 超时. It also adds the unusual but important rule that the returned message/result must be passed through verbatim, translated but never rewritten. The long 回复要求 section is mostly output-formatting policy rather than tool behavior, which keeps this from a 5.

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

Conciseness3/5

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

The tool-selection content is front-loaded well under 【必填字段】, 【可选字段】 and 【异步与轮询】 headers, but the 回复要求 section runs long and repeats the same instructions multiple times (不要强行中文 appears twice; the Markdown-link/rhinobird rules are restated with a prohibition example). Those are response-styling policies rather than selection or invocation guidance, and they inflate the definition considerably.

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?

There is no output schema, so the description must explain return values, and it does: the submit response fields, the polling cadence, the terminal statuses, and which fields (result, message) are user-facing. For an async task-submitting tool with only two parameters, an agent has everything needed to call it correctly and retrieve the result.

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 description's 【必填字段】/【可选字段】 blocks largely restate the schema text (5000-character limit, accepted URL forms, language list, default 中文) rather than adding new semantics. The one genuinely additive point, ask the user when no Taobao/Tmall link is present, is also already in the schema. Baseline 3 is appropriate.

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 opens with a specific verb and resource: 竞品分析 (competitive analysis) from a 淘宝/天猫 product link. It immediately scopes the tool by stating what it does NOT cover (京东、拼多多, product names only, category or text descriptions), which cleanly separates it from siblings such as BrandAnalysis, MarketAnalysis and UserReviewAnalysis.

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 gives explicit when-to-use and when-not-to-use rules, plus a fallback behavior: if the user has not supplied a Taobao/Tmall link, ask first rather than substituting a product name or another platform's URL. It also tells the agent which sibling to call next: poll GetTask using the returned taskId, initialSleepSeconds and intervalSeconds.

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