Skip to main content
Glama

TCS-i

Create or change a product

save_product
DestructiveIdempotent

Create a product, or update it with the fields sent: size, weight, packing tags (PUT /v1/products/{sku}). Free. is_flexible: soft goods that fold and squeeze; bag_allowed: may ship in a bag or mailer.

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": "save_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuYes
nameNo
brandNo
widthNo
heightNo
lengthNo
weightNoOne unit's weight, in weight_unit
is_fragileNo
bag_allowedNo
is_flexibleNo
weight_unitNo
own_containerNo
dimension_unitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false; the description adds that the call is free and that PUT semantics apply, but never spells out the destructive consequence an agent most needs — whether fields omitted from the payload are cleared or left untouched. Given the annotation bar is lower, this is adequate but thin.

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?

Two compact sentences with the create/update behavior and endpoint front-loaded, then glossary-style clarifications. Some wording ('packing tags') is imprecise relative to the schema, but there is no filler.

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 13-parameter, destructive upsert with no output schema and near-zero schema descriptions, the definition should explain overwrite/replace semantics and the units (weight_unit, dimension_unit). Those gaps matter for correct invocation and are not covered anywhere else.

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 only 8% across 13 parameters, so the description carries most of the burden. It usefully disambiguates is_flexible ('soft goods that fold and squeeze') and bag_allowed ('may ship in a bag or mailer'), but leaves name, brand, is_fragile, own_container and unit handling unexplained, and its phrase 'size' and 'packing tags' do not map cleanly onto width/height/length fields.

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 pair and resource ('Create a product, or update it with the fields sent') plus the underlying endpoint PUT /v1/products/{sku}, which makes the upsert-on-sku behavior clear. It is distinguishable from list_products and archive_product by name and semantics, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

'Create a product, or update it' implies the create-vs-update decision hinges on sku existence, which is genuinely useful context. However there is no explicit when-to-use/when-not guidance, no pointer to archive_product for removal, and no prerequisite statement beyond 'Free'.

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