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 declare destructiveHint=true, and the description adds useful behavioral detail: it only fills keys currently missing and uses the default-locale value as the source. This prevents an agent from assuming existing translations are overwritten. It doesn't enumerate every side effect, but for a creation/generation tool this is reasonably transparent.

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 sentences with no filler; the primary action and the translation-generation behavior are stated first, and the source-locale detail follows in the second sentence. Every sentence earns its place.

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 a complete schema and output schema, provides enough for an agent to select and call the tool. A minor gap is lack of guidance on what happens if the locale already exists, but 'add a new locale' covers the main expectation.

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 baseline is 3. The description adds the meaning of 'default-locale' as source and clarifies 'missing translations', but does not explain model or context parameters beyond what the schema already states.

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 a specific verb ('Add'), a resource ('a new locale to a project'), and a concrete action ('generate translations for every key currently missing'). It clearly distinguishes this from siblings like add_project and 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 intended use case clear: use this tool when adding a new locale and populating it with translations for missing keys. It does not explicitly name alternatives or exclusions, but the scenario is specific enough for an agent to choose correctly.

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
Disambiguation3/5

Most tools have distinct purposes, but several overlap: get_project and show_project_overview both fetch a project by id/name, and list_phrases, search_phrases, and export_locale_dictionary all return phrase collections in similar ways. Descriptions help clarify edge cases, but an agent could plausibly select the wrong tool in several scenarios.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: add_, delete_, get_, list_, search_, find_, update_, export_, share_, show_. Minor differences like get_project vs show_project_overview do not break the overall naming convention.

Tool Count4/5

17 tools is slightly above the ideal range but still reasonable for a localization server covering projects, locales, phrases, translation searches, sharing, and team roster. Each tool represents a real operation, even if a few could be consolidated.

Completeness4/5

The surface covers core project and phrase lifecycles well: create/read/update for projects and phrases, delete for phrases, locale updates, translation generation, search/export, and missing-translation analysis. Minor gaps exist, such as no delete_project, no explicit unshare_phrase operation, and no dedicated remove_locale tool.

Resources