Skip to main content
Glama

TextUnited MCP Server

docprocessor_translate_convert_batch

Starts translation of successfully converted source files into targetLanguageIds and waits for the outcome. Read get_document_translation_guide for the complete file-translation workflow. Call only when conversion status is completed, including partial conversion success. Uses the source language declared when the batch was created, or the language detected during conversion if none was declared. Rejects batches whose successfully converted files have different source language codes; upload those files in separate batches. Use list_languages for targetLanguageIds. Supports optional MCP Task execution when requested by the client; otherwise waits within this tool call. Do not call again to poll: each call attempts to start translation. On success returns structured content with a one-time ZIP download URL, filename and expiry. Report failedFiles as skipped conversion failures. Download using one HTTP GET without an Authorization header; the URL ticket authorises access.

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": {
      "request": "<request>"
    },
    "name": "docprocessor_translate_convert_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault
statusNoFinal translation state: completed or failed. completed can include failedFiles when conversion partially failed.
messageNoHuman-readable explanation of the translation outcome.
failedFilesNoFiles skipped because conversion failed. Report these failures to the user. When status is completed, the ZIP contains translations of the successfully converted files. This is not a list of translation errors.
documentBatchIdNoThe translated document batch identifier.
downloadFileNameNoSuggested filename of the translated ZIP. Null when translation failed.
downloadExpiresAtNoUTC expiration of signedDownloadUrl. Null when translation failed.
signedDownloadUrlNoOne-time HTTPS URL for an application/zip file. Download with a single full HTTP GET before downloadExpiresAt. The ticket in the URL authorises access; no Authorization header is required. A download attempt consumes the ticket; retries and ranged/resumed downloads are not supported. Treat the URL as a secret and do not fetch it just to preview or validate it. Null when translation failed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full behavioral burden, and it does well on several fronts: the wait-vs-MCP-Task execution mode, the source-language resolution rules, and the one-time ZIP URL with filename and expiry. However, the description also omits key operational details, such as rate limits, authentication requirements, and how the ZIP contents are structured or named, which are important for an agent invoking this tool in production.

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 content is dense and front-loaded with the core action and outcome, followed by preconditions, workflow pointers, and download instructions. It is longer than typical but nearly every sentence adds operational value; minor tightening of the download and polling sentences would improve it.

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 tool with a nested request object and an output schema, the description covers the necessary prerequisites, execution modes, and return shape (one-time ZIP URL, filename, expiry) without over-explaining return values. The main gap is the lack of detail on documentBatchId semantics and any auth or rate-limit context, which keeps it from being fully complete.

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 reported as 0%, yet the nested schema does carry descriptions for both documentBatchId and targetLanguageIds, and the description adds workflow meaning: the batch must come from create_convert_batch_upload with completed conversion, and language IDs must come from list_languages. It still does not explain the format or constraints of documentBatchId itself, so it only partially compensates for the coverage gap.

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 first sentence states a specific verb ('Starts translation'), the resource ('successfully converted source files'), and the target ('targetLanguageIds'), and adds that it waits for the outcome. This distinguishes it clearly from siblings like get_convert_batch_status or wait_for_convert_batch, which handle the earlier conversion phase.

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?

Explicit preconditions are given ('Call only when conversion status is completed, including partial conversion success') along with a negative instruction ('Do not call again to poll: each call attempts to start translation') and a routing rule for mixed-language batches ('upload those files in separate batches'). It also points to get_document_translation_guide and list_languages for the surrounding workflow and ID source.

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.

Resources