Skip to main content
Glama

translate

Translate text using Nativ's AI localization engine.

Uses the team's translation memory, style guides, and brand voice
automatically. Returns the translation along with TM match info and
rationale.

Args:
    text: The text to translate.
    target_language: Full target language name (e.g. "French", "German", "Japanese").
    target_language_code: Optional ISO language code (e.g. "fr", "de", "ja").
    source_language: Source language name. Defaults to English.
    source_language_code: Source language code. Defaults to "en".
    context: Optional context to guide the translation (e.g. "marketing headline for Gen Z audience").
    glossary: Optional inline glossary as CSV (e.g. "term,translation\nbrand,marque").
    formality: Tone override — one of: very_informal, informal, neutral, formal, very_formal.
    max_characters: Optional strict character limit for the translation output.
    backtranslate: If true, also returns a back-translation to verify intent.

Input Schema

NameRequiredDescriptionDefault
textYes
contextNo
glossaryNo
formalityNo
backtranslateNo
max_charactersNo
source_languageNoEnglish
target_languageYes
source_language_codeNoen
target_language_codeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does substantial work: it states that the team's translation memory, style guides, and brand voice are applied automatically, and that the response includes the translation plus TM match info and rationale. It stops short of saying whether the call has any side effects on translation memory or what happens when no TM entry matches, but the behavioral picture is far richer than the structured data provides.

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?

The description is front-loaded with purpose and return behavior, then a well-ordered Args block that mirrors the parameter list; nothing is padded. The prose sentences are efficient, though the Args block is a docstring paste whose content partially duplicates the schema's own titles.

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 10-parameter translation tool, the definition covers purpose, engine behavior, return contents, and every argument, and an output schema exists so return formatting need not be spelled out. The remaining gaps are sibling routing and any statement about side effects or permissions, which are the pieces an agent would still have to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate entirely, and it does: all ten parameters are documented with meaning, defaults, examples, and accepted values. It even supplies the formality enumeration (very_informal through very_formal) and a CSV example for glossary, neither of which appears in the schema as an enum or format hint.

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 opening sentence gives a specific verb (Translate) and resource (text) and names the engine, so the agent knows exactly what the tool does. It does not differentiate against the obvious siblings translate_batch and translate_dialogue, so an agent cannot tell from the description alone which of the three to pick for multiple strings or dialogue.

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

Usage Guidelines2/5

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

There is no explicit statement of when to use this tool versus translate_batch, translate_dialogue, or localize_subtitles, all of which appear in the sibling list and overlap heavily. The singular 'text' hints at a single-string scope, but the agent is left to infer that, and no prerequisites or exclusions are given.

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.