Skip to main content
Glama
transglot MCP server

transglot MCP server

Official
by transglot

Get batch status

get_batch_status
Read-only

Read an AI translation batch by ID to check status, progress counters, and per-language breakdown. Poll after queuing translations and optionally list failed items.

Instructions

Read one AI translation batch by id: status (pending / processing / completed / completed_with_errors / failed / cancelled), progress counters (total, completed, failed) and the per-language breakdown. Set include_failures to also list up to 100 failed items as {key, locale, error}. Free read. Poll this after translate_missing, retry_failed_batch, or a push that queued a batch. Be mindful of the 60 requests/minute limit when polling.

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": {
      "batch_id": "<batch_id>"
    },
    "name": "get_batch_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
batch_idYesThe batch id returned by translate_missing, push_file, or list_batches.
include_failuresNoAlso return up to 100 failed items.

Output Schema

NameRequiredDescriptionDefault
idYes
totalYes
failedYes
statusYes
triggerYes
failuresNo
completedYes
started_atYes
finished_atYes
language_breakdownYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description still adds real operational context: the call is free, it is subject to a 60 requests/minute limit, and include_failures is capped at 100 items. The rate-limit warning is especially valuable for a tool explicitly designed to be polled.

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

Conciseness5/5

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

Front-loaded with what is returned, then the optional flag, then cost/rate context, then polling triggers. Every sentence carries distinct information with no padding.

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 a compact return summary, plus cost, rate limit, and polling cadence. For a two-parameter read tool with full annotation coverage, nothing an agent needs in order 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented, including batch_id provenance and the 100-item cap on include_failures. The description reinforces include_failures with the returned shape {key, locale, error}, which adds a little meaning beyond the schema but largely restates it.

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 (read one AI translation batch by id) and immediately enumerates the return fields: status with all six possible values, progress counters, and per-language breakdown. This distinctly separates it from list_batches and from the mutating siblings like retry_failed_batch or cancel_batch.

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?

Gives explicit triggers: poll this after translate_missing, retry_failed_batch, or a push that queued a batch. That is unusually concrete when-to-use guidance. It stops short of a when-not or an explicit pointer to list_batches for enumeration, keeping it at 4 rather than 5.

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