Skip to main content
Glama

klyo games: publish HTML5 browser games

Translate a game's texts (owner's own AI)

klyo_game_translate

Translations of a game's texts into the klyo languages (pl, en, de, fr, es, pt, it, ru, uk, tr). YOU TRANSLATE: the owner's assistant, on the owner's own AI plan; klyo runs no model and does not pay for translation. Two steps in one tool: (1) call with only slug to get the original field by field (oryginal), the original language, the languages with something missing (do_tlumaczenia: brakuje = fields without the developer's text in that language, czeka = fields with a proposal waiting for the owner), the check rules and okladki (which languages already have their own cover; set one with klyo_game_cover and jezyk); (2) call with slug and tlumaczenia = { language code: { field: text } } with the fields from brakuje. A language can have the developer's own description and still miss the controls or the round length: send only what is missing. Fields with the developer's text are skipped, never overwritten (pominiete_pola); missing fields you did not send come back in nadal_brakuje. Each field goes through the same check as the developer's own text: long dashes and the ellipsis character are replaced with plain ones, no markup, no longer than twice the original, the description at least 25 words with letters (opis_slow_min; a shorter one comes back with its word count), name and tagline on one line up to 80 characters, the text must be in that language, no disallowed words. A language that fails comes back in odrzucone with the reason: fix it and send it again; good languages are saved. What is saved are PROPOSALS: the owner approves them in the studio (dev.klyo.pl, the game, Translations) and only approved ones count for Google. Do not tell the user the translations are already on the page. This tool does not change the developer's own texts (English required, Polish for XP); that is klyo_fix_game. PAGE ADDRESS PER LANGUAGE: every language page of the game has its own address in that language (/de/spider-solitaer/, /uk/pasians-pavuk/), never the Polish one. Send adres with the language, or we derive it from the translated name; it is approved together with the texts and then stays stable (a later name change does not move it). ORDER: translate BEFORE the release, while the game waits (klyo_publish_game status oczekuje) and ask the owner to approve them; then the very first catalogue build has every language ready and indexable. Translations sent after the release leave those language pages for a few minutes as an unchecked machine translation, kept out of Google until approved.

Examples: • Translate my game into all klyo languages • What is missing in the translations of lantern-thief? • Add German and French versions of my game's description

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": {
      "slug": "<slug>"
    },
    "name": "klyo_game_translate"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesGame address, for example lantern-thief (from klyo_my_games).
