Skip to main content
Glama
Salla MCP Server

Salla MCP Server

by theYahia

Bulk Update Quantities

bulk_update_quantities
DestructiveIdempotent

Update stock quantities for multiple products or variants by product ID, variant ID, or SKU in one request. Choose overwrite, increment, or decrement mode; updates are queued and may take minutes to finish.

Instructions

Bulk-update product or variant stock quantities by product id, variant id, or SKU. The update is queued and may take several minutes to complete.

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": {
      "products": "<products>"
    },
    "name": "bulk_update_quantities"
  }
}

Input Schema

NameRequiredDescriptionDefault
productsYesList of quantity updates to apply (queued; may take minutes to finish)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already declare this as a non-read-only, destructive, idempotent, open-world operation, so the safety profile is covered. The description adds important behavioral context beyond the annotations: the update is queued and may take several minutes to complete. It does not explain permissions or partial-failure behavior, but the async delay is a meaningful disclosure.

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?

The description is two sentences with no wasted wording. It front-loads the operation and follows with the critical queued-delay caveat.

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

Completeness3/5

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

For a destructive bulk mutation, the description covers the core action and the important asynchronous delay. However, with no output schema, it does not explain what the queued operation returns, how progress is tracked, or how partial failures are handled, leaving meaningful gaps for an agent invoking it.

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%, and the schema itself documents the nested fields including mode, branch, reason_id, unlimited_quantity, and identifier_type. The description only restates the identifier options and does not add format or interpretation details beyond what the schema already provides, so the baseline of 3 is appropriate.

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 uses a specific verb and resource: bulk-update product or variant stock quantities, with explicit identifier options (product id, variant id, SKU). It does not explicitly contrast with sibling tools such as update_product, but 'bulk' and 'quantities' make the scope distinguishable.

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 description does not say when to use this tool versus alternatives, nor when not to use it. Bulk updating is implied by the name and description, but no explicit routing guidance is provided for choosing between this and update_product or get_product_by_sku.

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