Skip to main content
Glama

Edit translation

block_translation_update
DestructiveIdempotent

Edit a translation (Slate JSON); it stays active and feeds TM.

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": {
      "translation_id": "<translation_id>",
      "translated_content": "<translated_content>"
    },
    "name": "block_translation_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
translation_idYesTranslation id (translation.id inside blocks in document_content_get, format json).
translated_contentYesThe new translation as Slate JSON: an array of element nodes, e.g. [{"type":"paragraph","children":[{"text":"Hello"}]}]. Read the current value with document_content_get (format json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / translated_content / description
      Added value: +"The new translation as Slate JSON: an array of element nodes, e.g. [{\"type\":\"paragraph\",\"children\":[{\"text\":\"Hello\"}]}]. Read the current value with document_content_get (format json)."
    • addedInput schema / properties / translation_id / description
      Added value: +"Translation id (translation.id inside blocks in document_content_get, format json)."
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare non-read-only, idempotent, destructive, and closed-world behavior. The description adds useful consequence context: the translation remains active and feeds TM, but it does not explain that translated_content overwrites existing content or what destructive behavior means in practice.

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?

A single compact sentence, front-loaded with the action and resource, and the second clause adds behavioral value. There is no filler.

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 two-parameter mutation tool, the description is compact but omits usage routing against siblings and does not spell out overwrite/destructive consequences. The rich schema and annotations cover most mechanical details, leaving a moderate gap.

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 100% and both required parameters are fully documented in the schema, including Slate JSON structure and how to read the current value. The description's only parameter-relevant detail is 'Slate JSON,' which the schema already explains.

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 ('Edit') and resource ('a translation'), plus the content format and downstream effect. It does not explicitly differentiate from siblings like block_update or document_update, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives no when-to-use or when-not-to-use guidance, no alternative routing, and no prerequisites. The note that it 'stays active and feeds TM' describes an effect rather than selection criteria.

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.