Skip to main content
Glama

save_document

Persist changes to the active Trados Studio Editor document; set save_all=True to save every open document in one action.

Instructions

Save the active Editor document (or all open documents when save_all=True).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
save_allNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the meaningful behavioral branch that save_all=True saves every open document rather than just the active one, but it says nothing about whether the operation requires unsaved changes, whether it prompts or reports failures, or whether it is reversible.

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?

One sentence with zero waste. The primary behavior is front-loaded and the parameter-conditional branch follows immediately in parentheses.

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?

An output schema exists, so return values need not be explained, and the single parameter is fully covered. For a mutation tool with no annotations, the remaining gap is the absence of preconditions and failure behavior, which is a real but modest omission.

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

Parameters4/5

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

Schema description coverage is 0% and there is a single parameter, so the description must explain it, and it does: save_all=True switches the target from the active document to all open documents. The default false is already in the schema, and no further syntax exists to document.

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 (save the active Editor document) and clarifies the scope branch for save_all. No sibling performs a save, so there is no ambiguity to resolve, though the definition does not explicitly contrast with siblings such as check_document or get_active_document.

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?

The intent to persist edits is implied by 'Save', and the save_all=True branch is called out, but there is no explicit when-to-use guidance, no prerequisites (e.g., must a document be open or modified), and no statement of alternatives.

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