Skip to main content
Glama

localization_manage

Manage Godot localization CSV workflows: scaffold translation files, add or update entries, switch locales, test translations, and extract tr() strings from project files.

Instructions

Godot TranslationServer Localization and CSV Translation Workflows.

Ops:

  • scaffold_csv(path="res://localization.csv", languages=["en", "es", "fr", "de", "ja", "zh"]) Generate a starter localization CSV file and register it in ProjectSettings.

  • add_entry(path="res://localization.csv", key="ui_start", translations={"en": "Start", "es": "Iniciar"}) Add or update a translation string row in the project's localization CSV.

  • get_locales() Query loaded locales, active locale, and translation settings from TranslationServer.

  • set_locale(locale="es") Switch the active test locale in TranslationServer.

  • translate(message="ui_start", context="") Test and evaluate translation string resolution via TranslationServer.

  • extract_strings(root_dir="res://") Scan project GDScript and scene files for tr() message lookup occurrences.

Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opYes
paramsNo
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.0.28

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries full responsibility for behavioral disclosure. It does state what each operation does (e.g., generates a CSV, adds a row, queries locales) and mentions the canonical call shape and a compatibility alias, which is useful. However, it omits side effects like file system changes, reversibility, prerequisites (e.g., whether a project must be open), or error behavior, so transparency is only partial.

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?

The description is long but well-structured: it starts with the overall purpose, then breaks down each operation into bullets with signatures and examples. It front-loads the key information and avoids redundancy. While it could be shortened by removing examples, they add value for agent comprehension, so a 4 is appropriate.

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?

Given the tool's complexity (multiple operations) and a minimal schema (only op and params), the description provides all necessary details to invoke each operation correctly. It covers each op's parameters, defaults, and the overall call shape. Since an output schema exists, the description is not required to explain return values, so the tool is effectively complete for an agent to use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully compensate. It does so by listing every operation's parameters with types and defaults (e.g., path, languages, key, translations, locale, message, context, root_dir) and even shows example calls. This goes well beyond the bare schema and leaves no ambiguity about parameter meaning.

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 tool as managing Godot TranslationServer localization and CSV translation workflows, then enumerates six distinct operations (scaffold_csv, add_entry, get_locales, set_locale, translate, extract_strings) each with a specific verb and resource. An agent can immediately understand what the tool does and differentiate between its operations 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 Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention any sibling tools, nor does it state conditions for when this tool should be preferred or avoided. The usage context is implied by the operations themselves but not explicitly compared against other management tools.

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

Deploy Server

Other Tools