Skip to main content
Glama
Salla MCP Server

Salla MCP Server

by theYahia

Create Product

create_product

Creates a new product in a Salla store, letting you set name, price, SKU, stock quantity, description, and product type to publish items or services directly through the Admin API.

Instructions

Create a new product in the Salla store.

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": {
      "name": "<name>",
      "price": "<price>"
    },
    "name": "create_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoSKU code
nameYesProduct name
priceYesProduct price
quantityNoStock quantity
descriptionNoProduct description
product_typeNoProduct typeproduct

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, openWorld=true. The description adds essentially nothing beyond that safety profile — no mention of uniqueness constraints on SKU, validation failure behavior (price > 0), or what a successful creation returns. With annotations doing the disclosure work, the description contributes little.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, but it is so minimal that it leaves required structure (required fields, defaults) unaddressed. Brevity here shades into under-specification rather than disciplined conciseness.

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 6-parameter mutation tool with no output schema, the description omits required fields, the product_type default, price constraints, and SKU collision behavior. Annotations cover the safety profile but not the creation semantics an agent needs to invoke this correctly.

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 including the product_type enum is documented in the schema. The description adds no format, default, or validation meaning beyond it; baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb ('Create') and resource ('a new product'), making it clearly distinct from update_product, delete_product, and list_products. It stops short of explicitly naming those siblings or their boundary conditions, so a 4 rather than a 5.

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?

Provides no when-to-use guidance, no prerequisites (e.g., store authentication, SKU uniqueness), and no pointer to update_product for existing items. The agent must infer usage entirely from the verb.

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