Skip to main content
Glama

Add locale with missing translations

add_locale
Destructive

Add a new locale to a project and generate translations for every key currently missing in that locale. Uses the default-locale value as the source for each translation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoTranslation model to use. Defaults to gpt-5.6-luna.
localeYesNew locale code to add (for example, it)
contextNoOptional context applied while translating the missing phrases.
projectYesProject name (slug) to localize

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeYes
statusYes
localesYes
projectYes
translationCountYes

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate a destructive, non-read-only operation, and the description adds meaningful behavioral context: it generates translations for missing keys and uses the default-locale value as the translation source. This reveals side effects beyond the raw annotation flags without contradicting them.

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?

Two tight sentences communicate the core action, the scope ('every key currently missing'), and the source behavior. There is no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description, combined with full schema coverage, annotations, and an output schema, is nearly complete. A brief note about prerequisites (e.g., the project must have a default locale) would make it fully comprehensive, but no essential calling behavior 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?

The input schema covers all four parameters with descriptions, so the baseline is 3. The description adds general context about translation sourcing but does not add per-parameter semantic detail beyond what the schema already 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 description clearly identifies the verb ('Add') and specific resource ('a new locale'), then expands on what the operation does: generate translations for all currently missing keys using the default-locale value as source. This distinguishes add_locale from siblings like add_project, add_phrase, and even find_missing_translations.

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 makes the use context clear: add a locale and fill in missing translations. It does not explicitly name alternatives or state when not to use it, but the context is unambiguous enough for an agent to select it appropriately.

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