Skip to main content
Glama

batch_set_targets

Batch-update translation targets and segment statuses in Trados Studio, previewing changes by default and requiring explicit confirmation before applying.

Instructions

[DESTRUCTIVE/BULK] Batch-update targets (dry_run=True preview by default; requires confirm=True to apply).

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": {
      "updates": "<updates>"
    },
    "name": "batch_set_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
dry_runNo
updatesYes
strict_qaNo
max_changesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the most important trait: this is a destructive bulk write gated behind an explicit confirm flag with a dry-run default. However, it omits other significant behavior encoded in the schema defaults, notably max_changes=50 (silent truncation of large batches) and strict_qa=True (writes may be rejected on QA failure), plus partial-failure semantics for a batch operation.

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?

A single sentence with the severity marker front-loaded, so the agent sees 'DESTRUCTIVE/BULK' before anything else. Nothing is wasted, though the terseness is partly the cause of the missing parameter coverage rather than a virtue.

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

Completeness2/5

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

An output schema exists so return values needn't be explained, but for a destructive bulk mutation with five parameters and zero top-level schema coverage, one bracketed sentence is thin. The agent cannot tell what happens to segments beyond the 50-change cap or how strict QA affects partial application.

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

Parameters2/5

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

Schema description coverage is 0% for the top-level parameters; only the nested SegmentUpdateInput fields carry text. The description explains dry_run and confirm, which is real added value, but leaves strict_qa and max_changes entirely undefined despite both having consequential defaults that change the outcome of a call.

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 and resource ('Batch-update targets') and the 'BULK' marker implicitly contrasts it with the single-segment set_segment_target sibling. It does not name the alternative explicitly, so an agent must infer the batch-vs-single split, but the scope is unambiguous.

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?

Gives usable invocation guidance in the form of the two-phase protocol: dry_run=True preview by default, confirm=True to apply. There is no guidance on when to prefer this over set_segment_target repeated per segment, nor any prerequisite or pre-check advice (e.g. check_tags/check_numbers first).

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