Skip to main content
Glama

Update form translation

update_form_translation
Destructive

Save translated copy for one language version of a form. Pass the translated title / description / fields / report / systemText / booking / feedback, mirroring the shape returned by get_form_translation; fields you omit keep their current value and partial translation is allowed. Translation fields[] must not introduce codes that do not exist on the source form. Pass isActive=false to pause just this language version, independently of the form's overall isActive.

Input Schema

NameRequiredDescriptionDefault
titleNoTranslated form title. Plain text.
fieldsNoTranslated questions mirroring the source structure: same codes, translated text. The current draft comes from get_form_translation (or the clone create_form_translation returns) — edit the text in place and send it back. Merging is by code, not position, so a partial list is fine and omitted questions stay untranslated.
formIdYesThe source form UUID
reportNoTranslated report display text, mirroring the stored report that get_form_translation returns — the nested overallAnalysis / dimensionAnalysis / outcomeAnalysis shape, NOT the flattened `report` input of create_form / update_form. Scores, formulas, thresholds and codes always come from the source; only the text keys below are applied. An ai_quiz report needs no translation: the AI writes it in the respondent's language from the source report.aiReport.
bookingNoTranslated copy for the result-page booking block (the block that offers a call). Whether the block shows at all always comes from the source form — this only translates its wording. Omit a key or send it empty to keep falling back to the source text.
feedbackNoTranslated copy for the result-page feedback block. Whether it shows and its answer type always come from the source form — this only translates its wording. Replaced WHOLESALE on every save: pass every key you want translated; omitted or empty keys fall back to the source text. Read the source text and choice codes from feedbackSource in get_form_translation / create_form_translation.
isActiveNoEnable/pause this language version (independent of the form's overall isActive).
languageYesWhich language version to update
systemTextNoTranslated answer-page system copy, as an open key→text map (e.g. { "submitButton": "Absenden", "nextPage": "Weiter" }). Keys are the answer-page copy keys — read the ones already set from get_form_translation, and note that keys the answer page does not know are stored but never rendered. Every key is optional; an empty value falls back to the built-in text for this language.
descriptionNoTranslated form description. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not "- item", <h2> not "## heading".

Output Schema

NameRequiredDescriptionDefault
formIdNoThe source form
updatedNoWhich parts of the translation this call changed
languageNoLanguage that was saved

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / report / properties / cta
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Default CTA (shown for results without a CTA of their own): only the button text is translated.",
      +  "properties": {
      +    "text": {
      +      "description": "Translated default CTA button text.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed4 schema fields changed
    • changedInput schema / properties / report / properties / dimensionAnalysis / properties / dimensions / items / properties / levels / items / properties / description / description
      Previous value: -"Translated level description."New value: +"Translated level description. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • changedInput schema / properties / report / properties / overallAnalysis / properties / levels / items / properties / description / description
      Previous value: -"Translated level description."New value: +"Translated level description. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • removedInput schema / properties / report / properties / overallAnalysis / properties / suggestionsTemplate
      Removed value: -{
      -  "description": "Translated suggestions template (keep the placeholders intact). Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\".",
      -  "type": "string"
      -}
    • changedInput schema / properties / title / description
      Previous value: -"Translated form title"New value: +"Translated form title. Plain text."
  3. Changed9 schema fields changed
    • changedInput schema / properties / booking / properties / description / description
      Previous value: -"Translated booking block description. Plain text or HTML (<p>, <strong>, <em>, <u>, <s>, <a href>, <ul>/<ol>/<li>); no images or video; at most 500 visible characters."New value: +"Translated booking block description. Plain text or HTML (<p>, <strong>, <em>, <u>, <s>, <a href>, <ul>/<ol>/<li>), never Markdown; no images or video; at most 500 visible characters."
    • changedInput schema / properties / description / description
      Previous value: -"Translated form description"New value: +"Translated form description. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • changedInput schema / properties / feedback / properties / description / description
      Previous value: -"Translated block description. Plain text or HTML (<p>, <strong>, <em>, <u>, <s>, <a href>, <ul>/<ol>/<li>); no images or video; at most 500 visible characters."New value: +"Translated block description. Plain text or HTML (<p>, <strong>, <em>, <u>, <s>, <a href>, <ul>/<ol>/<li>), never Markdown; no images or video; at most 500 visible characters."
    • changedInput schema / properties / fields / items / properties / content / description
      Previous value: -"Statement-style blocks: translated body text."New value: +"Statement-style blocks: translated body text. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • changedInput schema / properties / fields / items / properties / description / description
      Previous value: -"Translated question note."New value: +"Translated question note. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • changedInput schema / properties / fields / items / properties / explain / description
      Previous value: -"Knowledge quiz: translated answer explanation shown in the answer review."New value: +"Knowledge quiz: translated answer explanation shown in the answer review. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • changedInput schema / properties / report / properties / outcomeAnalysis / properties / outcomes / items / properties / description / description
      Previous value: -"Translated outcome result-page content."New value: +"Translated outcome result-page content. Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • changedInput schema / properties / report / properties / overallAnalysis / properties / suggestionsTemplate / description
      Previous value: -"Translated suggestions template (keep the placeholders intact)."New value: +"Translated suggestions template (keep the placeholders intact). Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
    • changedInput schema / properties / report / properties / overallAnalysis / properties / summaryTemplate / description
      Previous value: -"Translated summary template (keep the placeholders intact)."New value: +"Translated summary template (keep the placeholders intact). Write HTML, never Markdown: <strong>bold</strong> not **bold**, <ul><li> not \"- item\", <h2> not \"## heading\"."
  4. Changed1 schema field changed
    • changedInput schema / properties / report / description
      Previous value: -"Translated report display text, mirroring the stored report that get_form_translation returns — the nested overallAnalysis / dimensionAnalysis / outcomeAnalysis shape, NOT the flattened `report` input of create_form / update_form. Scores, formulas, thresholds and codes always come from the source; only the text keys below are applied."New value: +"Translated report display text, mirroring the stored report that get_form_translation returns — the nested overallAnalysis / dimensionAnalysis / outcomeAnalysis shape, NOT the flattened `report` input of create_form / update_form. Scores, formulas, thresholds and codes always come from the source; only the text keys below are applied. An ai_quiz report needs no translation: the AI writes it in the respondent's language from the source report.aiReport."
  5. Changed8 schema fields changed
    • changedInput schema / properties / booking / properties / description / description
      Previous value: -"Translated booking block description."New value: +"Translated booking block description. Plain text or HTML (<p>, <strong>, <em>, <u>, <s>, <a href>, <ul>/<ol>/<li>); no images or video; at most 500 visible characters."
    • changedInput schema / properties / booking / properties / description / maxLength
      Previous value: -500New value: +10000
    • changedInput schema / properties / booking / properties / title / description
      Previous value: -"Translated booking block heading."New value: +"Translated booking block heading. Plain text or inline HTML (<strong>, <u>, <s>, <mark>; no italic); at most 100 visible characters."
    • changedInput schema / properties / booking / properties / title / maxLength
      Previous value: -100New value: +2000
    • changedInput schema / properties / feedback / properties / description / description
      Previous value: -"Translated block description."New value: +"Translated block description. Plain text or HTML (<p>, <strong>, <em>, <u>, <s>, <a href>, <ul>/<ol>/<li>); no images or video; at most 500 visible characters."
    • changedInput schema / properties / feedback / properties / description / maxLength
      Previous value: -500New value: +10000
    • changedInput schema / properties / feedback / properties / title / description
      Previous value: -"Translated block heading."New value: +"Translated block heading. Plain text or inline HTML (<strong>, <u>, <s>, <mark>; no italic); at most 100 visible characters."
    • changedInput schema / properties / feedback / properties / title / maxLength
      Previous value: -100New value: +2000
  6. Changed1 schema field changed
    • addedInput schema / properties / feedback
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Translated copy for the result-page feedback block. Whether it shows and its answer type always come from the source form — this only translates its wording. Replaced WHOLESALE on every save: pass every key you want translated; omitted or empty keys fall back to the source text. Read the source text and choice codes from feedbackSource in get_form_translation / create_form_translation.",
      +  "properties": {
      +    "buttonText": {
      +      "description": "Translated submit button label.",
      +      "maxLength": 30,
      +      "type": "string"
      +    },
      +    "choices": {
      +      "description": "Choice answer type only: translated option labels matched by the source choice code; a choice you leave out keeps the source label.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "description": "Source choice code (from feedbackSource.choices)",
      +            "type": "string"
      +          },
      +          "label": {
      +            "description": "Translated label",
      +            "maxLength": 100,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "label"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "description": {
      +      "description": "Translated block description.",
      +      "maxLength": 500,
      +      "type": "string"
      +    },
      +    "question": {
      +      "description": "Translated feedback question.",
      +      "maxLength": 200,
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "Translated block heading.",
      +      "maxLength": 100,
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  7. Changed3 schema fields changed
    • addedInput schema / properties / fields / items / properties / explain
      Added value: +{
      +  "description": "Knowledge quiz: translated answer explanation shown in the answer review.",
      +  "type": "string"
      +}
    • addedInput schema / properties / report / properties / dimensionAnalysis / properties / dimensions / items / properties / levels / items / properties / cta
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Only the CTA button text is translatable; the link and its settings come from the source.",
      +  "properties": {
      +    "text": {
      +      "description": "Translated CTA button text.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / report / properties / overallAnalysis / properties / levels / items / properties / cta
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "Only the CTA button text is translatable; the link and its settings come from the source.",
      +  "properties": {
      +    "text": {
      +      "description": "Translated CTA button text.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  8. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is known; the description adds genuinely new behavioral rules the annotations cannot carry — merge-by-omission semantics, the code-existence validation on fields[], and that isActive=false pauses only this language version. It doesn't warn about wholesale replacement of the feedback block or other overwrite hazards, which would have earned a 5 for a destructive tool.

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 front-loaded sentences with no filler; the merge rule comes before the validation caveat and the isActive note last. The slash-separated parameter list in sentence two is a bit cramped but earns its space by orienting the agent across 10 parameters.

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?

With a rich schema, full annotations, and an output schema, most of the burden is already carried elsewhere, and the description covers the important merge/validation semantics. The notable gap is lifecycle: nothing says whether the language version must pre-exist or how this interacts with create_form_translation, which an agent needs before a destructive save.

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 nested property docs already explain fields, report, booking, feedback and systemText in detail. The description's parameter value is the top-level mental model — same-shape-as-get_form_translation plus the omit-to-keep rule — which the schema repeats in several places rather than adds to. Baseline 3 is appropriate when the schema does this much of the work.

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?

The description opens with a specific verb+resource+scope: "Save translated copy for one language version of a form," which separates it cleanly from update_form (whole form) and from list/get siblings. It stops short of naming create_form_translation or delete_form_translation as the alternatives, so the routing to siblings is implied rather than stated.

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?

It tells the agent the working mode precisely: mirror the shape returned by get_form_translation, edit text in place, omitted fields keep their current value, and partial translation is allowed. What is missing is an explicit when-not — e.g. that a language version must already exist (or be created via create_form_translation) before this tool applies.

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