Skip to main content
Glama

Translate Translate

translate_translate
Read-onlyIdempotent

Translate text between languages using a LibreTranslate instance you supply, pass _apiKey for libretranslate.com or _endpoint for a self-hosted server. For translation with no key of your own, call mymemory_translate instead.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "Hello, how are you?",
      "source": "en",
      "target": "es"
    },
    "name": "translate_translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text to translate
sourceYesSource language code (e.g. "en" for English, "es" for Spanish)
targetYesTarget language code (e.g. "es" for Spanish, "fr" for French)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "found": {
      +        "description": "Present and true on an answer; a miss is the found:false branch.",
      +        "enum": [
      +          true
      +        ],
      +        "type": "boolean"
      +      },
      +      "original_text": {
      +        "description": "The original text that was translated",
      +        "type": "string"
      +      },
      +      "source": {
      +        "description": "Source language code",
      +        "type": "string"
      +      },
      +      "target": {
      +        "description": "Target language code",
      +        "type": "string"
      +      },
      +      "translated_text": {
      +        "description": "The translated text result",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "target",
      +      "original_text",
      +      "translated_text"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
      +    "properties": {
      +      "found": {
      +        "enum": [
      +          false
      +        ],
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "found"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "original_text": {
      -    "description": "The original text that was translated",
      -    "type": "string"
      -  },
      -  "source": {
      -    "description": "Source language code",
      -    "type": "string"
      -  },
      -  "target": {
      -    "description": "Target language code",
      -    "type": "string"
      -  },
      -  "translated_text": {
      -    "description": "The translated text result",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "source",
      -  "target",
      -  "original_text",
      -  "translated_text"
      -]
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely useful context about requiring a user-supplied service endpoint, but it implies those credentials are passed as parameters, which conflicts with the declared schema and could mislead invocation.

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?

Two tight sentences with the purpose front-loaded and the alternative trailing, which is the right ordering. The credential sentence is short but spends its words on parameters the tool does not take.

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

Completeness3/5

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

The tool is simple and has an output schema, so return values need no explanation, and source/target semantics are covered by the schema. The remaining gap is the credential story: the description suggests configuration the caller cannot express through this schema, leaving the actual auth/endpoint requirement unresolved.

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

Parameters2/5

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

Schema coverage is 100%, so text/source/target are already fully documented with examples and language-code hints; the description adds nothing there. Worse, it introduces `_apiKey` and `_endpoint` as if they were arguments, which are absent from the schema and create confusion about what must actually be supplied.

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 description opens with a specific verb and resource ('Translate text between languages using a LibreTranslate instance') and names the sibling it is not ('mymemory_translate'). The clarity of the core purpose is slightly muddied by references to `_apiKey`/`_endpoint` credentials that are not part of this tool's callable surface.

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

Usage Guidelines5/5

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

It gives an explicit routing rule: use this when you supply your own LibreTranslate instance, and use mymemory_translate when you have no key of your own. Both the when and the alternative are stated, leaving nothing to inference.

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.