Skip to main content
Glama

Update product

update_product
Idempotent

Update a product (partial — only provided fields change).

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": {
      "product_id": "<product_id>"
    },
    "name": "update_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
sortNo
tagsNo
priceNo
statusNo
sale_abNoYYYY-MM-DD first sale day (null = now)
staffelNoMengenstaffel: [{ ab: 10, rabatt: 5 }, { ab: 25, preis: 17.9 }] – ab Menge (alle Varianten zusammen) Prozent-Rabatt oder fester Stückpreis; null/[] = keine
featuredNo
in_stockNo
occasionNo
sale_bisNoYYYY-MM-DD last sale day (null = open)
gewicht_gNoVersandgewicht in Gramm (leer = Gewicht aus dem BPS-Artikel); fuer gewichtsabhaengigen Versand
image_urlNo
grundmengeNoFuellmenge fuer den Grundpreis (PAngV), z. B. 250
herstellerNoMarke/Hersteller (Katalogfilter „Marke“, Feeds, schema.org)
lieferzeitNoz. B. '1–3 Werktage'; leer = Vorgabe des Stores
product_idYes
sale_preisNoSale price (null = none); shown as 'statt <lowest price of the 30 days before>' (PAngV)
category_idNo
descriptionNo
grundeinheitNoEinheit der Fuellmenge
eigenschaftenNoFilterbare Eigenschaften, ersetzt alle bisherigen: { Material: 'Glas, Chrom', Farbe: ['rot','weiß'], Höhe: '43 cm' }. Aufzählungen werden zu einzelnen Filterwerten, Maße (Höhe/Breite/Länge/Durchmesser …) zu Zahlen in cm (Bereichsfilter). {} = alle entfernen
staffel_gruppeNoSerie: Produkte mit gleicher staffel_gruppe zählen für die Mengenstaffel zusammen (z. B. 'griffe-11526'); null = je Artikel
uebersetzungenNoÜbersetzungen: { en: { name: "…", description: "…" } } (Ticket cb21dbcb); null = keine

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered by structured data. The description adds one genuinely new behavioral fact not in annotations — that omitted fields are left untouched (partial semantics) — which is valuable for a 24-parameter mutation. However, it omits meaningful side effects visible only in the schema (eigenschaften replaces all existing properties, sale_preis triggers a PAngV 'statt' price display, staffel_gruppe affects cross-product pricing), leaving notable gaps.

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?

One compact sentence with the partial-update caveat front-loaded in parentheses — no wasted words. It is efficient, though the brevity edges into under-specification for a tool this wide rather than being a model of structure.

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

Completeness2/5

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

For a 24-parameter, nested-object mutation with no output schema, the description is far too thin: it explains none of the replace-vs-merge semantics, required permissions, or which fields have coupled effects. An agent could invoke it correctly for simple scalar fields but risks destructive surprises on eigenschaften, staffel, or uebersetzungen.

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

Parameters2/5

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

With 24 parameters at only 50% schema description coverage and nested objects (staffel, eigenschaften, uebersetzungen), the description needs to compensate and adds nothing about parameter meaning. It does not clarify that array/object fields may replace rather than merge, nor how null-valued fields behave. The heavy lifting is left entirely to a partially documented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Update a product") and adds a qualifier that matters: it is a partial update where "only provided fields change." Sibling names like create_product/get_product/delete_product are self-distinguishing, so the definition doesn't need to route among them. It stops short of 5 because it says nothing about scope (single product by ID vs. bulk) beyond the required product_id.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no mention of prerequisites (permissions/credentials), and no statement about when to prefer create_product or delete_product instead. The partial-update note implies a use case, but the agent must infer that this tool targets an existing product identified by product_id.

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