Skip to main content
Glama

SumOffice — real Word and Excel for agents

Save a copy of the edited file

document_save_copy

Write the document or workbook as it is now in this session's cabin (after applied proposals) to a copy and return a download link valid for 24 hours. Your original file is never touched. A workbook with macros comes back as .xlsm with the VBA project intact; a document keeps its styles, comments and tracked changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inlineNoalso return the bytes as base64 (only for files up to 4 MB)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/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 clearly states the original is never touched (non-destructive), describes behavior for macros (.xlsm with VBA intact) and documents (styles, comments, tracked changes preserved). This goes beyond a simple 'save' and discloses format-specific behaviors, which is valuable. However, it doesn't mention rate limits, auth requirements, or what happens if the file exceeds size limits for inline (though that's in schema). Does not contradict annotations (none exist).

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, front-loaded with the primary action and outcome (download link valid for 24 hours). The second sentence provides useful detail on format preservation. No fluff, but could be slightly more compact without losing meaning. It earns a 4 for efficiency and clarity.

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?

Given low complexity (1 parameter with full schema coverage, no output schema), the description is complete enough for an agent to call it correctly. It covers the return type (download link) and the session context. The only minor omissions are handling of errors (e.g., if the session has no edits) or explicit output structure, but these are not critical given the simplicity.

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 coverage is 100% (the only parameter inline is fully described in the schema). The description adds a bit of context by explaining the purpose of inline (returning base64 bytes) but doesn't add major new semantics—the schema already explains it. Baseline 3 is appropriate.

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?

States a specific verb (write/save) and resource (copy of the document), and explicitly says it does not touch the original. Distinguishes itself from siblings by focusing on saving a copy and generating a download link, which is unique among the listed tools. The description clearly differentiates from document_export_pdf (which exports to PDF) and document_open (which opens files).

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?

Clear context: use after applied proposals in this session's cabin. It implies a when-to-use (after edits are applied) without explicitly stating alternatives or when-not-to-use. It doesn't mention when to prefer other tools like export_pdf or open, but the context of creating an editable copy is implied. A slight gap is the lack of explicit exclusion for other file operations.

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.

Resources