Skip to main content
Glama
stornoro

Storno CLI

by stornoro

products_update

Update existing product details by UUID. Only provided fields change, enabling code assignment, name corrections, or price adjustments.

Instructions

Update an existing product by UUID. All fields are optional — only provided fields are changed. Useful for assigning product codes (so sales can be grouped per plan/SKU), fixing names, or adjusting default prices on sync-created products. Pass code=null to clear a code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoProduct code / SKU. Pass null to clear the existing code.
nameNoProduct name
uuidYesProduct UUID to update
colorNoOptional hex colour swatch shown on the POS product grid (e.g. "#1e40af"). Six-digit hex with or without leading "#"; pass null to clear.
ncCodeNoNC (Nomenclatura Combinata) code
cpvCodeNoCPV code for public procurement
vatRateNoVAT rate percentage (e.g. 19 for 19%)
currencyNoISO 4217 currency code
isActiveNoWhether the product is active
companyIdNoCompany UUID override (uses active company if not set)
sgrAmountNoRomanian SGR (Sistem Garantie-Returnare) deposit per unit, e.g. 0.50 for plastic beverage bottles. Null clears it. The POS auto-injects a single VAT-exempt deposit line summing all SGR product quantities.
categoryIdNoUUID of a product_category for POS grid grouping; pass null to clear.
descriptionNoProduct description
defaultPriceNoDefault unit price
unitOfMeasureNoUnit of measure code (e.g. "buc", "ore", "kg")
vatCategoryCodeNoVAT category code (e.g. "S", "Z", "E")
Behavior4/5

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

No annotations are provided, so the description carries full burden. It clearly discloses partial-update behavior (only provided fields change) and the null-to-clear convention for code and other nullable fields. Does not mention whether updating isActive or companyId has side effects (e.g., on related fields), but the core mutation semantics are well documented.

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 tightly-woven sentences: action+semantics, usage scenarios, and null convention. Zero filler, front-loaded with the single most important fact (partial update). Each sentence earns its place.

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?

For a partial-update tool with 16 optional parameters and full schema coverage, the description sufficiently covers the update-by-UUID model, the null-clearing convention, and practical use cases. No output schema exists but a PATCH-style update tool's return value is typically predictable; the description adequately compensates for the parameter richness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter already has its own description. The tool description itself repeats the 'pass null to clear' pattern but the schema already documents this per-field. The description adds a usage-level note (assigning codes for grouping, defaults on sync-created products) that helps, but the schema carries most parameter meaning. Baseline 3 is appropriate.

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?

Clear verb+resource ('Update an existing product by UUID'), states the partial-update semantics up front, and lists specific use cases (assigning product codes for grouping per plan/SKU, fixing names, adjusting prices on sync-created products). Distinct from products_create/list/get in the sibling set.

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 states all fields are optional and only provided fields change, and gives concrete scenarios (assigning SKUs, fixing names, adjusting prices). Doesn't explicitly name an exclusion (e.g., when to use create instead for non-existent products), but the partial-update framing strongly implies correct usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stornoro/storno-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server