Skip to main content
Glama

Translation files: register and check

godot_translations
Idempotent

List, add, remove, and check Godot translation files, surfacing missing or unused keys and empty locale cells so you can keep CSV and PO localization complete.

Instructions

op list: the translation files the project has registered, and CSV or PO files that are in the project but not registered. op add / remove: a file in internationalization/locale/translations. op check: for a CSV translation file, the keys the code uses with tr("KEY") (and key-like texts in scenes) that are missing from it, keys in it that nothing uses, and locales with empty cells. Dry run by default for add and remove; write: true writes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "op": "<op>"
    },
    "name": "godot_translations"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYeswhat to do
fileNoadd, remove, check: the translation file (res:// path)
pathNoproject folder, or a file or folder inside it (relative to the server's folder; default: the current project)
writeNoadd or remove: write the change (default false: show it)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, so the safety profile is partly covered. The description adds genuinely valuable behavior beyond that: add/remove are non-mutating by default (dry run) and mutate only when write: true, which is not derivable from the annotations. It still says nothing about whether remove deletes the file from disk, what happens to project references, or what the write response looks like.

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 text is organized op-by-op, front-loaded, and contains no filler sentences. The telegraphic style is dense but each sentence maps to a distinct op or behavior, so nothing is wasted.

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?

For a four-op tool with no output schema, the description compensates by spelling out what check returns (missing, unused, and empty-cell keys) and how list partitions files. The remaining gap is the response shape for add/remove and whether the path parameter's default resolves as described, but overall it is sufficient to call the tool correctly.

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 coverage is 100%, so all four parameters are already documented in the input schema. The description clarifies the default/semantics of write (dry run unless true) and that file accepts CSV or PO translation files, but adds only marginal meaning beyond what the schema states, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description enumerates all four ops with their specific resources: 'list' returns registered translation files plus unregistered CSV/PO files, 'add'/'remove' act on a file under internationalization/locale/translations, and 'check' reports missing/unused tr("KEY") keys and empty locale cells. This is far more specific than the title. It stops short of explicitly routing the agent away from similarly named siblings like godot_check or godot_fix.

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?

Each op is given a clear purpose, so an agent knows which op to select for a given goal (audit keys vs. register a file). The description also states that add/remove default to a dry run and only commit with write: true, which is a real usage constraint. It offers no explicit when-not-to-use guidance or named alternative tools.

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