Skip to main content
Glama
Lara Translate MCP Server

Lara Translate MCP Server

by translated

export_glossary

Read-onlyIdempotent

Exports glossary terms as CSV from your Lara Translate account, supporting unidirectional and multidirectional formats for translation term management.

Instructions

Exports a glossary as CSV from your Lara Translate account. Supports unidirectional and multidirectional formats.

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": {
      "id": "<id>",
      "content_type": "<content_type>"
    },
    "name": "export_glossary"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe glossary ID (format: gls_*, e.g., 'gls_xyz123')
sourceNoThe source language to export. Required with 'csv/table-uni': one of the language keys get_glossary_counts returns.
content_typeYesThe export format. It must match the glossary: get_glossary_counts returns 'unidirectional' (use 'csv/table-uni', requires source) or 'multidirectional' (use 'csv/table-multi').

Output Schema

NameRequiredDescriptionDefault
valueYesThe exported glossary content serialised as CSV

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.2.1
    • changedInput schema / properties / content_type / description
      Previous value: -"The export format. 'csv/table-uni' for unidirectional (requires source parameter), 'csv/table-multi' for multidirectional"New value: +"The export format. It must match the glossary: get_glossary_counts returns 'unidirectional' (use 'csv/table-uni', requires source) or 'multidirectional' (use 'csv/table-multi')."
    • changedInput schema / properties / source / description
      Previous value: -"The source language code. Required when content_type is 'csv/table-uni'"New value: +"The source language to export. Required with 'csv/table-uni': one of the language keys get_glossary_counts returns."
  2. Changed1 schema field changedv1.0.4
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "value": {
      +      "description": "The exported glossary content serialised as CSV",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "value"
      +  ],
      +  "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 readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, covering the safety profile. The description adds only that output is CSV and that two format families (uni/multidirectional) exist, without describing how the format choice interacts with the glossary or what happens on mismatch — a modest addition beyond structured data.

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 zero padding, leading with the action and resource. Nothing is redundant with the title or annotations, and every clause contributes.

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?

With an output schema present, the return value need not be explained, and the annotations cover safety. The only residual gap is that the description never states the format/glossary-matching prerequisite in prose, though the schema does describe it fully.

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%, including a detailed content_type description tying it to get_glossary_counts and a conditional source parameter, so the schema carries the parameter burden. The description's mention of unidirectional/multidirectional formats mirrors rather than extends that, 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?

The description states a specific verb and resource ('Exports a glossary as CSV') and names the account context, so the operation is unambiguous. It does not explicitly distinguish itself from siblings like get_glossary or import_glossary_csv, but the CSV/export framing makes the distinction reasonably clear.

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?

Usage is implied by the verb 'Exports' — an agent knows to use this when it wants a downloadable CSV rather than JSON glossary data. However, there is no explicit when-to-use/when-not guidance and no pointer to alternatives such as get_glossary for reading entries, nor any mention of the prerequisite that content_type must match the glossary's directionality.

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