Skip to main content
Glama

Translation Update

translation_update

Update a Drupal entity's localized content by providing its type, ID, language code, and optional fields.

Instructions

Update translation for an entity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNo
langcodeYes
entity_idYes
entity_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Update' implies a mutation, but the description gives no detail on permissions, reversibility, what happens to unspecified fields, whether it replaces or merges, or any other behavioral trait of a write operation.

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

Conciseness2/5

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

The one-sentence description is short but under-specified rather than concise. It front-loads nothing useful and omits almost all information an agent needs to invoke the tool correctly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given four parameters, a mutation operation, no annotations, and no schema descriptions, the description is completely inadequate. The output schema exists, so return values need not be explained, but every other dimension an agent needs is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds no meaning for any of the four parameters. It does not explain what entity_type, entity_id, langcode, or fields expect, nor how they interact, so the description fails to compensate for the undocumented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (Update) and resource (translation), but 'for an entity' is vague and does not distinguish this from many sibling tools such as interface_translation_update, config_translation_add, or translation_add. An agent cannot confidently select it 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 Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. The single sentence gives no condition under which this tool should be chosen over translation_add, translation_status, or interface_translation_update.

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

Deploy Server

Other Tools