Skip to main content
Glama

ai_translate_quality

Read-only

AI translation quality check — Review a translation against its source, MQM-style: categorized errors (mistranslation, omission, addition, grammar, terminology, style, locale) with minor/major/critical severity, verified spans, suggestions and a corrected translation, plus offline checks for missing numbers, placeholders like {name} or %s, URLs and suspicious length. Returns an MQM score and PUBLISHABLE / MINOR EDITS / NEEDS REVIEW / RETRANSLATE. source= and translation= required; optional source_lang= and target_lang=. Price: $0.01 USDC (Base, via 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": {
      "source": "<source>",
      "translation": "<translation>"
    },
    "name": "ai_translate_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYese.g. Hello {name}, you have 3 new messages.
translationYese.g. Hola, tienes 5 mensajes nuevos.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered; the description adds real value with the error taxonomy, severity tiers, offline checks, the four verdict labels and an explicit price ($0.01 USDC via x402). It does not disclose rate limits, latency, or what an unparseable/empty input yields, so it stops short of rich behavioral coverage for a paid external call.

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?

Front-loaded with the core action and outcome, then progressively discloses the error model, checks, verdicts and price. It is a single dense paragraph with some list-like repetition in the error categories, but almost every clause carries information an agent needs.

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 no output schema, the description carries the burden of explaining returns, and it does so well: error categories, severities, spans, suggestions, corrected translation, MQM score and the four verdict strings. It lacks the exact response shape or field names, and the phantom source_lang/target_lang mention leaves a small completeness gap.

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 100% and only two required parameters exist, so the baseline is 3; the description does clarify the source/translation pairing and highlights placeholder patterns ({name}, %s) and numbers that the checker inspects. However, it references optional source_lang= and target_lang= parameters that do not appear in the input schema, which is a discrepancy that could mislead an agent into passing unsupported arguments.

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?

Names a specific verb and resource ('Review a translation against its source'), adds the method (MQM-style) and the outputs (categorized errors, MQM score, verdict labels). An agent can tell this is a QA/evaluation tool rather than a translation-producing sibling like ai_translate or ai_translate_json.

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?

Implies the use case (verify an existing translation against its source) and lists the required inputs, but never states when to prefer it over siblings such as ai_translate or ai_subtitle_translate, nor any exclusions or prerequisites (e.g. source text must be the original, not a back-translation).

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