Skip to main content
Glama

TextUnited MCP Server

docprocessor_create_convert_batch_upload

Creates a document conversion batch and a one-time upload URL; this call does not upload file bytes. sourceLanguageId is optional: resolve it with list_languages, or omit it for language detection. A client with file access and HTTP transfer capability must PUT raw bytes to uploadUrl before expiresAt. The URL ticket authorises upload; no Authorization header is required. Use the file MIME type or application/octet-stream, without JSON, multipart/form-data or Base64. A failed or interrupted PUT may consume the ticket. Preserve documentBatchId and finish all intended file uploads before wait_for_convert_batch. A completed batch can be used for document translation or project creation.

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_create_convert_batch_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes

Output Schema

NameRequiredDescriptionDefault
expiresAtNoUTC expiration of the one-time uploadUrl. Create another batch upload if it expires or the upload fails.
uploadUrlNoComplete one-time HTTPS upload URL containing a secret authorisation ticket. A client with access to the file must PUT its raw bytes to this exact URL before expiresAt. No Authorization header is required. Do not send JSON, multipart/form-data or Base64. Receiving this URL does not mean the file has been uploaded.
uploadMethodNoRequired HTTP method for uploadUrl. Always PUT.
documentBatchIdNoGenerated identifier of the new conversion batch. Pass it to get_convert_batch_status or wait_for_convert_batch after uploading the file.
uploadInstructionsNoDetailed streaming instructions for the MCP host.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/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 so: it discloses the out-of-band PUT requirement, that no Authorization header is needed because the ticket authorises the upload, that a failed or interrupted PUT may consume the ticket, and that the URL expires. It also discloses the content-type constraint and forbids JSON, multipart, and Base64 encodings.

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?

Purpose is front-loaded in the first sentence, then operational constraints follow in short, single-idea sentences with no filler. It is dense with protocol detail (expiresAt, authorization, MIME rules), all of which is load-bearing, though the encoding prohibitions and the auth note could be consolidated for tighter scanning.

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?

For a one-parameter tool that hands off real work to an external HTTP PUT, it covers the failure modes, the ticket lifecycle, the ordering relative to wait_for_convert_batch, and downstream uses of a completed batch. Since an output schema exists, it correctly does not spend words describing return values.

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 essentially zero at the request level, so the description must compensate: it explains that sourceLanguageId is optional, where its value comes from, and what happens when it is omitted (runtime detection). It adds less about fileName beyond noting it is bound to the one-time ticket, leaving the filter-selection behavior largely to the nested schema description.

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 opening clause states a specific verb and two concrete resources: it 'Creates a document conversion batch and a one-time upload URL'. The immediate qualifier 'this call does not upload file bytes' draws a sharp line between this tool and sibling batch-file uploads, so an agent can select it without opening the 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 names the alternative resolver for the language parameter ('resolve it with list_languages, or omit it for language detection') and imposes an explicit ordering rule against a sibling: 'finish all intended file uploads before wait_for_convert_batch'. It also tells the agent what the finished batch is good for (translation or project creation), covering when-to-use as well as sequencing.

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