Skip to main content
Glama

Get Missing Translations

get_missing_translations

Find translation keys present in the reference locale but absent in other locales. Scan a specific layer or all layers.

Instructions

Find translation keys that exist in the reference locale but are missing in other locales. Scans a specific layer or all layers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layerNoLayer name to scan (e.g., "root", "app-admin"). If omitted, scans all layers. Call discover to discover available layers.
referenceLocaleNoLocale code used as the source of truth (e.g., "en", "en-US"). Defaults to the project default locale.
targetLocalesNoLocale codes to check for missing keys (e.g., ["de", "fr", "es"]). Defaults to all locales except the reference.
projectDirNoAbsolute path to the Nuxt project root. Defaults to server cwd. Example: "/home/user/my-app".
outputFileNoAbsolute path to write full JSON output. Returns only a compact summary to the caller — use this for large outputs to avoid flooding the conversation context. Example: "/tmp/missing-translations.json"
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses that output can be large and offers an outputFile parameter to avoid flooding conversation context. It explains that only a compact summary is returned unless outputFile is used. This adds behavioral context beyond the schema.

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: the first clearly states the core purpose, and the second adds the optional layer-scope detail. No fluff, every sentence provides essential information.

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?

Despite no output schema, the description explains the return format (compact summary vs. full file output). All 5 parameters are documented. The tool's behavior is fully explained given its complexity.

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?

Schema coverage is 100%, baseline is 3. Description adds value by explaining layer: 'Call discover to discover available layers,' and for outputFile: 'use this for large outputs to avoid flooding the conversation context.' It also explains defaults for targetLocales and referenceLocale.

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?

Clearly states the tool finds translation keys missing in other locales relative to a reference locale, and specifies that it can scan a specific layer or all layers. This distinguishes it from sibling tools like 'find_orphan_keys' or 'translate_missing'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description explains what the tool does but does not explicitly state when to use it versus alternatives, nor does it provide exclusions or prerequisites. The usage context is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fabkho/the-i18n-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server