Skip to main content
Glama

Update brand

update_brand
Destructive

Update fields on an existing catalog brand by id: name, slug, description, website and description translations. Provide a patch with at least one field; use list_brands first to find the id and current values. Renaming a brand changes the vendor name sent to marketplaces, so rename only on the user's explicit request; the name is never translated. Translations REPLACE the whole set when sent (an empty array removes them all) and are left untouched when omitted — translate only the brand's own description, add no facts. The result is the updated brand and echoes the operating workspace.

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": {
      "id": "<id>",
      "patch": "<patch>"
    },
    "name": "update_brand"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe brand id returned by list_brands.
patchYesThe brand fields to update; include at least one changed field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / patch / properties / translations / items / properties / locale / enum
      Previous value: -[
      -  "uk",
      -  "ru",
      -  "en",
      -  "pl",
      -  "de",
      -  "it",
      -  "fr",
      -  "es",
      -  "pt",
      -  "nl",
      -  "cs",
      -  "sk",
      -  "hu",
      -  "ro",
      -  "bg",
      -  "lt",
      -  "lv",
      -  "et",
      -  "tr"
      -]New value: +[
      +  "uk",
      +  "ru",
      +  "en",
      +  "pl",
      +  "de",
      +  "it",
      +  "fr",
      +  "es",
      +  "pt",
      +  "nl",
      +  "cs",
      +  "sk",
      +  "hu",
      +  "ro",
      +  "bg",
      +  "lt",
      +  "lv",
      +  "et",
      +  "tr",
      +  "sv"
      +]
    • changedInput schema / properties / patch / properties / translations / maxItems
      Previous value: -19New value: +20
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses the destructive replace semantics of translations (an empty array wipes them all, omission leaves them untouched) and the downstream consequence of renaming on the vendor name sent to marketplaces. It also states what the call returns and that the operating workspace is echoed, so the agent knows the blast radius before mutating.

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?

Front-loaded with the action and field list, then rules and caveats in descending priority; every sentence carries a constraint. A few clauses (the repeated 'name is never translated') duplicate the schema and could be trimmed.

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?

Covers the nested patch object, the translations replacement hazard, the id sourcing, and the return shape, which is enough for a two-parameter mutation tool with no output schema.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description adds real meaning by stressing the minimum-one-field patch rule, the rename risk, the never-translate-the-name constraint, and the instruction to translate only the brand's own description without adding facts. Some of this restates existing schema text, so it sits just above baseline.

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 ('Update fields on an existing catalog brand by id') and enumerates the mutable fields (name, slug, description, website, translations), which lets an agent separate it from create_brand and upsert_brand_translation without opening the schema.

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

Usage Guidelines4/5

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

Gives an explicit precondition ('provide a patch with at least one field'), a discovery step ('use list_brands first to find the id and current values'), and a conditional caution for renaming only on explicit user request. It stops short of naming a sibling alternative for editing a single locale's translation, but the usage context is otherwise clear.

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