Skip to main content
Glama

Update product

well_update_product
Destructive

Change a product of the current workspace: its name, SKU, description, supply type, status, availability, price and currency, the product it nests under, its vendor, or the dates and scope of a dated price row.

Use this tool when the user asks to rename a product, change its price, archive it, mark it out of stock, or move it under another product. Find the product_id first with well_list_products or well_get_product.

REQUIRED: product_id. OPTIONAL (only the fields the user wants changed): name, sku, description, supply_type, status, availability, unit_price (a decimal string; it needs a currency), currency, parent_product_id, vendor_company_id, scope_company_id, scope_project_id, product_type_project_id, valid_from, valid_to (YYYY-MM-DD). Pass null to clear an optional field.

A product a connected tool synced in (synced: true) cannot be changed in Well: the next sync would overwrite the change. The call then fails; tell the user to change it in that tool.

Returns { success: true, product } on success, or { success: false, error } on failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skuNo
nameNo
statusNo
currencyNo
valid_toNo
product_idYesThe product to change, from well_list_products.
unit_priceNo
valid_fromNo
descriptionNo
supply_typeNo
availabilityNo
workspace_idNoTarget workspace. Omit when the token authorizes one workspace. Required when it authorizes several — a write lands in exactly one workspace and this call would not say which.
conversation_idNoThe conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.
idempotency_keyNoOptional client-supplied key. A retried write with the same key returns the original result instead of re-applying the operation.
workspace_scopeNoRestrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.
scope_company_idNo
scope_project_idNo
parent_product_idNo
vendor_company_idNo
product_type_project_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
productNo
successYes
conversation_idNoThe conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.
newly_connectedNoTools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.
conversation_id_noteNoPresent only when the server opened a fresh lane, stating that no choice recorded earlier was read.
conversation_id_sourceNoWhere the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources