Skip to main content
Glama

Set a brand translation

upsert_brand_translation
DestructiveIdempotent

Set a brand's DESCRIPTION in ONE language, leaving every other language as it is; null or an empty description removes that language. Translate the text yourself — Obriym does not translate for MCP clients. Never translate a brand NAME: marketplaces match it verbatim. Call list_content_locales first; the workspace's base language is refused (use update_brand for it). update_brand's translations field REPLACES the whole set, so use this tool to change a single language. Idempotent. Returns a warning when the CRM does not show that language yet. Echoes the 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": {
      "brandId": "<brandId>",
      "description": "<description>",
      "locale": "<locale>"
    },
    "name": "upsert_brand_translation"
  }
}

Input Schema

NameRequiredDescriptionDefault
localeYesThe language to write, as an ISO 639-1 code. Call list_content_locales for the codes this workspace uses; never the workspace's base language.
brandIdYesThe brand id returned by list_brands.
descriptionYesThe brand description in this language. null or an empty string clears that language. The brand NAME is never translated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / 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"
      +]
  2. Added

TDQS

A4.7/5.0
Behavior4/5

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

Beyond the annotations it discloses the destructive path (null/empty erases that language), a required agent behavior (translate the text yourself, never translate the name), and the warning returned when the CRM lacks that language. It slightly restates the annotation by saying 'Idempotent', and says nothing about permissions or rate limits, so it falls just short of full marks.

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?

Front-loaded with the core action and scope, then each following clause handles one concern (clearing, self-translation, name protection, prerequisite, alternative tool, return behavior). No filler sentences and no repetition.

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?

For a destructive, idempotent three-parameter write with no output schema, the description covers the prerequisite call, the excluded base language, the clearing behavior, and the warning/echo return signals. Nothing an agent needs before invoking it is missing.

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 the baseline is 3, but the description adds real meaning: the `description` argument is the brand's public description text (not the name), and the null/empty clearing semantics are reinforced in prose. It does not add encoding or length guidance beyond what the schema already carries.

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 ('Set a brand's DESCRIPTION') and immediately scopes it to ONE language, which distinguishes it from update_brand and from the catalog-translation tools. The capitalized 'DESCRIPTION'/'NAME' contrast further pins down exactly which field is written.

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

Usage Guidelines5/5

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

Explicit when-to-use and when-not-to-use guidance: call list_content_locales first, the base language is refused and belongs to update_brand, and update_brand's translations field replaces the whole set so this tool exists for single-language edits. Alternative routing is spelled out rather than left to inference.

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