Skip to main content
Glama

Set translations

set_translations
DestructiveIdempotent

Saves approved translations for existing strings (up to 200 per call). Replaces the current approved translation of that language.

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

Input Schema

NameRequiredDescriptionDefault
projectNoProject id (from list_projects) or exact project name. Optional when connected with a project API key.
translationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description still earns credit for stating exactly what destruction means — the current approved translation of that language is replaced — which the annotations alone cannot convey. The per-call cap of 200 is also useful operational context. It does not cover failure behavior (e.g., unknown string_id or disabled language).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler, and the core effect plus the replacement warning are front-loaded before the batch-size note. Nothing could be removed without losing signal.

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?

For a destructive batch mutation, the description covers the essential risk (overwriting the existing approved translation) and the batching constraint, with no output schema needing explanation. It could be stronger by noting that unknown or nonexistent string_ids fail the call, but nothing critical is missing for a correct invocation.

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 50%, with the nested translations array documented only partially (language has a description, string_id and text do not). The description adds the batch limit and the replace-existing semantics for the translations payload, which is real value, but it does not explain where string_id comes from or how the optional project parameter interacts with a project API key — that is left entirely to 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?

"Saves approved translations for existing strings" is a specific verb+resource, and the parenthetical batch cap plus the replacement semantics make the effect concrete. It implicitly separates itself from source-text tools like create_strings by scoping to translations of existing strings, but never names a sibling, so it stops short of full differentiation.

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?

Usage is only implied: the phrase "for existing strings" tells the agent strings must already exist before calling, and "up to 200 per call" signals batching. There is no explicit when-not guidance, no mention of add_languages as a prerequisite for the target language, and no pointer to find_strings for obtaining string_ids.

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