Skip to main content
Glama

publish_translations

Destructive

Publish translations to any SimpleLocalize environment, automatically using _latest when none is specified. Optionally attach labels for the latest environment.

Instructions

This tool will publish translations to the specified environment in your SimpleLocalize project.

  • If no environment is specified by the user, then _latest environment should be used as 'environmentKey'.

  • Optionally provide 'labels' (array of strings). Labels can be specified only for the _latest environment.

  • Translations are always published in order that they were specified in the Translation Hosting environments list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
labelsNoOptional labels. Labels can be specified only for the _latest environment. Max 50.
environmentKeyYesEnvironment key (e.g. _latest, _production or custom key). If user doesn't specify an environment, then _latest should be used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already signal destructiveness and non-idempotency, so the description's burden is lower. It adds useful behavioral context beyond the annotations: the default 'environmentKey' behavior, the label restriction to _latest only, and the guaranteed publishing order. No contradiction with annotations.

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?

The description is compact, front-loaded with the core purpose, and uses three scannable bullets for the key behavior. Every sentence adds useful information, and there is no fluff or redundant filler.

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?

For a two-parameter tool with destructive annotations and no output schema, the description covers the important user-facing behaviors: default environment, optional label constraint, and publishing order. An agent has enough information to invoke the tool correctly without needing additional context.

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 100%, so both parameters are already documented in the schema. The description essentially restates the default for environmentKey and the label constraint, adding little semantic value beyond what the structured schema already provides. Baseline 3 is appropriate.

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 ('publish'), a specific resource ('translations'), and the target scope ('specified environment in your SimpleLocalize project'). This clearly distinguishes the operation from sibling import/export/update tools, and the name does not need to be inferred.

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?

The description implies usage: publish translations when an environment target is known, and it gives a concrete rule for when no environment is specified (use _latest). However, it never explicitly states when to prefer this over import_translations or other translation-mutation siblings, nor does it mention any exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.