tlumaczeniaNoOmit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with the fields listed in `do_tlumaczenia[].brakuje` for that language (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those without the developer's text; others are skipped). Optional `adres` (only where `nazwa` is missing: the address follows the name) (every language, pl and en too): the game page address in that language, the words players of that language type into Google, lowercase Latin letters, digits and single hyphens, 2 to 60 characters (German "Spider Solitär" → spider-solitaer, Ukrainian "Пасьянс Павук" → pasians-pavuk, Polish players search "durak", so the Polish page is durak, not duren from the accented Polish name). Without it we build it from the translated `nazwa` (pl and en keep their address). The address of the original language and of languages with the developer's own text is set with klyo_fix_game `adres`. A taken or reserved address comes back in `odrzucone`; after the owner approves, the old address redirects 301 to the new one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / tlumaczenia / description
      Previous value: -"Omit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with ALL the fields from `oryginal` (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those the game has). Optional `adres` (every language, pl and en too): the game page address in that language, the words players of that language type into Google, lowercase Latin letters, digits and single hyphens, 2 to 60 characters (German \"Spider Solitär\" → spider-solitaer, Ukrainian \"Пасьянс Павук\" → pasians-pavuk, Polish players search \"durak\", so the Polish page is durak, not duren from the accented Polish name). Without it we build it from the translated `nazwa` (pl and en keep their address). The address of the original language and of languages with the developer's own text is set with klyo_fix_game `adres`. A taken or reserved address comes back in `odrzucone`; after the owner approves, the old address redirects 301 to the new one."New value: +"Omit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with the fields listed in `do_tlumaczenia[].brakuje` for that language (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those without the developer's text; others are skipped). Optional `adres` (only where `nazwa` is missing: the address follows the name) (every language, pl and en too): the game page address in that language, the words players of that language type into Google, lowercase Latin letters, digits and single hyphens, 2 to 60 characters (German \"Spider Solitär\" → spider-solitaer, Ukrainian \"Пасьянс Павук\" → pasians-pavuk, Polish players search \"durak\", so the Polish page is durak, not duren from the accented Polish name). Without it we build it from the translated `nazwa` (pl and en keep their address). The address of the original language and of languages with the developer's own text is set with klyo_fix_game `adres`. A taken or reserved address comes back in `odrzucone`; after the owner approves, the old address redirects 301 to the new one."
  2. Changed1 schema field changed
    • changedInput schema / properties / tlumaczenia / description
      Previous value: -"Omit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with ALL the fields from `oryginal` (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those the game has). Optional `adres` (languages other than pl and en): the game page address in that language, lowercase Latin letters, digits and single hyphens, 2 to 60 characters, from the translated name (German \"Spider Solitär\" → spider-solitaer, Ukrainian \"Пасьянс Павук\" → pasians-pavuk). Without it we build it from the translated `nazwa`. A taken or reserved address comes back in `odrzucone`; after the owner approves, the old address redirects 301 to the new one."New value: +"Omit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with ALL the fields from `oryginal` (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those the game has). Optional `adres` (every language, pl and en too): the game page address in that language, the words players of that language type into Google, lowercase Latin letters, digits and single hyphens, 2 to 60 characters (German \"Spider Solitär\" → spider-solitaer, Ukrainian \"Пасьянс Павук\" → pasians-pavuk, Polish players search \"durak\", so the Polish page is durak, not duren from the accented Polish name). Without it we build it from the translated `nazwa` (pl and en keep their address). The address of the original language and of languages with the developer's own text is set with klyo_fix_game `adres`. A taken or reserved address comes back in `odrzucone`; after the owner approves, the old address redirects 301 to the new one."
  3. Changed1 schema field changed
    • changedInput schema / properties / tlumaczenia / description
      Previous value: -"Omit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with ALL the fields from `oryginal` (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those the game has)."New value: +"Omit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with ALL the fields from `oryginal` (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those the game has). Optional `adres` (languages other than pl and en): the game page address in that language, lowercase Latin letters, digits and single hyphens, 2 to 60 characters, from the translated name (German \"Spider Solitär\" → spider-solitaer, Ukrainian \"Пасьянс Павук\" → pasians-pavuk). Without it we build it from the translated `nazwa`. A taken or reserved address comes back in `odrzucone`; after the owner approves, the old address redirects 301 to the new one."
  4. Changed2 schema fields changed
    • changedInput schema / properties / slug / description
      Previous value: -"Adres gry, np. lantern-thief (z klyo_my_games)."New value: +"Game address, for example lantern-thief (from klyo_my_games)."
    • changedInput schema / properties / tlumaczenia / description
      Previous value: -"Pomiń, żeby zobaczyć, co przetłumaczyć. Przy zapisie: kod języka (pl, en, de, fr, es, pt, it, ru, uk, tr) → obiekt z KOMPLETEM pól z `oryginal` (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii — tylko te, które gra ma)."New value: +"Omit to see what to translate. When saving: language code (pl, en, de, fr, es, pt, it, ru, uk, tr) → an object with ALL the fields from `oryginal` (nazwa, haslo, opis, sterowanie_dotyk, sterowanie_klawiatura, czas_partii; only those the game has)."
  5. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses the crucial non-obvious behavior: saved texts are PROPOSALS requiring owner approval in the studio, existing developer text is never overwritten, per-language rejections return in `odrzucone` with reasons while good languages save, and approval timing affects whether language pages are indexed by Google. It even warns against telling the user translations are already live.

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?

Purpose and the two-step procedure are front-loaded, and capitalized section labels (PAGE ADDRESS PER LANGUAGE, ORDER) make it scannable despite its length. Some material duplicates the schema's `adres` explanation and the validation-rule list is dense, but nearly every sentence carries operational information.

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

Completeness5/5

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

With no output schema, the description covers return fields comprehensively (`oryginal`, `do_tlumaczenia` with `brakuje`/`czeka`, `okladki`, `odrzucone`, `pominiete_pola`, `nadal_brakuje`) and the validation rules that cause failures. For a nested-object, two-mode tool, nothing essential for a correct call is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that omitting `tlumaczenia` switches the tool into a read mode, defines `brakuje` vs `czeka`, and clarifies that `adres` is only needed where `nazwa` is missing and becomes stable after approval. It largely restates the adres rules already in the schema, which keeps it from a 5.

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?

States a specific verb and resource ('Translations of a game's texts into the klyo languages') plus the exact language list and who performs the translation ('YOU TRANSLATE: the owner's assistant'). It also explicitly disambiguates from klyo_fix_game ('This tool does not change the developer's own texts') and klyo_game_cover, so an agent can place it among siblings without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit two-step recipe (call with only `slug` first, then with `slug` + `tlumaczenia`), states which fields to send ('the fields from `brakuje`', 'send only what is missing'), and specifies ordering against klyo_publish_game ('translate BEFORE the release, while the game waits'). It also names the alternative route for fields that already have developer text (skipped, use klyo_fix_game).

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.