Skip to main content
Glama
translated

Lara Translate MCP Server

by translated

add_glossary_entry

DestructiveIdempotent

Add or replace terms in a Lara Translate glossary entry, supporting both monodirectional and multidirectional glossary setups.

Instructions

Adds or replaces an entry in a glossary in your Lara Translate account. Supports both monodirectional and multidirectional glossaries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe glossary ID (format: gls_*, e.g., 'gls_xyz123')
guidNoOptional entry identifier. Use this for multidirectional glossaries or to update a specific entry.
termsYesArray of terms with language and value. For monodirectional glossaries, the first term is the source and the rest are targets. For multidirectional glossaries, all terms are treated equally. Use the list_languages tool to get supported language codes.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesImport job identifier
endNoEnd offset of the import
sizeNoTotal number of entries in the import
beginNoBegin offset of the import
channelNoChannel identifier used by the import
progressNoImport progress between 0 and 1 (1 means complete)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • removedOutput schema / additionalProperties
      Removed value: -{}
  2. Changed1 schema field changedv1.0.4
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": {},
      +  "properties": {
      +    "begin": {
      +      "description": "Begin offset of the import",
      +      "type": "number"
      +    },
      +    "channel": {
      +      "description": "Channel identifier used by the import",
      +      "type": "number"
      +    },
      +    "end": {
      +      "description": "End offset of the import",
      +      "type": "number"
      +    },
      +    "id": {
      +      "description": "Import job identifier",
      +      "type": "string"
      +    },
      +    "progress": {
      +      "description": "Import progress between 0 and 1 (1 means complete)",
      +      "type": "number"
      +    },
      +    "size": {
      +      "description": "Total number of entries in the import",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "id"
      +  ],
      +  "type": "object"
      +}
  3. Addedv1.0.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered; the description's 'adds or replaces' is consistent with the idempotent/replace semantics. It adds the monodirectional vs multidirectional capability, which annotations do not convey, but does not explain what a replace destroys or any auth/rate-limit constraints.

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 short sentences with the core action front-loaded and the glossary-type nuance second; every clause earns its place with no filler.

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 and the input schema is rich, so return values and parameter details need not be repeated. For a destructive, idempotent mutation the description is adequate, though it could have noted that the target glossary must exist and that replacement overwrites existing term data.

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 the schema already documents id format, guid usage, and the terms array structure including the source/target ordering for monodirectional glossaries. The description adds no parameter-level detail beyond what the schema provides, so the baseline 3 applies.

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 pair (adds or replaces) and a specific resource (an entry in a glossary in your Lara Translate account). The 'adds or replaces' framing implicitly separates it from the sibling delete_glossary_entry, but no sibling is named explicitly.

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 'adds or replaces' phrasing and the mention of monodirectional vs multidirectional glossaries imply when the tool applies, but there is no explicit when-to-use guidance, no statement of prerequisites (e.g. glossary must exist), and no routing to alternatives such as update_glossary or delete_glossary_entry.

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