Skip to main content
Glama

Update phrase translation

update_phrase
DestructiveIdempotent

Update the translation value for a specific phrase key and language in a MultiLocale project. Phrases may be shared across projects — updating affects all projects that share the key. Clears machine-translation flags since the value is now human-edited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesExact phrase key to update
valueYesNew translation value for the given language
projectYesProject name (slug) the phrase belongs to
languageYesLanguage code of the translation to update (e.g. en, it, es)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
valueYes
statusYes
projectYes
languageYes
previousValueYes
sharedProjectsYes

TDQS

A4.5/5.0
Behavior5/5

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

The annotations already flag destructive behavior and idempotency, but the description adds meaningful behavioral detail: updates propagate across all projects sharing the key, and machine-translation flags are cleared because the value becomes human-edited. This is valuable context beyond the annotations and helps an agent anticipate side effects.

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?

Three sentences, each earning its place: the first states the core operation, the second warns of cross-project side effects, and the third explains flag clearing. The most important action is front-loaded, and there is no redundant or promotional wording.

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 moderately simple 4-parameter update tool with a full output schema and clear annotations, the description covers the operation, shared-key side effects, and flag behavior. Nothing an agent needs to invoke it correctly is missing.

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 all four parameters are already documented structurally. The description adds little new parameter-level meaning beyond reinforcing that key and language identify the specific translation and that value is the new human-edited string. This matches the baseline for fully schema-covered parameters.

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 description names the exact action ('update the translation value'), the target resource ('phrase key and language'), and the container ('MultiLocale project'). It also distinguishes itself clearly from sibling tools like add_phrase, delete_phrase, and update_project by stating precisely which object and attribute it modifies.

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?

The description provides clear context: this is for updating an existing translation identified by key and language within a project. It does not explicitly mention alternatives or exclusion conditions, such as 'use add_phrase for new keys' or 'use delete_phrase to remove', so it stops short of the top score but still gives enough situational clarity.

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.

TDQS

A3.9/5.0
Disambiguation4/5

The tool set separates resources (project, phrase, locale, team member) with clear action prefixes. Some read tools overlap: get_project vs show_project_overview, and list_phrases vs search_phrases, but descriptions clarify exact scope and parameters. No two tools appear to perform the same operation.

Naming Consistency5/5

All 17 tools follow a consistent lowercase_snake_case verb_noun pattern, e.g. add_project, list_phrases, update_phrase, export_locale_dictionary. There are no mixed conventions, vague verbs, or inconsistent abbreviation styles. This is exemplary.

Tool Count3/5

At 17 tools, the set is on the heavy side for a localization server and above the typical 3-15 well-scoped range. While each tool has a distinct purpose, show_project_overview and the find_* diagnostics add surface area and could be trimmed without losing core functionality. Still, the count is not excessive for the broad domain.

Completeness3/5

Phrases have full CRUD plus search/share, and projects have create/read/update/list, but delete_project is absent, leaving an obvious lifecycle gap. Team member operations are list-only, and locale removal is only possible indirectly via update_project. Core translation workflows work, but these gaps will block some common tasks.

Resources