Skip to main content
Glama

translate_email

Translate an email into Simplified Chinese or English (Workers AI, on-platform). Best effort: verification codes, URLs and addresses are asked to be preserved verbatim by the prompt. Result is cached per language; long emails may be truncated.

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": {
      "inboxId": "<inboxId>",
      "messageId": "<messageId>",
      "target": "<target>"
    },
    "name": "translate_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes
inboxIdYes
messageIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a decent job: it discloses best-effort prompt behavior, that codes/URLs/addresses are only *asked* to be preserved (not guaranteed), per-language caching, and possible truncation of long emails. It does not say whether anything is persisted or what latency to expect, which keeps it from a 5.

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?

Three dense sentences, front-loaded with the core action, with caveats following in decreasing importance. The parenthetical '(Workers AI, on-platform)' earns its place by telling the agent no external service is involved, though it slightly interrupts flow.

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?

For a tool with no annotations and no output schema, the description covers behavior and caveats but never states what comes back — presumably the translated text, but also possibly a cached flag or truncation indicator. That return-shape gap is the main missing piece for safe invocation.

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 0%, so the three parameters are undocumented in the schema, and the description only indirectly illuminates them: the 'zh'/'en' enum is explained as target languages, and inboxId/messageId are implied by 'an email' but never described as a mailbox identifier vs. message identifier. Partial compensation, not full.

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 states a specific verb and resource (translate an email) plus the exact target languages (Simplified Chinese or English) and the engine used (Workers AI, on-platform). Siblings are functionally distinct enough (get_message, extract_fields) that no explicit differentiation is strictly needed, but it never names them, so it stops short of a 5.

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: you translate a message you've identified. There is no explicit when-to-use vs. when-not, no mention that get_message should be used for the untranslated original, and no guidance on repeated calls given the caching. An agent must infer the workflow position.

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