Skip to main content
Glama

Export all game texts

export_texts

Export all translatable game text to a CSV or JSON file with key, context, original and translation columns, preserving existing translations on re-export so localization work is never lost.

Instructions

Export every translatable text of the project to a CSV or JSON file inside the project (default localization/texts.csv) with columns key, context, original, translation. Covers database names/descriptions/messages, System terms and type names, the game title, map display names, and event text (dialogue boxes as one row each with lines joined by newlines, choices, scrolling text, actor name/nickname/profile commands) in maps, common events and troop battle events. If the file already exists its translations are carried over by key, so re-exporting after changes never loses work. Fill in the translation column (leave empty to keep the original), then use import_texts. See the rpgmaker-localization skill for rules about control codes and message length.

Input Schema

NameRequiredDescriptionDefault
fileNoOutput path relative to the project folder (default localization/texts.<format>)
scopeNoLimit to some categories (default: all)
formatNocsv

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that the file is written inside the project, the default path, and crucially that existing translations are carried over by key so re-exporting never loses work. It omits whether a re-export overwrites unrelated edits to the file's other columns or clears empty translations, which would complete the mutation story.

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?

One dense paragraph that front-loads the verb, output format, and default path before the detail. It is long, but nearly every clause carries actionable information (carry-over behavior, column list, import follow-up); only the event-text enumeration is slightly sprawling.

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 3-param, no-output-schema export tool, the description covers effects, defaults, idempotency, and the follow-up tool. The one gap is that it never describes what the call itself returns (row count, file path confirmation, warnings), which is the kind of detail the missing output schema would otherwise supply.

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 67%; the description adds meaning by tying format to the resulting extension (default localization/texts.csv, CSV or JSON), naming the categories that correspond to the scope array, and explaining that the translation column may be left empty. It does not explain how the scope enum values map one-to-one to the listed content categories, but the coverage and defaults make calling it straightforward.

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?

States a specific verb (export) and resource (every translatable text of the project), then enumerates exactly which content categories are covered (database names/descriptions/messages, System terms, type names, game title, map display names, event text). This is clearly distinguishable from the sibling import_texts, which is named as a separate step.

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?

Explains the workflow explicitly: export, fill in the translation column (leave empty to keep the original), then use import_texts. It also points to the rpgmaker-localization skill for control-code and message-length rules. It does not state any when-not-to-use condition, but the sequencing against import_texts is clear.

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