Skip to main content
Glama

Get translation result

get_translation
Read-only

Poll a translation job started by translate_files and, once it is "completed", pull back the translated files. While the job is still running, returns its status and progress with no file content — call again until status is "completed". A "completed" response carries each translated file (one per namespace × target language) plus a manifest; a "failed" response carries the failure reason. Optionally filter by target language to bound the payload of a large job.

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": {
      "jobId": "<jobId>"
    },
    "name": "get_translation"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe job id returned by translate_files
targetLanguagesNoOptional target locales to return (defaults to all)

Output Schema

NameRequiredDescriptionDefault
doneYesTrue once the job reached a terminal state — stop polling
errorNoPresent only on a failed / discovery_failed job
filesNoPresent only on a completed job
jobIdYes
statusYes
messageNoHuman-readable next step; absent on a completed job
manifestNoPresent only on a completed job
progressNoUnit counts. Present only while the job is still running
supersededByNoPresent only on a superseded job — the job that replaced it
failureReasonNoPresent only on a failed / discovery_failed job

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description does not need to re-establish safety; instead it contributes genuinely new behavior: the status state machine, that in-progress responses carry no file content, and that a completed response includes one file per namespace × target language plus a manifest. It stops short of guidance on polling cadence/backoff or how long job results remain retrievable.

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 core action and the polling requirement are front-loaded in the first sentence, followed by per-status behavior and the optional filter. Four dense sentences with no filler, though the status enumeration is packed tightly enough that it reads more like a spec block than prose.

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?

An output schema exists, yet the description still gives the agent enough to interpret the three response states and know it must re-poll while running. For a two-parameter, non-destructive read with full schema coverage and an output schema, nothing needed to call it correctly is missing.

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 description coverage is 100%, so the schema already documents both jobId and targetLanguages; the baseline is 3. The description adds only a little meaning beyond that — that targetLanguages exists to bound payload size on a large job — but does not add format or default details beyond what the schema states.

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 opens with a specific verb+resource pair: poll a translation job and retrieve translated files. It explicitly ties the tool to the sibling that creates the job (translate_files), so an agent can distinguish 'start a job' from 'fetch its result' without opening either schema.

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

Usage Guidelines5/5

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

It states the trigger condition (a job started by translate_files), the polling loop ('call again until status is "completed"'), what happens in each state (running, completed, failed), and when to use the optional filter to bound payload size. The when-to-use and when-there-is-nothing-yet-to-retrieve cases are both covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.