Skip to main content
Glama

Import into translation memory

tm_import

Import a TMX/XLIFF file’s text into translation memory (free; async embeddings).

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": {
      "format": "<format>",
      "content": "<content>"
    },
    "name": "tm_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesFormat of content.
contentYesThe whole TMX or XLIFF file as text.
project_idNoProject to attribute the entries to (id from project_list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / content / description
      Added value: +"The whole TMX or XLIFF file as text."
    • addedInput schema / properties / format / description
      Added value: +"Format of content."
    • addedInput schema / properties / project_id / description
      Added value: +"Project to attribute the entries to (id from project_list)."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, so the safety profile is covered. The description adds genuinely new context — the operation is free and embeddings are generated asynchronously — but stops short of saying whether a job handle is returned or how completion is tracked.

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

Conciseness4/5

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

One front-loaded sentence with the verb and resource first and the cost/async caveats in a compact parenthetical. No wasted wording, though the terseness leaves gaps rather than being over-long.

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 three-parameter mutation tool with no output schema, the core action and its cost/async nature are stated. Missing is what the caller gets back and how to observe async embedding progress, which matters given the explicit 'async' claim.

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%, so format, content, and project_id are all documented in the schema itself. The description only echoes the format enum via 'TMX/XLIFF' and the whole-file nature of content; it adds nothing about project_id attribution or size limits.

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?

Names a specific verb ('Import') and target resource ('translation memory'), and pins the accepted formats to TMX/XLIFF. It is clear what the tool does, though it does not differentiate itself from siblings such as tm_query or strings_import.

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?

No when-to-use or when-not-to-use guidance is given. An agent cannot tell from the description whether this is the right entry point versus strings_import or when to prefer querying an existing TM.

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.