Skip to main content
Glama

Create a product

create_product

Changes data: adds a product (an item of the organization's catalogue, as its ERP knows it) as the person who connected this app, and records it in the organization's audit log. Use it only when the user asks to add a product (or to sync one from their ERP), and say what you are about to add first. Look it up with list_products (sku for an exact SKU) before creating one: a SKU the catalogue already has, in any case, is refused with an error that names the existing product, and nothing is created, so use that product instead. Only for an organization that keeps a product catalogue. Answers with the product and its id such as "prd_45". To record what a supplier calls it use add_product_supplier_reference; to change it use update_product. Deleting a product is done in Trackberry only.

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

Input Schema

NameRequiredDescriptionDefault
skuYesThe product's SKU in the organization's ERP, such as "ABC-1". Case does not matter.
unitNoThe unit the organization counts it in, such as "box".
descriptionNoWhat the product is, such as "Hass avocado 4kg".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses that the write is attributed to the connecting user, that it is recorded in the audit log, and that a duplicate SKU is refused with an error naming the existing product and nothing is created. It also states the return shape ("the product and its id such as prd_45"), which the annotations cannot convey. The duplicate-refusal behavior is consistent with idempotentHint=false and destructiveHint=false.

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

Conciseness4/5

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

The mutation warning and core action are front-loaded, and the remaining sentences each carry distinct routing or constraint information. It is dense but slightly overlong, with minor redundancy in "a SKU the catalogue already has, in any case, is refused".

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

Completeness5/5

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

For a three-parameter mutation with no output schema, everything an agent needs is present: when to call, the mandatory duplicate check, failure behavior, attribution and audit effects, and the returned identifier format. Nothing material is left to inference.

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 sku, unit and description are already documented, including the case-insensitivity note. The description adds only that sku is the lookup key for the duplicate check; it says nothing about unit or description semantics beyond the schema, so this is the baseline 3.

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 ("adds a product") and immediately defines the resource as an item of the organization's catalogue as its ERP knows it, which disambiguates it from generic item creation. It also names the nearby siblings it is not (add_product_supplier_reference, update_product, list_products), so an agent can route correctly without opening other schemas.

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?

Gives an explicit precondition ("Use it only when the user asks to add a product (or to sync one from their ERP)") plus a required pre-step (look it up with list_products, exact SKU) and a stated exclusion (only for organizations that keep a product catalogue). It also routes the adjacent intents: supplier naming to add_product_supplier_reference, modification to update_product, deletion to Trackberry.

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