Skip to main content
Glama
transglot MCP server

transglot MCP server

Official
by transglot

Pull (export) a translation file

pull_file
Read-only

Export one locale's translations as a localization file in formats like JSON, XML, PO, or XLSX and return the file content as text for localization workflows.

Instructions

Export one locale's translations as a localization file and return its content as text. Free read. Formats: json_flat, json_nested, android_xml, ios_strings, ios_stringsdict, flutter_arb, laravel_php, laravel_json, xliff_12, ios_xcstrings, gettext_po, yaml, csv, xlsx, xliff_20, java_properties, resx, markdown, unity_csv, unreal_po. Optional min_state exports only values that are human_edited-or-better, or reviewed only. skipped_keys counts entries the chosen format cannot represent (e.g. plural keys in json_flat, simple keys in ios_stringsdict). On a project set to icu message syntax the server also withholds entries whose translation is not valid ICU MessageFormat, and reports how many in omitted_invalid_icu_keys, which is absent when the server did not check. Requires the "pull" ability.

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": {
      "format": "<format>",
      "locale": "<locale>"
    },
    "name": "pull_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesThe file format id.
localeYesA locale configured on the project.
min_stateNoExport only values at or above this workflow state; omit to export everything.

Output Schema

NameRequiredDescriptionDefault
contentYes
filenameYes
skipped_keysYes
omitted_invalid_icu_keysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare readOnly/destructive/openWorld, yet the description still adds substantial behavioral detail: format-specific lossiness reported via skipped_keys, ICU-invalid entries withheld and counted in an omitted_invalid_icu_keys field that is absent when unchecked, and the ability prerequisite. These are exactly the edge behaviors an agent cannot infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the sentences carry real content, but the full list of twenty format ids duplicates the schema enum verbatim and occupies a large share of the text. Removing it would tighten the definition with no loss of information.

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 read-only export with an output schema, the description covers what matters: format lossiness, state filtering, ICU omission semantics, and the permission gate. The only gap is not orienting the agent against alternative retrieval tools in the sibling set.

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 the schema already defines all three parameters and both enums. The description's main contribution is clarifying min_state ('human_edited-or-better, or reviewed only'), which is a modest but real addition beyond the schema's 'at or above' wording; the 20-format enumeration merely restates the enum.

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 and resource ('Export one locale's translations as a localization file') plus the return modality ('return its content as text'). The scope (single locale, one format) clearly separates it from siblings like push_file or get_translation.

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?

It notes 'Free read' and 'Requires the "pull" ability', which gives cost and permission context, but it never says when to use this versus a single-value read like get_translation or when a file export is inappropriate. Usage is implied by the description rather than routed explicitly.

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