Skip to main content
Glama

Set product channel price

set_product_channel_price
DestructiveIdempotent

Set — or clear — the price ONE sales channel gets for ONE product, instead of the product's ordinary price in that currency. Send price as a decimal string to set it (with an optional compareAtPrice, the old price, higher than price) or price null to remove the override so the channel gets the ordinary price again. Per platform and currency: Prom, Rozetka, eBay, Amazon, Shopify, WooCommerce, OLX or Google Merchant. Send only an amount the person stated. The new price reaches the channel the same way a price edit does — only where the owner armed price writes; on Amazon a price goes out only with the hourly push or sync_amazon_offers (pass the changed productIds to send them now). This is not the price-list row for a currency (upsert_product_prices). Idempotent; clearing a missing override is not an error. Returns { changed }. Read get_product_pricing first. Echoes the workspace.

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": {
      "currency": "<currency>",
      "id": "<id>",
      "platform": "<platform>",
      "price": "<price>"
    },
    "name": "set_product_channel_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe product id returned by search_products or get_product — never a SKU or a name.
priceYesThe price this ONE channel gets, instead of the product's ordinary price in that currency, as a decimal string above zero. null removes the override — the channel then gets the ordinary price again. Send only an amount the person stated; never a converted or guessed value.
currencyYesThe currency the channel sells in (uppercase 3-letter ISO code). get_product_pricing and the channel's readiness show which currency a channel uses.
platformYesThe sales channel this price is for: prom, rozetka, woocommerce, shopify, olx, amazon, ebay or google_merchant.
compareAtPriceNoThe old (struck-through) price on this channel, higher than price; omit or null for none. Ignored when price is null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "prom",
      -  "rozetka",
      -  "woocommerce",
      -  "shopify",
      -  "olx",
      -  "amazon",
      -  "ebay",
      -  "google_merchant"
      -]New value: +[
      +  "prom",
      +  "rozetka",
      +  "woocommerce",
      +  "shopify",
      +  "olx",
      +  "amazon",
      +  "ebay",
      +  "google_merchant",
      +  "vinted",
      +  "etsy"
      +]
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses that writes only reach channels where the owner 'armed price writes', that Amazon prices require the hourly push or sync_amazon_offers with productIds, that clearing a missing override is not an error, and that it returns { changed }. That is substantial context the annotations cannot convey. The one gap: it never states plainly that removing an override is a destructive change to live channel pricing, and the platform list omits vinted/etsy that the schema enum allows.

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?

It is front-loaded with the core action and constraint before the operational caveats, and nearly every sentence carries decision-relevant information. It is dense with parentheticals and semicolon-chained clauses, though, making it slightly harder to scan than needed.

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

Completeness5/5

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

For a 5-parameter mutation tool with no output schema, it covers purpose, clearing semantics, validation rules, prerequisites, downstream propagation, idempotency, and the return value ({ changed }). Nothing an agent needs to invoke it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description adds real meaning on top, explaining that price is a decimal string override scoped per platform+currency, that compareAtPrice is the old struck-through price and must be higher, and that compareAtPrice is ignored when price is null. Minor deduction: the prose names only 8 of the 10 enum platforms (vinted and etsy are missing), leaving a small inconsistency with 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?

The description opens with a specific verb and resource ('Set — or clear — the price ONE sales channel gets for ONE product') and immediately scopes it as an override of the ordinary currency price. It also explicitly disclaims the nearest sibling: 'This is not the price-list row for a currency (upsert_product_prices).' An agent can distinguish it from get_product_pricing and upsert_product_prices without opening any 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 states exactly when to use it (per platform and currency override), how to set versus clear ('price null to remove the override'), a prerequisite ('Read get_product_pricing first'), and a guardrail ('Send only an amount the person stated'). It also names the alternative route for price lists (upsert_product_prices) and the Amazon-only propagation path (sync_amazon_offers).

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