Skip to main content
Glama

add_comment

Add a Trados Studio comment to a segment or an exact target substring, and assign optional severity for clear review feedback.

Instructions

Add a Trados Studio comment on a segment or on an exact substring on inside its target.

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>",
      "text": "<text>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
onNo
textYes
severityNoLow

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It says 'add', implying a mutation, but discloses nothing about whether the document must be open, whether the comment persists to disk, whether the write is reversible, or any permission requirements. The existing output schema excuses it from describing return values, but the mutation's side effects remain undocumented.

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 front-loaded sentence with no filler; the anchoring distinction comes early. Phrasing is slightly awkward ('substring `on` inside its target'), but nothing is wasted.

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?

For a four-parameter mutation with zero annotation coverage and zero schema descriptions, the description is thin. It omits the identity of `id`, the severity option, and all preconditions or side effects, leaving an agent unable to invoke it confidently beyond the common case.

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 coverage is 0%, so the description must compensate, and it only partially does: it explains `on` as an exact substring within the target (and implies the null default means segment-level). It says nothing about what `id` identifies (segment? document?), nothing about `text`, and never mentions the `severity` enum or its Low default.

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 gives a specific verb (add) and resource (a Trados Studio comment) and clarifies the two anchoring modes: whole segment versus an exact substring inside the target. That is enough to distinguish it from read-side siblings like get_comments, though 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?

Usage is implied only. It explains the choice between anchoring on the segment versus a substring via `on`, but never states prerequisites such as an active document or loaded segment, nor does it point to get_comments for reading existing comments.

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