Skip to main content

MCP Tools Reference

The Ollang MCP server exposes the following tools, grouped by category. Each tool maps to one or more endpoints in the Ollang Integration API — MCP simply gives your AI assistant a natural-language interface to them.

File Management

Upload files for processing and translation. Supports videos (MP4, AVI, MOV), documents (PDF, DOCX), images in JPEG, JPG, or PNG for Image to Image translation, audio files, subtitles, JSON, and DITA/XML content.Parameters:
NameTypeRequiredDescription
namestringYesFile name (e.g., video.mp4, document.pdf)
sourceLanguagestringYesSource language code (e.g., en, es, fr)
urlstringNoURL to download the file from (presigned URLs supported) — fetched server-side, so any file size the API accepts works
base64ContentstringNoBase64-encoded binary file content (e.g., a local PDF or DOCX) — best for smaller files
expectedSizenumberNoExpected decoded size in bytes of base64Content; the upload fails on mismatch
sha256stringNoExpected SHA-256 hex digest of the decoded base64Content; the upload fails on mismatch
contentstringNoJSON content as a string (not for binary files — use base64Content)
ditaContentstringNoDITA/XML content as a string
notesarrayNoArray of order notes with details and optional timeStamp
folderIdstringNoFolder ID to place the project in (must belong to the same client)
Provide exactly one of url, base64Content, content, or ditaContent — one source per upload. Base64 payloads travel through the AI assistant’s context, so prefer url for files larger than a few megabytes, and pass expectedSize and/or sha256 with base64Content so uploads fail loudly if the data is corrupted in transit.
Upload a VTT subtitle file for a project, from WebVTT content or a URL.Parameters:
NameTypeRequiredDescription
projectIdstringYesThe project ID to upload the VTT file for
namestringYesName of the VTT file (e.g., subtitles.vtt)
vttContentstringNoWebVTT content as a string (must start with the WEBVTT header)
urlstringNoURL to download the VTT file from
sourceLanguagestringNoSource language code of the subtitles
Provide exactly one of vttContent or url.

Order Management

Create a new translation or transcription order.Parameters:
NameTypeRequiredDescription
projectIdstringYesProject ID from a previous file upload
orderTypestringYesOne of: cc, subtitle, aiDubbing, studioDubbing, document
levelnumberYes0 = full AI, 1 = AI + human review
targetLanguageConfigsarrayYesArray of { language: string, isRush?: boolean }
Fetch orders with pagination, search, and sorting.Parameters:
NameTypeRequiredDescription
pagenumberNoPage number (default: 1)
takenumberNoItems per page (1–50, default: 10)
searchstringNoSearch query
orderBystringNoSort field (default: id)
orderDirectionstringNoasc or desc (default: desc)
Get detailed information about a specific order including QC results.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID
Cancel an existing order.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID to cancel
Re-run an order to regenerate the translation with current AI models.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID to rerun

Quality Control

Run an AI-powered quality control evaluation on an order.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID to evaluate
accuracybooleanNoEvaluate translation accuracy (default: true)
fluencybooleanNoEvaluate fluency in target language (default: true)
tonebooleanNoEvaluate tone and style (default: true)
culturalFitbooleanNoEvaluate cultural appropriateness (default: true)
customPromptstringNoCustom evaluation instructions
Escalate an order for manual review by a human translator.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID

Revisions

Report issues or request changes to delivered content.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID
typestringYesIssue type: missingSubtitle, wrongSubtitle, syncError, formatError, other
descriptionstringNoDetailed description of what needs correction
timestringNoTimestamp where the issue occurs (format: HH:MM:SS)
Retrieve all revision requests for an order.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID
Delete a specific revision request.Parameters:
NameTypeRequiredDescription
orderIdstringYesThe order ID
revisionIdstringYesThe revision ID to delete

Projects

Retrieve all projects with pagination, search, and sorting.Parameters:
NameTypeRequiredDescription
pagenumberNoPage number (default: 1)
takenumberNoItems per page (1–50, default: 10)
searchstringNoSearch query
orderBystringNoSort field (default: id)
orderDirectionstringNoasc or desc (default: desc)
Get detailed information about a specific project.Parameters:
NameTypeRequiredDescription
projectIdstringYesThe project ID

Custom Instructions

Retrieve all custom translation instructions for your account.Parameters: None
Create a new reusable translation guideline.Parameters:
NameTypeRequiredDescription
titlestringYesTitle of the instruction
contentstringYesThe guideline content
Update an existing custom instruction.Parameters:
NameTypeRequiredDescription
instructionIdstringYesThe instruction ID
titlestringNoNew title
contentstringNoNew content
Delete a custom instruction permanently.Parameters:
NameTypeRequiredDescription
instructionIdstringYesThe instruction ID

Utilities

Check the health status of the Ollang API.Parameters: None
Download and parse subtitle files from URLs. Supports SRT, VTT, ASS, and SSA formats.Parameters:
NameTypeRequiredDescription
urlstringYesURL of the subtitle file
formatstringNoFormat hint: auto, srt, vtt, ass, ssa (default: auto)
Download and parse JSON files from URLs.Parameters:
NameTypeRequiredDescription
urlstringYesURL of the JSON file
Download and parse DITA/XML documentation files from URLs.Parameters:
NameTypeRequiredDescription
urlstringYesURL of the DITA file (.dita, .ditamap, or .ditaval)