Skip to main content
Glama

save

Destructive

Save DOCX with clean or tracked output. For Google Docs, create checkpoint or export as DOCX.

Instructions

Save document. For DOCX: saves clean and/or tracked changes output. For Google Docs: checkpoint (default) returns revisionId, or snapshot exports as DOCX.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNoPath to the DOCX file.
google_doc_idNoGoogle Doc ID or URL (alternative to file_path). Extract from URL: docs.google.com/document/d/{ID}/edit
save_to_local_pathYes
clean_bookmarksNo
save_formatNo
allow_overwriteNo
tracked_save_to_local_pathNo
tracked_changes_authorNo
tracked_changes_engineNo
fail_on_rebuild_fallbackNoWhen true, return an error instead of a destructive output if the comparison engine falls back to rebuild mode (which destroys table structure). Default: false.
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds valuable context about the different save modes (clean/tracked, checkpoint/snapshot), which helps the agent understand behavioral nuances beyond the annotations.

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?

Two concise sentences with front-loaded purpose and specific details. No filler or redundant information.

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?

Given 10 parameters and no output schema, the description is minimal. It covers only two document types but leaves many parameters unexplained, which is insufficient for a tool of this complexity.

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 only 30%, and the description only explains google_doc_id and implicitly save_format. Most parameters (e.g., clean_bookmarks, allow_overwrite, tracked_* fields) are left undocumented, failing to compensate for the low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool saves documents, with distinct behaviors for DOCX (clean/tracked changes) and Google Docs (checkpoint or snapshot export). It effectively distinguishes from sibling tools like compare_documents or read_file.

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 description provides context on when to use the tool for DOCX vs Google Docs, but does not explicitly state when not to use it or mention alternative tools for specific scenarios like local file saving without tracked changes.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UseJunior/safe-docx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server