Skip to main content
Glama

Simpler.Asia

stock_item_update

Idempotent

Update a stock_item you own (optionally compare-and-set via expected_updated_at).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe stock_item id.
nameNo
unitNo
notesNo
categoryNo
quantityNo
is_activeNo
expiry_dateNo
sell_price_centsNo
cost_per_unit_centsNo
expected_updated_atNoOptional compare-and-set guard: the updated_at you last read. Mismatch returns CONFLICT with the current value.
low_stock_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources