Skip to main content
Glama

Set a category translation

upsert_category_translation
DestructiveIdempotent

Set a category's name and/or description in ONE language, leaving every other language as it is. Translate the text yourself — Obriym does not translate for MCP clients. Call list_content_locales first; the workspace's base language is refused (use update_category for it). A language needs a translated name before it can hold a description; description null clears it. Idempotent: repeating the same call changes nothing. update_category's translations field REPLACES the whole set, so use this tool to change a single language. 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": {
      "categoryId": "<categoryId>",
      "locale": "<locale>"
    },
    "name": "upsert_category_translation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe category name in this language. Required the first time a language is written.
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.
categoryIdYesThe category id returned by list_categories.
descriptionNoThe category description in this language. null or an empty string clears it. Cannot be stored for a language that has no translated name.

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.6/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and destructiveHint=true, and the description adds substantial context beyond them: Obriym does not translate for MCP clients, the base language is rejected, description null clears the value, a warning is returned when the CRM does not display the language, and the workspace is echoed. Nothing contradicts the annotations.

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?

The definition is front-loaded and dense with actionable constraints, with no filler. It loses a point only because the idempotency sentence largely restates the idempotentHint annotation rather than adding new behavior.

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 four-parameter mutation tool with no output schema, the definition covers prerequisites, language restrictions, name-before-description ordering, null-clearing semantics, sibling-tool routing, and return-side signals (warning, workspace echo). An agent has enough to invoke it correctly without further context.

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 100%, so the schema already documents name requirements, the locale enum and base-language restriction, categoryId provenance, and null-clearing for description. The description reinforces those meanings but adds little new parameter-level detail beyond what the schema provides.

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?

The first sentence states a precise verb and resource: set a category's name and/or description in one language without touching other languages. It explicitly distinguishes itself from update_category, whose translations field replaces the whole set, so an agent can pick the right tool without opening schemas.

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?

Gives explicit prerequisites (call list_content_locales first), an exclusion (the workspace's base language is refused; use update_category instead), and the key selection rule versus update_category. It also states the ordering constraint that a name must exist before a description can be stored.

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