Skip to main content
Glama

Re-import strings corpus

strings_reimport
DestructiveIdempotent

Re-submit the WHOLE current corpus against an existing master: the server diffs by unit id and answers with {units, versions[], delta_block_ids} — pass delta_block_ids VERBATIM as group_run_start.block_ids to run only the delta. Unchanged units keep their translations. Synchronous, bills nothing.

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": {
      "document_id": "<document_id>",
      "document": "<document>"
    },
    "name": "strings_reimport"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentYesThe WHOLE current .tstrings.json corpus inline (same shape as strings_import). Units missing from it are removed.
document_idYesThe master document the corpus was first imported as.
overwrite_targetsNoLet the corpus’s targets overwrite translations Transept already holds for changed units (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / document / description
      Added value: +"The WHOLE current .tstrings.json corpus inline (same shape as strings_import). Units missing from it are removed."
    • addedInput schema / properties / document_id / description
      Added value: +"The master document the corpus was first imported as."
    • addedInput schema / properties / overwrite_targets / description
      Added value: +"Let the corpus’s targets overwrite translations Transept already holds for changed units (default false)."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, and the description adds real context beyond that: unchanged units keep their translations, and the call is synchronous and bills nothing. It does not say what permissions are needed or how removal of units missing from the corpus interacts with existing runs.

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?

Two sentences plus a short clause, front-loaded with the core action and the diff model, with no filler. The em-dash subordination of the delta handoff is slightly dense but still readable.

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 no output schema, the description helpfully names the response shape {units, versions[], delta_block_ids} and explains how to consume the delta. Missing details are auth requirements and failure behavior on a mismatched master, which are minor for a synchronous, idempotent tool.

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 three parameters are already documented, including the overwrite_targets default. The description reinforces that document must be the WHOLE corpus, but adds no format or scoping detail for document_id or overwrite_targets beyond the schema.

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 action against a specific resource: re-submit the whole corpus against an existing master, then diff by unit id. An agent knows this is the re-import path rather than a first import, though the description never names strings_import as the first-import alternative explicitly.

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

Usage Guidelines4/5

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

Gives concrete downstream guidance: take delta_block_ids VERBATIM and pass it as group_run_start.block_ids to run only the delta, which chains this tool to the next step an agent needs. It lacks explicit when-not guidance (e.g. what to do for a brand-new corpus or when overwrite_targets should be flipped).

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.