Skip to main content
Glama

Translate Training Module

translate_module
Destructive

Translate a module's questions into other locales. Charges workspace credits per target language (see get_credit_costs); if the balance can't cover every target, nothing is translated.

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": {
      "moduleId": "<moduleId>",
      "targetLocales": "<targetLocales>"
    },
    "name": "translate_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
moduleIdYes
targetLocalesYes

Output Schema

NameRequiredDescriptionDefault
moduleIdNo
translatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds two genuinely useful non-obvious traits beyond that: per-target-language credit charges and all-or-nothing atomicity when the balance cannot cover every target. It does not disclose what happens to translations that already exist for a locale, which is the main remaining behavioral gap for a destructive tool.

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 sentences, front-loaded with purpose, then the cost and atomicity constraint. No filler, no repetition of the title, and every clause carries decision-relevant information.

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?

An output schema exists, so return values need not be explained, and the two-parameter surface is simple. The description covers cost and atomicity well but omits locale formatting and overwrite semantics for existing translations, a notable gap given destructiveHint=true.

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 schema names the two parameters but explains nothing about them. The description compensates partially by clarifying that cost scales with the number of target languages, making the array cardinality meaningful, but it gives no locale format or constraint (e.g. 'en-US' vs 'en') and says nothing about moduleId beyond the module context.

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 ('Translate a module's questions') with a scope that clearly differs from the other translate_* siblings, which target knowledge-base articles, videos, manuals, and scenes rather than module questions. An agent can identify the right tool without opening the 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?

It gives clear usage context: the call consumes workspace credits per target language and points to get_credit_costs for pricing, which is an actionable prerequisite. It stops short of stating exclusions (for example, what to do if no locales need translating, or when to prefer list_module_translations to check existing coverage).

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