Skip to main content
Glama

Translate text

translate_text

Translates text into a specified target language using a chosen model. Optionally specify source language and format (plain text or HTML).

Instructions

Translate text Translates text into a target language using the current translation request format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
userNo
modelYes
mime_typeNo
source_languageNo
target_languageYes
Behavior2/5

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

Annotations indicate mutation (readOnlyHint=false) and unknown side effects (openWorldHint=true), but the description adds no behavioral context such as whether translations are stored, costs, rate limits, or what 'translation request format' entails. Minimal additional value beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short but contains redundancy ('Translate text' repeated). It front-loads the verb but lacks structure and clarity. Acceptable length but poorly composed.

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

Completeness2/5

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

With 6 parameters, no output schema, no sibling differentiation, and no parameter descriptions, the description is incomplete. An AI agent would struggle to use this tool effectively without additional context.

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

Parameters1/5

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

The input schema has 6 parameters with 0% description coverage, and the tool description does not explain any parameter semantics. The agent receives no guidance on how to use 'user', 'mime_type', 'model', or other fields correctly.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is vague and tautological, stating 'Translate text Translates text' without specifying the scope or distinguishing it from sibling tools like translate_audio. It mentions 'current translation request format' but does not clarify what that means.

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?

No guidance on when to use this tool versus alternatives. For example, it does not indicate that translate_audio should be used for audio or when to use other text generation tools. The description lacks context for appropriate invocation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hedging8563/tokenlab-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server