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. Before creating, changing or showing Replo products on a page, call skills with name "replo-products".

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": {
      "productId": "<productId>"
    },
    "name": "update_product"
  }
}

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

A3.6/5.0
Behavior4/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 contributes beyond them by disclosing that null input actively clears nullable fields – a concrete destructive behavior an agent must know before passing nulls – plus the scope limit of 'Replo-managed' products. It does not say whether omitted fields are preserved or what side effects status changes have.

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?

Three short sentences with no filler, and the core operation is front-loaded ahead of the null-clearing rule and the skills prerequisite. The final sentence is slightly convoluted in phrasing but earns its place as a hard dependency.

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

Completeness3/5

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

For a destructive mutation with zero schema description coverage and no output schema, the definition covers the most dangerous edge case (null-clearing) and a required prerequisite call. It still omits permissions required, whether the update is partial or full replacement, and any description of the updatable fields' meaning.

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 0% across six parameters, so the description must compensate. 'Null values clear nullable fields' is genuinely additive semantics for the three nullable properties (slug, description, externalCheckoutUrl), but title, status, and productId receive no explanation beyond the schema's own types and enum.

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 ('Change') and a scoped resource ('current catalog details of a Replo-managed product'), which clearly separates it from create_product, named implicitly later in the text. It stops short of naming other update_* siblings, but the resource is unambiguous.

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?

It adds a real prerequisite ('Before creating, changing or showing Replo products on a page, call skills with name "replo-products"'), which tells the agent an ordering constraint. It never states when to prefer this over create_product or get_product, or that it only applies to existing products, so the when/when-not routing is only implied.

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