Skip to main content
Glama

Set world translations

set_translations
DestructiveIdempotent

Optional: write your own translation of a world's text into one language instead of leaving it to Lunafic's translator. Players whose language is lang see it on the world page, the character pages and the wiki, with "Translated from …" and a link to the original. Send the paths from get_translations. Write it the way a native writer of that language would, keep the meaning and tone, and keep placeholders like {{player}} exactly. A first move keeps its " — " between the title and the description. Pass sourceHashes from get_translations so a field whose original changed in the meantime is skipped. The translator never redoes a field you wrote while its original is unchanged. At most 400 fields a call.

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": {
      "lang": "<lang>",
      "items": "<items>"
    },
    "name": "set_translations"
  }
}

Input Schema

NameRequiredDescriptionDefault
langYes
slugNo
itemsYes
worldIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Adds real context beyond the annotations: translations become player-visible on world, character and wiki pages with 'Translated from …' attribution and a link, stale fields are skipped via sourceHashes, and the translator will not redo a field whose original is unchanged. It does not explicitly state that existing manual translations are overwritten, which is the key implication of destructiveHint=true, so the destructive profile is only partially disclosed.

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?

Front-loaded with the 'Optional:' framing and the core action, then builds out prerequisites, constraints and limits in a compact sequence of sentences. Dense but nearly every sentence carries operational information; the player-visibility sentence is slightly long but justifies itself as a side-effect disclosure.

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

Completeness3/5

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

For a destructive, non-read-only mutation with no output schema and no schema descriptions, the description covers visibility, staleness handling and rate limits well, but omits overwrite semantics and the meaning of worldId, slug, entityType and entityId. An agent could still call it incorrectly by guessing at those identifying parameters.

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 0%, so the description must compensate. It adds meaning for lang (one language), items/fields (paths from get_translations, preserve {{player}} placeholders, keep the ' — ' separator in first moves), and sourceHashes (skip fields whose original changed), but leaves slug, worldId, entityType and entityId entirely unexplained — including the ambiguity between worldId and slug.

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 — write your own translation of a world's text into one language — and frames it against the default (Lunafic's translator) and the sibling get_translations used to obtain paths. An agent can distinguish it from read-only translation tools without opening any 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?

Clearly marks the tool as optional and explains the alternative (leave the text to Lunafic's translator), plus a prerequisite: send paths from get_translations. Constraints are stated (max 400 fields per call, sourceHashes to skip changed originals), but there is no explicit 'do not use when…' case, e.g. when to prefer re-reading with get_translations first.

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