Skip to main content
Glama

FAS Vietnamese API

Start a translation job

create_translation_job
Idempotent

Start an asynchronous translation job for up to 500 texts. Returns a job id at once; poll get_translation_job for progress and the translations. Source characters are charged when the job is created; a job that is cancelled or fails gives back the characters it did not translate. Needs a paid plan. An identical request repeated within 24 hours returns the same job.

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": {
      "segments": "<segments>"
    },
    "name": "create_translation_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
guideNo
styleNoVietnamese style preferences.
glossaryNoTerms with their required translations.
profilesNoDomain profiles that add rules, e.g. ui-strings, contract-legal, web-seo.
segmentsYes1 to 500 texts to translate.
sourceLangNoen
targetLangNovi (default), or a beta target your key is enabled for (see list_targets).vi
idempotencyKeyNoOptional. Requests with the same key and the same input within 24 hours return the stored answer instead of being billed again. By default the key is derived from the input, so an identical repeat is not billed twice; pass a new key to force a fresh run.
useTranslationMemoryNo

Output Schema

NameRequiredDescriptionDefault
kindNo
errorNo
jobIdYes
resultNo
statusYesqueued, running, succeeded, failed or cancelled.
blockedNo
partialNoThe job ended early; result holds only the finished segments.
progressYes
replayedNo
warningsNo
createdAtNo
requestIdNoThe API request id; quote it when you contact support.
updatedAtNo
sourceLangNo
targetLangNo
refundedCharsNo
pollAfterSecondsNoWait about this long before polling again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: source characters are charged at creation time, untranslated characters are refunded on cancel or failure, a paid plan is required, and identical requests within 24 hours dedupe. The refund/dedup economics are exactly the kind of side-effect disclosure annotations (readOnlyHint=false, idempotentHint=true) cannot express.

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?

Four tight sentences, front-loaded with the async contract before moving to billing, prerequisites, and dedup. No restatement of the title and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter nested-schema creation tool, it covers lifecycle, cost, failure handling, and prerequisites, and an output schema exists so return values need no explanation. The only gap is guidance on how the style/glossary/profiles options interact when composing a request.

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 67% and the description adds little parameter-level meaning it doesn't already repeat from the schema – the 500-text cap and the 24-hour idempotency behavior are both documented on segments and idempotencyKey. Style, glossary, profiles, and useTranslationMemory receive no narrative guidance, so the description only partly compensates for the coverage gap.

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 ('start an asynchronous translation job') plus the hard scope limit ('up to 500 texts'), and immediately distinguishes itself from get_translation_job by declaring that it returns a job id at once rather than results. An agent can tell what this does 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear when-to-use context: batch async translation with a paid plan, followed by polling get_translation_job. It also tells the agent what a repeat within 24 hours does. It stops short of explicitly excluding a synchronous single-text alternative, but the async/batch framing already implies the boundary.

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.