Skip to main content
Glama
FluentAPI MCP Server

FluentAPI MCP Server

by photoxpedia

translate_message

Translates messages between languages while preserving conversation context, helping AI assistants maintain coherent multilingual conversations and chat sessions.

Instructions

Translate a message between languages with conversation context. Perfect for facilitating multilingual conversations.

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": "<message>",
      "target_language": "<target_language>"
    },
    "name": "translate_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe message text to translate
platformNoPlatform type (facebook, whatsapp, slack, discord, mcp)mcp
sender_idNoID of the message sender (optional)
recipient_idNoID of the message recipient (optional)
conversation_idNoUnique conversation identifier for context (optional, will generate if not provided)
source_languageNoSource language code (optional, defaults to "auto" for auto-detection)auto
target_languageYesTarget language code (e.g., "es" for Spanish, "fr" for French, "zh" for Chinese)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and does not meet it. It never says whether the translated message is stored, whether passing platform/sender_id/recipient_id causes the result to be routed or persisted, or what happens to the auto-generated conversation_id.

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?

Two short sentences, front-loaded with the core action and free of filler. The second sentence is marketing-adjacent rather than informative, which keeps it from a 5.

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

Completeness2/5

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

For a seven-parameter, zero-annotation tool with no output schema, the description leaves too much unsaid: it does not describe the return value (translated text, detected source language) or the side effects implied by the platform and participant parameters. An agent can call it, but cannot predict what it does beyond returning a translation.

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 all seven parameters are already documented and the baseline of 3 applies. "With conversation context" loosely gestures at conversation_id but adds no format or behavioral detail beyond the schema.

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 a message between languages") and adds the distinguishing qualifier "with conversation context." It is clear enough to separate from the sibling tools (create_conversation, get_conversation, get_supported_languages), though it never names them.

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?

"Perfect for facilitating multilingual conversations" implies the use case but gives no explicit when-to-use or when-not-to-use conditions. It does not mention get_supported_languages as a way to resolve valid language codes, which is the one adjacent decision an agent actually faces.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.