Skip to main content
Glama

FMF Tools AI

translate

Translate text (100 languages) ($0.003 per call, paid via MPP on Tempo). Machine translation between 100 languages (Meta M2M-100 1.2B, MIT licence): one text up to 5,000 characters or up to 20 texts per call, source and target as ISO codes or names. Long text is split by sentence and reassembled. HTTP POST https://mpp-ai.fmf-x402.workers.dev/mpp/translate. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": {
      "target": "<target>"
    },
    "name": "translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNotext, up to 5,000 characters
textsNoor up to 20 texts (5,000 chars total)
sourceNosource language (default: en)
targetYestarget language code or name, e.g. fr

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/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 so well: discloses cost, the payment/authorization requirement, the underlying model and licence, the batch and length limits, and the non-obvious behavior that long text is split by sentence and reassembled. That long-text splitting note is exactly the kind of trait an agent could not infer elsewhere.

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?

Information-dense and front-loaded with purpose and cost, with zero filler. Minor redundancy: '100 languages' appears twice and the model/licence parenthetical is secondary detail placed mid-paragraph.

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?

Exceptionally complete on operational concerns (auth, cost, limits, endpoint, splitting behavior). The remaining gap is the return shape when 'texts' is used — a single string vs. an array — which matters since there is no output schema.

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%, so all four parameters are already documented in the schema. The description adds only marginal meaning beyond it — confirming ISO codes or names for source/target and restating the 5,000-character / 20-text limits already present in the schema — 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Translate text'), plus concrete scope: 100 languages, Meta M2M-100 1.2B, single text or batch of 20. The underlying task is unmistakably distinct from chat/embeddings/rerank, but the description never explicitly routes an agent away from using chat for translation.

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?

Gives clear invocation context: it is paid ($0.003/call), the wrapper does not settle payment itself, and the caller must supply an MPP Payment Authorization header or use mppx against the HTTP route. No explicit when-not-to-use or alternative-tool guidance is provided.

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