Skip to main content
Glama

Change source text

update_source_text
DestructiveIdempotent

Changes the source-language text of an existing string. With retranslate=true (default) all other languages are reset so AI translates them again from the new text; this needs "Allow disapproveAllTranslations" and "Allow deleteAllSuggestions" ticked in Project settings → API and webhook.

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": {
      "string_id": "<string_id>",
      "text": "<text>"
    },
    "name": "update_source_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesNew source text.
projectNoProject id (from list_projects) or exact project name. Optional when connected with a project API key.
string_idYes
retranslateNoReset other languages so they are translated again. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real value beyond the annotations by naming exactly what is destroyed (all other languages reset) and the two project-settings permissions required for that path. Annotations already flag destructiveHint and idempotentHint, so the description's job is the 'what gets lost and what must be enabled' detail, which it delivers. It does not say what happens to existing translations when retranslate=false or what error appears without the permissions.

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 the core action, then the conditional consequence and its prerequisite. No filler and no repetition of the title.

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, no-output-schema mutation the description covers the essential risks and setup requirements, which is what an agent needs before calling it. Minor gap: behavior in the retranslate=false case and failure mode missing permissions are left implicit.

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?

With 75% schema coverage the baseline is 3, and the description earns a notch above by spelling out the consequence of retranslate=true (other languages reset and re-translated) rather than just restating the schema line. The undescribed string_id is self-evident given the 'existing string' framing.

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?

States a specific verb and resource: changes the source-language text of an existing string. The word 'existing' plus 'source-language' implicitly separates it from create_strings and set_translations, but it never names a sibling explicitly.

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?

Gives clear decision context for the main fork in behavior: retranslate=true is the default and resets other languages, so an agent can reason about when the destructive path is intended. It stops short of explicit when-not guidance or naming alternative tools for editing translations rather than source text.

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