Skip to main content
Glama
Salla MCP Server

Salla MCP Server

by theYahia

Update Product

update_product
DestructiveIdempotent

Updates an existing Salla product's name, price, stock quantity, or status by product ID, letting you revise product details in one call.

Instructions

Update fields (name, price, quantity, status) of an existing product.

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
nameNoNew product name
priceNoNew price
statusNoProduct status
quantityNoNew stock quantity
product_idYesProduct ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered, but the description adds nothing beyond them. It does not say whether the update is partial (omitted fields left untouched) or a full replace, whether any field changes cascade to existing orders or carts, or what the call returns. For a destructive mutation that is a meaningful gap.

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?

A single front-loaded sentence with the verb and resource first and zero filler. It is arguably too terse for a destructive tool, but there is no wasted wording to trim.

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?

With five parameters, a destructive annotation, and no output schema, the description should explain partial-update semantics and consequences, and it does not. The schema covers the parameter shapes, but the behavioral side of this mutation is left entirely undocumented.

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%, with each field typed and documented and an enum supplied for status, so the schema carries the semantics. The description's field list merely restates those parameters without adding rules such as which combinations are valid or what 'hidden' status does.

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 (Update) and resource (existing product) and enumerates the mutable fields (name, price, quantity, status), which clearly separates it from create_product and delete_product. It stops short of distinguishing it from bulk_update_quantities, which is the sibling most likely to be confused with it.

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?

The only usage signal is the phrase 'of an existing product', which hints that the record must already exist, but no prerequisites, when-not conditions, or alternatives (bulk_update_quantities for many products, update_order_status for orders) are mentioned. An agent must infer the selection criteria entirely.

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