Skip to main content
Glama

createProduct

Create a shop product in a location, optionally inside one of its shop categories, with the options members can buy. Returns the created product. Call getLocations to list locations, or getLocation to fetch one by locationId. Leave out categoryRef for a product without a category, or get it from getShopCategories with the same locationRef. Leave out media: files cannot be uploaded here, so images are added in the Spacebring admin app. Never invent UUIDs; only use values from prior tool responses.

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": "<product>"
    },
    "name": "createProduct"
  }
}

Input Schema

NameRequiredDescriptionDefault
productYesProduct to create.

Output Schema

NameRequiredDescriptionDefault
productYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already say readOnly=false, destructive=false, openWorld=false, so the write/destructive profile is covered. The description adds non-obvious behavior the schema does not convey: the location UUID must come from a prior tool response, and media cannot be uploaded through this tool at all because files are added in the Spacebring admin app. It does not mention permission requirements or what happens on duplicate titles, so it falls short of a 5.

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?

Four sentences, front-loaded with what the tool does and its return value, then lookup routing, then the two 'leave out' rules. Every sentence carries an actionable instruction; no filler or repetition of schema fields.

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?

An output schema exists, so return values need not be described, and the nested product payload is well documented in the schema. The description covers prerequisites, optionality, and the media limitation, leaving only secondary gaps such as permission requirements or behavior on validation failure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description earns above baseline by explaining the provenance of categoryRef and locationRef values and by flagging that media should be omitted here — guidance the schema's own 'Storage key of the media file, as returned by the media upload endpoint' text does not make actionable for this tool.

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?

States a specific verb and resource ('Create a shop product'), plus the scoping ('in a location, optionally inside one of its shop categories') and the payload ('with the options members can buy'). The verb 'create' combined with 'Returns the created product' cleanly separates it from updateProduct/getProduct/getShopCategories in the sibling list.

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

Usage Guidelines5/5

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

Explicitly routes prerequisite lookups: getLocations for a location, getLocation by locationId, getShopCategories with the same locationRef for a category. It also states when to omit inputs (leave out categoryRef for a categoryless product, leave out media) and forbids inventing UUIDs, which is a genuine usage constraint rather than a restatement.

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.

Resources