Skip to main content
Glama

translate

translate

AI translation of text into any language (Swedish, German, Spanish, Chinese, Persian, ...), keeping meaning, tone, names, numbers and formatting. Up to 4000 characters per call. Price: $0.003 USDC per successful call (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>",
      "to": "<to>"
    },
    "name": "translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesTarget language name or code, e.g. Swedish or sv
textYesText to translate (max 4000 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does add real context: a hard 4000-character cap, and a per-successful-call price of $0.003 USDC via x402, which signals a paid endpoint. It does not explain what happens on failures, whether failed calls are billed, or how payment is authorized, but the cost and limit disclosure is substantive.

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?

Two compact sentences; the capability and language scope come first, followed by the operational constraints (length, price). No filler or redundant restatement.

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?

For a two-parameter tool with no output schema and no annotations, the description covers the key decision inputs: what it does, language breadth, input limit, and cost. Only the return-value shape and failure/billing behavior are unaddressed, which is minor here.

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 both parameters (text, to) are already documented including the 4000-character bound and language name-or-code format. The description repeats those constraints without adding syntax or edge-case meaning, so baseline 3 applies.

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?

States a specific verb and resource ("AI translation of text") plus the scope of target languages, with examples. It is unmistakable against siblings like summarize, extract, or chat, which operate on different tasks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the purpose rather than spelled out; there is no explicit when-to-use/when-not-to-use guidance or named alternative. For a single-purpose translation tool this is largely adequate, but an agent gets no routing rules.

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