Skip to main content
Glama

update_product

自分が create_product で登録した製品のフィールドを更新する。Authorization: Bearer <APIキー> 必須。他者/公式 SKU は更新不可。指定したフィールドのみ上書き。

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": {
      "sku": "<sku>"
    },
    "name": "update_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuYes更新対象の SKU (必須)
urlNo
nameNo
specNo追加スペック (上書き)
tagsNo
brandNo
u_valueNo
categoryNo
jan_codeNo
mfr_codeNo
eta_valueNo
price_jpyNo
descriptionNo
install_jpyNo
stock_statusNoin_stock/low_stock/order/made_to_order/discontinued
lead_time_daysNo
warranty_yearsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With zero annotations the description carries the whole burden and does disclose the key behavioral facts: Bearer API-key auth is mandatory, ownership is enforced, and the update is a partial patch ("指定したフィールドのみ上書き"). It omits error/response behavior and whether overwrites are reversible.

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 sentences, no filler, with the ownership constraint and auth requirement front-loaded before the merge behavior. Every clause adds information.

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 17-parameter mutation with no annotations and no output schema, the description covers auth, ownership and patch semantics but leaves field-level meaning and failure behavior unexplained. Adequate to avoid misuse, not complete enough to call correctly with confidence.

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 coverage is only 18% across 17 parameters, so the description must compensate and it largely does not. The partial-update note is genuinely useful, but the 16 optional fields (tags, spec, stock_status enums, price_jpy units, etc.) get no explanation of format or merge-vs-replace semantics beyond "上書き".

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+resource (updates product fields) and anchors it to provenance: only products the caller registered via create_product. That framing cleanly separates it from create_product, get_product and retire_product in the sibling list.

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?

Explicitly names the exclusion condition (other people's products and official SKUs cannot be updated) and implies the create_product prerequisite. It stops short of naming an alternative for the read path (get_product) or stating what to do when the update is rejected.

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