Skip to main content
Glama

Edit a product

update_product
DestructiveIdempotent

Change a product or service. Changes the owner's account.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
unitNo
priceNo
item_idYesThe item id.
brand_idNoOptional business id from list_brands (default: this connection's business).
categoryNo
currencyNo
image_urlNo
is_activeNo
price_kindNo
descriptionNo
price_minorNo
price_max_minorNo
expected_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.9/5.0
Behavior2/5

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

The annotations already state destructiveHint=true, idempotentHint=true, and readOnlyHint=false, but the description adds almost no behavioral context and omits what destruction these changes cause, whether this is a partial patch, and why expected_revision exists. The phrase "Changes the owner's account" is genuinely ambiguous: it suggests account-level side effects that nothing else supports, so the agent is left with an unclear, possibly misleading signal.

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

Conciseness3/5

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

The definition is only two sentences and is front-loaded, so it is short and quick to read, but the second sentence is vague and adds no actionable meaning. Being brief here reflects under-specification rather than discipline.

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

Completeness1/5

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

This is a destructive, idempotent mutation over 14 parameters with 14% coverage, no output schema, and no description of partial-update semantics, revision requirements, or side effects. Nothing an agent needs in order to call this safely is present.

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

Parameters1/5

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

There are 14 parameters with only 14% schema description coverage, so the schema documents barely item_id and brand_id. The description cannot offset that gap because it names no field, does not explain that all fields are nullable or partial-update, and does not explain expected_revision concurrency or the price/price_minor/price_kind relationship.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Change a product or service" essentially restates the name and title (update_product / "Edit a product") and adds no specifics about what can be changed. The only extra information, "or service", broadens the scope without clarifying it, and siblings such as add_product, delete_product, and update_offer are not addressed.

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 guidance says when to call this tool instead of add_product, delete_product, or update_offer, and no prerequisites are stated. Usage is only implied by the verb "change", and an agent must infer the rest.

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