Skip to main content
Glama
Salla MCP Server

Salla MCP Server

by theYahia

Create Category

create_category

Create product categories or subcategories in a Salla store with optional image, status, parent, and sort order settings.

Instructions

Create a new product category 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>"
    },
    "name": "create_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCategory name
imageNoCategory image URL
statusNoCategory status
parent_idNoParent category ID (for subcategories)
sort_orderNoSort order within its parent

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 readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the description's only added value is the resource being a product category. It does not disclose what happens on duplicate names, whether the created category is immediately visible, or what the caller gets back (no output schema exists).

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?

A single front-loaded sentence with zero filler, but it is essentially a restatement of the title "Create Category" with the store context appended, so it is minimal rather than efficient.

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 creation tool with five parameters and no output schema, the description says nothing about success behavior, returned identifiers, uniqueness constraints, or permission requirements. An agent could call it, but must infer nearly everything operational from the schema alone.

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 all five parameters documented in the schema itself, so the baseline is 3. The description adds no meaning beyond the schema—nothing about the active/hidden status implications or how sort_order interacts with parent_id.

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 states a specific verb and resource: "Create a new product category in the Salla store." This clearly separates it from read siblings like list_categories and get_category, though it never explicitly contrasts with create_product or other create tools.

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 guidance on when to use this versus alternatives, no prerequisites (e.g., whether parent_id must reference an existing category), and no note on what to do if a category with the same name already exists.

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