Skip to main content
Glama

FAS Vietnamese API

Audit translations into Vietnamese

audit_translation
Read-onlyIdempotent

Check existing translations into Vietnamese against the FAS rule set: diacritics and spelling, placeholders and markup, numbers and dates, terminology, punctuation, capitalisation, length and consistency. Returns a verdict and the issues of each segment with rule ids, severity, the text found and a suggestion. Works on every plan, including Free; usage counts source plus target characters. Up to 200 segments per call.

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": "audit_translation"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoVietnamese style preferences.
layersNoOnly these layers (default: all).
glossaryNoTerms with their required translations.
profilesNoDomain profiles that add rules, e.g. ui-strings, contract-legal, web-seo.
segmentsYes1 to 200 source/target pairs.
sourceLangNoLanguage of the source texts (default en).en
targetLangNoLanguage of the translations (default vi).vi
modelChecksNoAlso run the model-judged checks (at most 50 segments). This is a paid model call; the rule checks alone are not.
maxIssuesPerSegmentNoMost issues returned per segment (default 20).

Output Schema

NameRequiredDescriptionDefault
summaryYes
segmentsYes
requestIdNoThe API request id; quote it when you contact support.
truncatedYesTrue when some issues were left out (see maxIssuesPerSegment).
rulesetVersionNo
crossSegmentIssuesYesConsistency issues across segments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish a safe, idempotent read operation; the description adds useful non-schema behavior: the FAS rule areas checked, returned issue fields, Free-plan availability, character-based usage counting, and the 200-segment cap. It still omits error behavior and whether modelChecks changes latency or cost beyond the schema note.

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 dense sentences, front-loaded with purpose and followed by rule scope, return shape, billing, and limits. No sentence is wasted and none merely restates the name.

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?

Given the rich input schema, existing output schema, and annotations, the description supplies enough context on what is checked, what is returned, plan availability, billing, and batch size. It leaves the choice and relationship to sibling audit or scoring tools largely implicit, which is the main remaining gap.

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 100% and all nine parameters, including nested style, glossary, profiles, and segments options, are documented in the schema. The description only reinforces the 200-segment cap and usage basis, adding little parameter meaning beyond structured fields.

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 ('Check existing translations into Vietnamese') and names the rule domain (FAS) and output (verdict plus issues). An agent can distinguish this from translate_to_vietnamese because it audits existing target text rather than producing a translation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description makes the core trigger clear—checking existing Vietnamese translations—and notes the 200-segment limit and Free-plan availability. It does not explicitly say when to choose this over score_translation or translate_to_vietnamese, nor when to avoid it, so guidance remains implied.

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.