Skip to main content
Glama

停止同步到通路

unpublish_listing

停止把這件商品同步到通路,通路上的商品會被下架但不會刪除。

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": {
      "manage_url": "<manage_url>",
      "channel": "<channel>"
    },
    "name": "unpublish_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo帳號金鑰。Authorization 標頭無法設定時才用這個參數。
channelYes通路代號。ruten 是露天市集(二手、全新都能賣);coupang 是酷澎(只收全新商品)。
manage_urlYes商品的管理連結(上架或 list_my_listings 回傳的 manage_url),也可以直接給商品 id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "帳號金鑰。Authorization 標頭無法設定時才用這個參數。",
      +  "type": "string"
      +}
    • changedInput schema / properties / manage_url / description
      Previous value: -"上架時回傳的管理連結。"New value: +"商品的管理連結(上架或 list_my_listings 回傳的 manage_url),也可以直接給商品 id。"
  2. Changed2 schema fields changed
    • changedInput schema / properties / channel / description
      Previous value: -"通路代號。ruten 是露天市集。"New value: +"通路代號。ruten 是露天市集(二手、全新都能賣);coupang 是酷澎(只收全新商品)。"
    • changedInput schema / properties / channel / enum
      Previous value: -[
      -  "ruten"
      -]New value: +[
      +  "ruten",
      +  "coupang"
      +]
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description carries the real behavioral load — and it does disclose the key consequence: the channel-side product is taken down but not deleted, which tells an agent the action is a soft/unpublish operation. It stops short of covering reversibility (whether republishing restores it) or error behavior for listings that were never published.

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?

A single compact sentence with the action front-loaded and the important side effect second. Nothing is wasted and nothing important is buried.

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 a 3-parameter mutation with minimal annotations and no output schema, the description covers the state change but leaves gaps: what a success response looks like, what happens if the listing is not currently published, and whether the action can be undone. Adequate but not complete.

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%, including enum meanings and the manage_url/id fallback, so the schema already does the parameter work. The description adds no syntax or format detail beyond it, which matches the baseline for full coverage.

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?

States a specific action (停止同步) on a specific resource (這件商品 to a 通路), and adds the resulting effect on the channel-side listing. It is clearly the inverse of publish_listing, though it does not name that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the tool for taking a listing off a channel, but there is no explicit when-to-use vs. when-not guidance and no sibling alternative is named. The 'delisted but not deleted' phrasing hints at the delete/destroy alternative without pointing to a tool.

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.