Skip to main content
Glama

独行录 / opcmenu

更新我的产品

update_my_product
Idempotent

登录;确认后patch本人产品并立即发布,links全替换;ARCHIVED亦重发,需归档须再set_product_status。get_my_products→确认→更新→get_product。

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": {
      "productId": "<productId>"
    },
    "name": "update_my_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. Changed3 schema fields changed
    • changedInput schema / properties / links / items / properties / type / description
      Previous value: -"链接类型 key,见 LINK_TYPES,如 website/github/wechat/douyin;未知用 other"New value: +"LINK_TYPES类型key,如website/github/wechat/douyin;未知other"
    • changedInput schema / properties / links / items / properties / url / description
      Previous value: -"链接地址(联系方式可填账号/二维码图 URL)"New value: +"URL;联系可填账号/二维码图URL"
    • changedInput schema / properties / links / items / properties / visibility / description
      Previous value: -"可见范围 public(公众)/friends(好友)/private(仅自己)。不传则按类型取更私密的默认值:手机=仅自己,微信/企微/QQ/WhatsApp=好友可见,其余 public。要公开联系方式必须显式传 public"New value: +"public公众/friends好友/private自己;默认手机private,微信/企微/QQ/WhatsApp friends,其余public;公开联系须显式public"
  2. 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 拿"
  3. 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"
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the idempotentHint/destructiveHint annotations, it discloses consequential behavior: links are replaced wholesale rather than merged, and ARCHIVED products get re-published as a side effect of updating. The login prerequisite is also stated. It stops short of describing what non-links omitted fields do, which is the remaining behavioral gap.

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?

Telegraphic and front-loaded: prerequisite, mutation side effects, the ARCHIVED exception, then the workflow arrow chain. Every clause conveys operational information; nothing is redundant.

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?

For an 11-parameter mutation with no output schema, it covers login, immediate publishing, link replacement, archived-state handling, and the surrounding call sequence. It does not state whether omitted optional fields are left untouched, which matters given ten optional parameters.

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%, so the description needs to compensate, and it does for the riskiest parameter: it clarifies that links is a full-group replacement (schema note only says the same, but the description front-loads it as a warning). It adds no meaning for the other ten params, relying on the schema's enums and inline descriptions for category, productId, and link visibility.

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 verb+resource is specific: it patches the caller's own product and publishes it immediately, which distinguishes it from create_product or update_my_company. It does not explicitly name the sibling it replaces, though the get_my_products→get_product workflow around it makes the scope clear.

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 embeds an explicit workflow — get_my_products→确认→更新→get_product — and states the prerequisite (login). It also names the condition that selects an alternative: if the product is ARCHIVED and you want it archived, use set_product_status instead. That is when-to-use, prerequisites, and alternative routing in one line.

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