Skip to main content
Glama

修改商品

update_listing

修改商品欄位。floor_price 給 null 表示取消自動成交,所有出價都交給賣家的 AI 決定。

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>"
    },
    "name": "update_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNo
titleNo
is_newNotrue 是全新品,false 是二手。能上架的賣場不同,例如酷澎只收全新。
api_keyNo帳號金鑰。Authorization 標頭無法設定時才用這個參數。
locationNo
quantityNo
conditionNo
manage_urlYes商品的管理連結(上架或 list_my_listings 回傳的 manage_url),也可以直接給商品 id。
descriptionNo
floor_priceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "帳號金鑰。Authorization 標頭無法設定時才用這個參數。",
      +  "type": "string"
      +}
    • addedInput schema / properties / is_new
      Added value: +{
      +  "description": "true 是全新品,false 是二手。能上架的賣場不同,例如酷澎只收全新。",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / manage_url / description
      Previous value: -"上架時回傳的管理連結。"New value: +"商品的管理連結(上架或 list_my_listings 回傳的 manage_url),也可以直接給商品 id。"
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description carries most of the burden. It does add real behavioral context for floor_price=null (cancels auto-deal, offers route to the seller's AI), which is valuable. However, it never states whether omitted fields are preserved (partial vs. full update), whether the change requires re-publishing, or what permissions are needed — critical for a 10-parameter mutation.

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?

Two sentences, front-loaded with the core action, and zero filler. It is efficient, though the extreme brevity leaves the bulk of the tool's semantics unaddressed rather than compactly conveyed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with 10 parameters, 30% schema coverage, and no output schema, the description is thin. It omits update semantics (partial vs. replace), return behavior, and error conditions, leaving an agent to guess at behavior that materially affects correctness.

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 30%, so the description must compensate, but it only explains floor_price's null sentinel. The other parameters (price, title, location, quantity, condition, description) receive no meaning in the description, and it is unclear how an integer floor_price differs behaviorally from null beyond that one sentence.

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: modifying product fields ('修改商品欄位'). This is clear enough for an agent to identify the operation, but it does not differentiate itself from siblings such as publish_listing, add_listing_photos, or create_listing, which an agent must infer from names alone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance. The description does not say when to choose update_listing over publish_listing or add_listing_photos, nor does it state prerequisites such as needing an existing listing or ownership. Usage is only implied by the title and the word '修改'.

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.