Skip to main content
Glama

TextUnited MCP Server

docprocessor_add_convert_batch_file

Authorises one additional file upload to an existing batch belonging to the current company. Inherits the source language declared when the batch was created; if none was declared, the new file's language is detected independently during conversion. This call does not upload bytes: PUT the raw file body to the returned one-time uploadUrl before expiresAt, without JSON, multipart/form-data or Base64. The URL ticket authorises upload; no Authorization header is required.

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

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.1/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses language inheritance and the independent-detection fallback, one-time upload URL semantics, the expiresAt deadline, the raw-body PUT requirement (no JSON, multipart, or Base64), that no Authorization header is needed, and company scoping. These are exactly the behaviors an agent could otherwise get wrong.

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?

Four sentences, each carrying real information: purpose, language behavior, upload mechanics, and auth. Front-loaded with the core action and dense but not padded.

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?

The tool has a nested request, an output schema, and no annotations, and the description covers the critical multi-step workflow (authorise, then PUT to the returned URL before expiry) plus the auth exemption. Return values like uploadUrl and expiresAt are referenced in context rather than restated, which is appropriate when an output schema exists.

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 coverage is reported as 0%, and the description does not name or explain fileName or documentBatchId directly, though it implies one-file-per-call and the current-company constraint. The nested schema properties do carry their own descriptions, so the description's marginal contribution is modest.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource ('Authorises one additional file upload to an existing batch'), which clearly distinguishes it from a batch-creation sibling. It does not name the create tool explicitly, but 'existing batch' and 'one additional file' make the scope unambiguous.

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?

It states the condition for use (adding a file to an already-created batch) and a critical procedural constraint: this call does not upload bytes, so the caller must PUT the file to the returned URL. It stops short of naming alternatives or stating exclusions, but the practical guidance is clear.

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