Skip to main content
Glama

Sergio by Serviche

Translate a received message

translate_message
Idempotent

Translates one received text, website chat or email into the business language, as tapping Translate under it does, and saves the translation on the message (a repeat returns the saved translation with no new AI call). kind 'email' for an email, a text or chat otherwise. Nothing is sent and the original is never changed. Pass the same idempotency_key when retrying.

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": {
      "message_id": "<message_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "translate_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
message_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare that this is a non-destructive, idempotent mutation, and the description adds important behavior beyond them: the translation is saved on the message, a repeat returns the saved translation without a new AI call, nothing is sent, and the original is never changed. It also instructs the caller to reuse idempotency_key on retries, which directly supports correct retry behavior.

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?

The description is front-loaded with the core action and then adds only operationally useful details about kind selection, persistence, side effects, and retries. The parenthetical repeat behavior is compact and every sentence contributes to correct invocation.

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 three-parameter mutation with no output schema, the description covers purpose, parameter meaning, persistence, side effects, and idempotency well. The main minor gap is that it does not explicitly describe the first-call return shape, though the repeat behavior implies that a saved translation is returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is low at 33%, so the description meaningfully compensates by explaining that kind='email' is for email and text/chat otherwise. It also reinforces idempotency_key retry semantics, though message_id is not described beyond the surrounding message context and UUID format in the schema.

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 states a specific verb and resource: it translates one received text, website chat, or email into the business language and saves the translation on the message. It also distinguishes the action from sending or changing the original, so an agent can understand the operation without opening the schema.

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?

The description gives clear context for use: translate a received message as if tapping Translate under it, with kind 'email' for email and text/chat otherwise. It does not explicitly name when-not-to-use cases or alternative tools, but the applicable scope is clear.

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