Skip to main content
Glama

Update translation draft

translationDraft_update

Upsert one or more translation entries across one or more languages in a single atomic mutation. Pass a one-item array for a single-key edit. Pre-validates every entry against the source manifest — a single bad key/value rolls back the whole batch.

The language row is auto-created on first write — no separate "add language" call needed, so this is how you translate into a language the form does not have yet. Works from any page.

Writes land as suggestions in the per-language draft: the author reviews them on the translations page (accept/decline) and then publishes. Respondents keep seeing the existing published translations throughout. Do not change the form's source language or edit form content as a substitute for translating.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formIdYes
entriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With annotations only covering safety flags (non-readonly, non-destructive, closed-world), the description carries the real behavioral load: writes are staged as suggestions the author must accept/decline before publish, respondents keep seeing the published version, the language row is auto-created, and a single bad entry rolls back the whole batch.

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 operation and its atomicity guarantee, then the suggestion/publish consequence, then a guardrail. Dense and mostly economical, though the bolding and three-paragraph layout is slightly heavier than needed.

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?

A complex batch mutation with no output schema, no annotations beyond safety flags, and a nested array parameter — the description covers atomicity, validation/rollback, side effects, staging model, and auto-creation of languages, which is everything an agent needs to invoke it correctly.

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?

Top-level schema coverage is reported as 0%, so the description must compensate: it explains that entries is a batch of key/language/value objects, that a one-item array performs a single-key edit, and that upsert semantics apply (new keys/languages allowed). It does not explain formId or the sourceHash staleness workflow, which the nested schema documents instead.

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 ("Upsert one or more translation entries across one or more languages in a single atomic mutation") and clarifies it covers both single-key edits and bulk language writes. Clearly separable from translationDraft_get and translationDraft_publish 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 Guidelines5/5

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

Explicit when-to-use guidance: "this is how you translate into a language the form does not have yet", "Works from any page", "Pass a one-item array for a single-key edit". It also states an exclusion ("Do not change the form's source language or edit form content as a substitute for translating"), leaving little 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.