Skip to main content
Glama

Translate

translate

Translate up to 200 text segments in a single call - the same result that would otherwise take 200 separate calls to translate a whole file. Markdown, HTML and {x} placeholders preserved per segment, order and count kept intact, source language auto-detected, automatic fallback across multiple models for uptime, providers that train on submitted prompts excluded. A single string also works. No account, no API key. Try GET /translate/sample.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
source_langNo
target_langYes
preserve_formatNo

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?

With no annotations provided, the description carries the full burden and does so impressively. It discloses batching limits, preservation of Markdown/HTML/{x} placeholders, order and count integrity, source auto-detection, multi-model fallback for uptime, exclusion of providers that train on prompts, and no-account/no-API-key access. This goes well beyond a generic 'translate text' statement, though it omits output shape and error behavior.

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 a dense, front-loaded paragraph that leads with the core function and batching advantage before listing supporting features. Each clause adds distinct information, so there is little waste. The closing 'Try GET /translate/sample' is a minor appendix but not harmful; the structure could be slightly improved with bullets, though it remains clear.

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?

Given 4 parameters, no output schema, and no annotations, the description covers many practical aspects: input flexibility, format preservation, auth requirements, and provider privacy. However, it leaves meaningful gaps: the return shape is not explicitly stated (string vs array), there is no guidance on what happens beyond 200 segments, and target_lang's accepted value format is unspecified. These are relevant for an agent to invoke the tool correctly and interpret results.

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

Parameters4/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, and it does partially. It explains that text can be a single string or array, clarifies source_lang through auto-detection, and illustrates preserve_format via placeholder and markup preservation. However, it does not specify the expected format for target_lang (e.g., language codes like 'es') and only implicitly covers preserve_format's full semantics.

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?

The description states a specific verb ('Translate') and resource ('text segments'), and quantifies the capability ('up to 200 text segments in a single call'). It clearly positions the tool as a translation endpoint and is unmistakable against siblings 'jobs' and 'search', which are unrelated. The added context about replacing 200 separate calls further sharpens the purpose.

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?

The description provides clear contextual guidance: use for batch translation of up to 200 segments, a single string also works, format is preserved, and source language is auto-detected. It does not explicitly mention when not to use the tool or name alternative tools, but given the siblings are unrelated to translation, the guidance is sufficient for an agent to select it appropriately.

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.

Resources