Polyglot MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_HOST | No | Send requests to another Ollama server instead of `localhost:11434`. For Ollama Cloud, set this to `https://ollama.com`. | |
| OLLAMA_API_KEY | No | API key for a remote Ollama host such as Ollama Cloud. Sent as a Bearer token, and only to a non-loopback `OLLAMA_HOST`. | |
| POLYGLOT_MODEL | No | Ollama model used as the default for translation. Defaults to `translategemma:27b`; set it to another model, for example `translategemma:12b`, on a GPU with less VRAM. | |
| POLYGLOT_CONCURRENCY | No | Counting semaphore limit guarding all Ollama calls to prevent GPU OOM on systems with limited VRAM (default: 1). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| translateA | Translate text between any of 57 supported languages using TranslateGemma running locally on your GPU via Ollama. Automatically starts Ollama and pulls the model if needed. Includes a built-in software glossary for accurate technical translations. |
| list_languagesA | List all 57 languages supported by TranslateGemma for translation. |
| translate_markdownB | Translate a markdown document while preserving its structure. Code blocks, HTML elements, URLs, badges, and table formatting are kept intact. Only prose content (headings, paragraphs, taglines, table cells) is translated. Supports segment-level caching. |
| translate_allA | Translate markdown content into multiple languages at once (default: 7 languages — Japanese, Chinese, Spanish, French, Hindi, Italian, Portuguese). Runs translations concurrently with GPU-safe semaphore limiting. Returns translated content for each language with optional nav bar injection. |
| translate_readmeA | Translate a README.md FILE into all 7 supported languages and WRITE the README..md files to disk (ja, zh, es, fr, hi, it, pt-BR), refreshing the language nav bar in the source and each translation. Runs entirely locally on the GPU via Ollama. Returns a STATUS SUMMARY — per-language ok/fail, timings, and the files written — not the translated text. Use this to localize a repo README; use translate_markdown instead when you want translated content returned to you. |
| check_statusA | Check if Ollama is running and TranslateGemma models are available. Attempts to auto-start Ollama if not running. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
The four translate variants are mostly distinguishable: plain text vs. markdown-preserving content vs. multi-language batch vs. README file writing. However, translate_all and translate_readme overlap since both handle multiple languages, and an agent may briefly hesitate over which returns content versus writes files. Descriptions explicitly clarify this, so ambiguity is limited.
All names use consistent snake_case verb_noun or verb patterns: translate, list_languages, translate_markdown, translate_all, check_status, translate_readme. The translate_* family is predictable, and the two non-translate tools follow the same clear action-oriented convention.
Six tools is well-scoped for a local translation server. Each tool covers a distinct useful operation: text translation, markdown content, batch content, README file localization, language listing, and status checking.
The surface covers the main translation workflows: plain text, markdown content, multi-language batch, README file writing, language discovery, and runtime status. Minor gaps remain, such as translating arbitrary files other than README or managing custom glossaries, but agents can work around these with existing tools.