Skip to main content
Glama

独行录 / opcmenu

更新我的产品

update_my_product
Idempotent

登录;确认后patch本人产品并立即发布,links全量替换;编辑ARCHIVED会重新发布,若须继续归档再set_product_status。get_my_products→确认→更新→get_product。

Input Schema

NameRequiredDescriptionDefault
nameNo
slugNo
tagsNo
linksNo整组替换全部链接
galleryNo
logoUrlNo
taglineNo
categoryNo产品分类,取值:SAAS(SaaS / 微 SaaS) | APP(App) | MINI_PROGRAM(小程序) | AI_AGENT(AI 工具 / 智能体 / 数字人) | DEV_TOOL(开发者工具 / API / 开源 / 插件) | GAME(独立游戏) | CONTENT(自媒体 / 播客 / 视频 / Newsletter) | DESIGN(设计 / 插画 / 创意) | DIGITAL_GOODS(模板 / 素材 / 课程 / 数字下载) | SERVICE(服务 / 咨询) | PHYSICAL(实体 / 手作 / 主理人 / 硬件) | COMMUNITY(社群 / 会员) | OTHER(其他)
coverUrlNo
productIdYes产品 id(cuid),从 get_my_products 拿
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / links / items / properties / label / description
      Previous value: -"备注名,可选"New value: +"备注名,可选"
    • changedInput schema / properties / links / items / properties / type / description
      Previous value: -"链接类型 key,见 LINK_TYPES,如 website/github/wechat/douyin;未知用 other"New value: +"链接类型 key,见 LINK_TYPES,如 website/github/wechat/douyin;未知用 other"
    • changedInput schema / properties / links / items / properties / url / description
      Previous value: -"链接地址(联系方式可填账号/二维码图 URL)"New value: +"链接地址(联系方式可填账号/二维码图 URL)"
    • changedInput schema / properties / links / items / properties / visibility / description
      Previous value: -"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"New value: +"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"
    • changedInput schema / properties / productId / description
      Previous value: -"产品 id(cuid),从 get_my_products 拿"New value: +"产品 id(cuid),从 get_my_products 拿"
  2. Changed1 schema field changed
    • changedInput schema / properties / links / items / properties / visibility / description
      Previous value: -"可见范围 public(公众)/friends(好友)/private(仅自己),缺省 public"New value: +"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the idempotentHint/destructiveHint annotations, the description discloses three non-obvious behaviors: login is required, the update publishes immediately, and links are fully replaced rather than merged. The ARCHIVED re-publish side effect is especially valuable. It does not explain what happens to fields left out of the patch, and full link replacement sits in mild tension with destructiveHint=false, though not enough to count as a contradiction.

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 text is terse and front-loads the highest-risk facts (login, immediate publish, full link replacement) before the workflow arrow chain. The semicolon/arrow compression makes it slightly harder to parse, but no sentence is wasted.

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 an 11-parameter mutation tool with no output schema, the description covers the workflow and the dangerous side effects well, which is the most important part. It leaves the bulk of the field-level semantics undocumented, so an agent still has to infer most of the payload shape from the schema alone.

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

Parameters2/5

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

Schema description coverage is only 27% across 11 parameters, so the description must compensate, but it only clarifies two of them: productId's source (get_my_products) and links' full-replacement semantics. Fields like gallery, logoUrl, coverUrl, tagline, slug, tags, and description get no added meaning in the description text.

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 states a specific verb and resource ("patch 本人产品并立即发布") and scopes it to the caller's own product, which separates it from create_product and generic product tools. It also names the adjacent tool set_product_status for archiving, though it does not contrast with other update_* tools in the sibling list.

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?

It gives an explicit call sequence (get_my_products → 确认 → 更新 → get_product) and states the condition that should route the agent elsewhere: if the product must remain ARCHIVED, call set_product_status after this tool. It stops short of saying when to prefer this over, say, create_product or a draft-classification path.

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