Skip to main content
Glama

Translate text

translate_text
Idempotent

Translates text using the org’s configured translation providers, for requests such as "translate X", "say this in Hebrew" or "how do you say...". Draws the org AI token budget and respects the org’s translation privacy setting (fails with translation_disabled when the org has disabled translation). This tool only returns text — it never sends anything.

Input Schema

NameRequiredDescriptionDefault
textYes
source_languageNoSource language; auto-detected when omitted
target_languageYesTarget language as an ISO 639 code (e.g. "he", "fr") or plain name (e.g. "Hebrew")

Output Schema

NameRequiredDescriptionDefault
noteYes
source_languageYes
target_languageYes
translated_textYes

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?

Beyond the annotations it discloses three things an agent can't infer: the call consumes the org AI token budget, it obeys a privacy setting and fails with the specific error 'translation_disabled', and it is side-effect free ('only returns text — it never sends anything'). That last point is especially valuable given readOnlyHint=false, which would otherwise suggest a mutating operation.

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?

Three tight sentences, front-loaded with purpose, then cost/privacy behavior, then the no-send guarantee. Every clause carries information an agent needs; nothing is repetitive or filler.

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?

With an output schema present, return values needn't be described, and the behavioral essentials (cost, privacy gate, error code, non-mutation) are covered. Minor gaps remain around input length limits and what happens on unsupported language codes, though maxLength is in the schema.

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 67%: target_language and source_language already document accepted formats and auto-detection in the schema itself. The description adds no language-code or length guidance beyond that, so the schema remains the primary source of parameter meaning.

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 opens with a specific verb and resource ('Translates text') and pins down the backing mechanism ('the org's configured translation providers'). It also gives the conversational triggers ('translate X', 'say this in Hebrew') that route an agent here, and no sibling tool covers translation, so the role is unambiguous.

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 quoted example requests make clear what user phrasings should invoke this tool. It stops short of naming when NOT to use it or an alternative (e.g. drafting a reply in another language vs. translating), so it gives context but no exclusions.

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