Skip to main content
Glama

모아 — AI 쇼핑 비교·주문 창구

가게 상품 올리기·고치기

upsert_seller_products
Idempotent

상품을 올리거나 고칩니다(50개씩 · 가게당 1000개). 값·사진·상품 주소 필수 · 검사를 넘으면 바로 공개(아니면 review_note). 무료배송이면 free_shipping: true · ship_fee 0만 보내면 모름으로 봄. 값·재고만은 update_seller_offers.

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": {
      "seller_key": "<seller_key>",
      "products": "<products>"
    },
    "name": "upsert_seller_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
productsYes
seller_keyYesregister_seller 로 받은 가게 열쇠(moa_sk_…)

Output Schema

NameRequiredDescriptionDefault
okYes공개된 수
itemsYes
savedYes
rejectedYes거절된 수
product_nNo가게 상품 총수
checked_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / products / items / properties / free_shipping / description
      Added value: +"무료배송이면 free_shipping: true · ship_fee 0만 보내면 모름으로 봄(「배송비 확인 필요」)"
    • changedInput schema / properties / products / items / properties / ship_fee / description
      Previous value: -"배송비(원 · 빼거나 0이면 「배송비 확인 필요」로 보임 · 무료배송은 free_shipping: true)"New value: +"배송비(원 · 빼거나 0이면 모름 = 「배송비 확인 필요」로 보임 · 무료배송은 free_shipping: true)"
  2. Changed1 schema field changed
    • changedInput schema / properties / products / items / properties / ship_fee / description
      Previous value: -"배송비(원 · 기본 0)"New value: +"배송비(원 · 빼거나 0이면 「배송비 확인 필요」로 보임 · 무료배송은 free_shipping: true)"
  3. Changed1 schema field changed
    • changedInput schema / properties / products / items / properties / category_id / description
      Previous value: -"모아 작은 갈래 번호(GET /api/v1/categories)"New value: +"모아 작은 갈래 번호(GET /api/v1/categories · 선택 — 없으면 이름으로 짐작하고 못 정하면 「기타」로 공개)"
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses the moderation gate — passing review means immediate publication, otherwise a review_note comes back — and the free_shipping/ship_fee ambiguity trap. It stops short of saying whether omitted fields on an existing product are preserved or cleared, which matters for an upsert.

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?

Purpose is front-loaded, then constraints, then the sibling hand-off — a sensible order with no filler. The telegraphic dot-separated phrasing packs a lot in, though it is dense enough that some clauses need a second read.

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?

An output schema exists, so return values need not be explained, and the description still flags review_note as a possible outcome. Batch limits, required fields, publication behavior and the alternative tool are all covered; only the update-merge semantics for omitted product fields are missing for a two-mode tool.

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?

With 50% schema coverage the description must carry weight, and it does: it restates the required trio (price, photo, product URL) and clarifies the free_shipping vs ship_fee interaction that the schema only hints at. It adds no meaning for seller_key or category_id, but those are already documented inline in the schema.

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?

"상품을 올리거나 고칩니다" names a specific verb pair (create/update) and resource (products), plus scope limits (50 per call, 1000 per shop). It explicitly distinguishes itself from update_seller_offers, so an agent can route between the two without opening either schema.

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?

It names the alternative tool and the exact condition that selects it: "값·재고만은 update_seller_offers" (price/inventory-only changes belong to that tool). It also states the batch ceiling, which tells the agent when to split a payload.

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