Skip to main content
Glama

Translate Tool

translate-tool
Read-onlyIdempotent

Translate the given text using the translator specified and return the result.

Input Schema

NameRequiredDescriptionDefault
slugYesThe translator to use. Supply the translator slug.
textNoThe text to translate.
optionsNoOptional translator-specific settings, such as {"style": "superscript"} for small-text. Unknown keys and invalid values are ignored and fall back to the defaults.

Output Schema

NameRequiredDescriptionDefault
textYesInput Text
translatedYesTranslated Text
translatorYesTranslator used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / options
      Added value: +{
      +  "description": "Optional translator-specific settings, such as {\"style\": \"superscript\"} for small-text. Unknown keys and invalid values are ignored and fall back to the defaults.",
      +  "type": "object"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint and idempotentHint, so the safety profile is covered. The description adds essentially nothing beyond that: it does not say what happens on an unknown slug, whether failures are raised or silent, or anything about latency or size limits.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though its brevity comes at the cost of the missing guidance noted elsewhere.

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?

An output schema exists, so return values need not be explained, and the nested options semantics live in the schema. What is missing is the operational link to list-all-translations-tool for obtaining a valid slug, which is the main thing an agent would need before calling.

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 description coverage is 100%, so all three parameters, including the nested options object with its fallback behavior, are already documented in the schema. The description only gestures at slug and text and never mentions options, so the baseline 3 is appropriate.

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 names a specific verb and resource ("Translate the given text") and states that a translator is selected by the caller, so the tool's function is unambiguous. It does not, however, distinguish itself from list-all-translations-tool or note that this is where a listed translator slug is consumed.

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?

There is no when-to-use guidance, no mention of prerequisites, and no reference to the sibling tool for discovering valid translator slugs. The agent is left to infer that 'the translator specified' must come from list-all-translations-tool.

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