Skip to main content
Glama

item_update

Updates an active Goofish listing's price, title, description, or images by fetching edit details first, then writing only changed fields.

Instructions

修改在售商品(价格/标题/描述/图片;先拉编辑详情再回写差异字段)

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": {
      "item_id": "<item_id>"
    },
    "name": "item_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
descNo
priceNo
titleNo
imagesNo
dry_runNo
item_idYes
desc_fileNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the safety profile, and it does disclose one important trait: the read-detail-then-write-diff workflow that implies a partial, non-clobbering update. It does not explain that dry_run exists as a preview mode, whether changes to a live listing trigger re-review or are reversible, or what permissions are required.

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?

One compact clause, front-loaded with the verb and the mutable fields, then the workflow caveat in parentheses. Nothing is redundant, though the parenthetical bundling of workflow instructions with the field list slightly blurs two different pieces of information.

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 7-parameter mutation tool with no annotations, the definition omits the two parameters most needing explanation (dry_run and desc_file) and says nothing about permissions, validation rules, or the effect of price changes on a live listing. An output schema exists, so return values need not be described, but the input-side gaps remain substantial.

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 0% across 7 parameters, so the description is the only semantic source. It accounts for four of them (price/title/desc/images) by naming the fields, but dry_run and desc_file — two of the least self-explanatory parameters — are never mentioned, so it fails to compensate for the coverage gap.

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+resource ('修改在售商品') and enumerates the mutable surface (价格/标题/描述/图片), which lets an agent separate this from item_delete, item_publish, and item_get. It stops short of explicitly naming a sibling it should not be confused with, so it falls just below a 5.

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?

'先拉编辑详情再回写差异字段' is a real operational directive: read the edit detail first, then write back only the differing fields, which steers the agent away from blind full-field overwrites. There is no guidance on when not to use it, nor any instruction on when to choose dry_run over a live write.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.