Skip to main content
Glama

TextUnited MCP Server

textprocessing_evaluate_translation_quality

Runs the Translation Risk Index (TRI) quality report - the same report TextUnited runs on projects - over pairs of source text and translation, without a project. It rates the translation's business-safety risks in five dimensions (Liability, Compliance, Brand, Customer Impact, Operational) and fails the verdict on any High-severity risk. Send the segments in document order; the whole text can also be sent as one big segment. Every segment needs both its source text and its translation. Each call costs an LLM call, so run it once per text rather than repeating it. This WRITES an evaluation record: who ran it, when, and the result. The source and translation are not stored, but the stored result quotes the passages of the translation its findings refer to. The findings are initial: the final go/no-go decision needs a human expert review.

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": {
      "request": "<request>"
    },
    "name": "textprocessing_evaluate_translation_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesThe segments to evaluate, with the optional industry and the language to write the findings in.

Output Schema

NameRequiredDescriptionDefault
passedNoThe verdict: true when no risk dimension and no finding is rated High, false otherwise. These are initial findings: the final go/no-go decision still needs a human expert review.
analysisNoThe full TRI analysis: an overall summary, the five risk dimensions with their severity and findings, and the detected languages.
highCountNoNumber of individual findings rated High. It can be 0 on a failed verdict when a whole dimension is rated High.
createdUtcNoWhen the evaluation ran, in UTC.
evaluationIdNoID of the stored evaluation record.

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?

With no annotations supplied, the description carries the full burden and does so: it discloses that the call writes an evaluation record (who, when, result), that the source and translation themselves are not stored but the result quotes the translation passages its findings reference, that findings are initial and require human expert review, and that each invocation costs an LLM call. These are exactly the behavioral traits an agent needs before invoking a mutation-plus-LLM tool.

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?

Purpose and scope are front-loaded in the first sentence, followed by input conventions, cost guidance, and persistence caveats in a logical order. It runs long at roughly nine sentences, and the risk-dimension enumeration overlaps with what the report itself will return, but nearly every sentence carries operational value.

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

Completeness5/5

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

The tool is complex (nested request object, LLM cost, persistence side effect, human-review caveat), and the description covers all of it; an output schema exists so return values need not be explained. Nothing an agent needs in order to call it correctly or set expectations about the result is missing.

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% and the nested schema already documents segments, sourceText/targetText requirements, industryContext, and outputLanguageId. The description reinforces key constraints (document order, whole text as one segment, both sides required, industry omittable for a general evaluation) but adds little syntax or format detail beyond what the schema states, so the baseline of 3 is appropriate.

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 names a specific artifact (the Translation Risk Index quality report), the input shape (pairs of source text and translation), and explicitly contrasts it with the project-scoped version ('without a project'), which maps onto the sibling projects_list_quality_report_actions. The five risk dimensions and the High-severity fail rule further pin down what the tool produces.

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?

It states the context of use (pairs of source/translation outside a project), gives operational guidance (send segments in document order, or the whole text as one segment), and warns to run once per text because each call costs an LLM call. It stops short of naming a concrete alternative tool to use when a project does exist, so the routing is implied rather than spelled out.

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