Skip to main content
Glama

TextUnited MCP Server

docprocessor_get_convert_batch_status

Returns one snapshot of document conversion status without waiting. Prefer wait_for_convert_batch when waiting for completion. Status completed means no file is processing and at least one succeeded; failed means all files failed. Only completed permits translate_convert_batch. Report failedFiles to the user, including partial failures.

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": {
      "documentBatchId": "<documentBatchId>"
    },
    "name": "docprocessor_get_convert_batch_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentBatchIdYesdocumentBatchId returned by create_convert_batch_upload.

Output Schema

NameRequiredDescriptionDefault
statusNoAggregate state: input_required means no file is registered yet; working means at least one file is processing; completed means no file is processing and at least one succeeded; failed means every file failed. Start translation only for completed.
messageNoHuman-readable summary of the aggregate status.
failedFilesNoFiles that failed preprocessing and must not be sent to translation.
documentBatchIdNoThe batch identifier supplied to get_convert_batch_status or wait_for_convert_batch.
successfulFilesNoNames of successfully converted files, not file IDs. Wait for aggregate status completed before starting translation of the batch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses non-blocking snapshot semantics, defines completed vs failed precisely, notes partial-failure outcomes, and states the dependency that gates translate_convert_batch. It does not mention permissions or whether the snapshot is cached/eventually consistent, which keeps it from a 5.

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?

Front-loaded with the core action, then routing guidance, then status semantics. Every sentence carries information, though the telegraphic phrasing ('Only completed permits translate_convert_batch') is slightly clipped and could read more naturally.

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, so return structure needn't be restated; the description still flags the operatorially important field (failedFiles, including partial failures). For a single-parameter status poller, nothing an agent needs 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?

Only one parameter, and the schema already documents it at 100% coverage ('documentBatchId returned by create_convert_batch_upload'). The description adds no further meaning about the ID's format, lifetime, or reuse, so the baseline 3 applies.

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 ('Returns one snapshot of document conversion status') plus the key distinguishing trait 'without waiting', which immediately separates it from the blocking sibling wait_for_convert_batch.

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?

Gives explicit routing: 'Prefer wait_for_convert_batch when waiting for completion', and a downstream precondition: 'Only completed permits translate_convert_batch'. It also tells the agent what to do with results ('Report failedFiles to the user, including partial failures').

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