Skip to main content
Glama

Translate text

translate_text

Translate text into a supported Poly-Glot language. Preserves meaning, formatting, names, code, and URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
sourceLanguageNoauto
targetLanguageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It usefully states that meaning, formatting, names, code, and URLs are preserved, which is non-obvious and valuable for an agent. It does not explain side effects or failure modes, but for a translation tool this is a strong level of transparency.

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?

The description is two sentences with no wasted words. The core operation is front-loaded, and the preservation caveat is a meaningful, concise addition.

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 description covers the main purpose and a key behavioral guarantee, but it leaves gaps around language value conventions, source language detection, and return format. For a simple tool this is adequate but not fully complete, especially since no output schema or parameter descriptions exist.

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 description coverage is 0%, so the description must compensate, but it only vaguely maps targetLanguage to a 'supported Poly-Glot language.' It does not clarify language code formats, the sourceLanguage default of 'auto', or how to specify the source language.

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 clearly names a specific verb and resource: translate text into a supported Poly-Glot language. It also adds a distinguishing detail by noting what is preserved, which helps separate it from related tools like detect_language or localize_text.

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?

The description states what the tool does but gives no guidance on when to prefer it over siblings such as localize_text or how to combine it with get_language_options. There are no exclusions, prerequisites, or alternative routing hints.

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.