Skip to main content
Glama

Shoprocket MCP by usefulapi

Create product

shoprocket_create_product
Destructive

WRITE: create a product in the store (visible to shoppers unless status is 0). A name and at least one category (name or slug) are required. Does not create duplicates by itself: calling twice creates two products. Variants and add-ons are not set by this tool. PUT /v1/products.

Input Schema

NameRequiredDescriptionDefault
skuNoSKU.
nameYesProduct name.
priceNoPrice as an integer in the smallest currency unit (cents: 1999 = 19.99), as Shoprocket's API takes it. Check the reply.
statusNo1 = active (Shoprocket returns status "1" for live products), 0 = inactive.
weightNoWeight, in the store's weight unit.
summaryNoShort summary.
quantityNoStock quantity.
categoriesYesComma-separated categories the product belongs to (as Shoprocket's API takes them; see shoprocket_list_categories).
descriptionNoProduct description (HTML allowed).
max_order_quantityNoMaximum quantity per order.
min_order_quantityNoMinimum quantity per order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true; the description adds real consequences beyond them — the product is shopper-visible unless status is 0, and duplicate calls silently create two records. It stops short of disclosing auth/permission requirements or the shape of the reply.

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?

Front-loaded write marker, then preconditions, then behavioral caveats, then endpoint. Four short clauses, no filler, every sentence carries information an agent needs before calling.

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

Completeness4/5

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

With 11 fully documented params and rich annotations, the description covers the essentials; the notable gap is the return value — no output schema exists and the description never says what comes back (e.g. the new product id), which an agent would need to chain into a follow-up update.

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 required fields are already enumerated in the schema, so the description mainly restates requirements. The one added nuance is that categories may be given by 'name or slug', which sits on top of the schema's comma-separated string note — marginal but useful.

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

Purpose5/5

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

Specific verb+resource ('create a product in the store') with a 'WRITE:' prefix that immediately distinguishes it from the get_/list_/update_ siblings. It also scopes the tool by stating what it does NOT create ('Variants and add-ons are not set by this tool'), which sharpens the boundary against other product-related tools.

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

Usage Guidelines4/5

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

Gives the precondition (a name and at least one category, by name or slug) and the key caution that calling twice creates duplicates. However, it never names the alternative to reach for variants/add-ons or for editing an existing product (e.g. shoprocket_update_product), so the agent must infer the routing.

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.