Skip to main content
Glama

Update product

update_product
DestructiveIdempotent

Change the current catalog details of a Replo-managed product. Null values clear nullable fields.

Input Schema

NameRequiredDescriptionDefault
slugNo
titleNo
statusNo
productIdYes
descriptionNo
externalCheckoutUrlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / productId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=true, idempotentHint=true), and the description adds real value beyond that: 'Null values clear nullable fields' discloses PATCH-style null semantics that the schema alone does not convey. It stops short of naming which fields are nullable (title and status are not) or noting that omitted fields are left untouched.

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?

Two tight sentences with the action front-loaded and the null rule immediately after. Nothing is redundant and no filler is present.

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 destructive, 6-parameter mutation with no output schema and zero schema descriptions, the definition is too thin: it omits the status enum meaning, how partial updates behave for omitted non-nullable fields, and what the response looks like. It provides sufficient coverage only on the null-clearing rule.

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

Parameters2/5

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

Schema description coverage is 0% across 6 parameters, so the description carries the full burden and largely fails: it never mentions productId (required), the status enum (active/archived/draft), slug uniqueness/format, or length limits. The single null-clearing sentence applies generically without indicating which of the nullable fields it affects.

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 and resource: 'Change the current catalog details of a Replo-managed product.' The word 'catalog' implicitly separates it from set_product_inventory, but it never names a sibling or the read/create counterparts (get_product, create_product) explicitly.

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?

No when-to-use guidance, no prerequisites (e.g. auth/ownership of the product), and no routing guidance versus update-family or inventory siblings. The only second sentence concerns null handling, which is behavioral rather than usage-directed.

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