Skip to main content
Glama

独行录 / opcmenu

更新我的产品

update_my_product
Idempotent

【需要登录】更新当前用户名下某个产品(仅本人可改)。先用 get_my_products 拿 productId。所有字段可选,只传想改的;links 传则整组替换。

【发布】先过后审:立即生效,后台异步做风控审计,不卡审核。注意:编辑会把已下架(ARCHIVED)产品重新发布上架——只想改内容不想上架的,改完再用 set_product_status 下架回去。

Input Schema

TableJSON 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. 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"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations establish non-read-only and non-destructive; the description adds login requirements, immediate effect with backend async audit, and the critical side effect that editing re-publishes an ARCHIVED product. This archive-republish warning is exactly the kind of non-obvious behavior an agent could not infer from the schema.

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?

Three short focused sections cover prerequisite, edit behavior, and publish side effect, with the critical warning highlighted in bold. There is no filler, and the prerequisite is front-loaded before the parameter details.

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?

The description is sufficient for correct invocation: prerequisite, auth, partial-update behavior, and side effects are all present. The main gap is no mention of the return/error contract, and with no output schema that is not self-evident; still, for an update operation this is nearly complete.

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

Parameters4/5

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

Schema coverage is only 27%, and the description compensates for the highest-risk parameters: productId source, optional-field patch semantics, and whole-group replacement of links. It does not explain every remaining field (e.g. slug, tagline, gallery, coverUrl), though those are largely inferable from field names and constraints.

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 ('更新当前用户名下某个产品') plus an ownership constraint ('仅本人可改'). It also orients the agent within the product lifecycle by naming get_my_products and set_product_status, distinguishing it from read/create/status 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?

Explicitly tells the agent to call get_my_products first to obtain productId, and states that all fields are optional with only changed fields passed. It also gives a when-not-to-use path: if the user wants to change content without re-publishing, call set_product_status afterward to delist.

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