Skip to main content
Glama

Save document

save_document

Saves generated resume files (docx/PDF) into the Resumes folder by copying from a source path, with automatic backup before overwriting to prevent data loss.

Instructions

Save a generated document (docx or PDF) into the Resumes folder (created if missing). PREFERRED: pass source_path — the full path to a file already written to disk (e.g. one the docx/pdf skill just generated). The server copies it; this is instant and cannot corrupt the file. FALLBACK: content_base64, for SMALL files only (~15 KB decoded max). Base64 must be generated token-by-token, so a typical 50 KB resume takes minutes and may exceed the response limit outright — use source_path for anything binary or non-trivial. Give exactly one of the two. Refuses to overwrite an existing file unless overwrite=true, in which case the old file is backed up first. Returns the saved path and size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYesFile name only (no folders), e.g. "Dale-Magrath-Resume-Acme-Corp.docx".
overwriteNoIf false (default), refuse to replace an existing file.
source_pathNoPREFERRED. Absolute path to an existing file to copy into the Resumes folder. Use this for any real document.
content_base64NoFallback for small files only (~15 KB decoded). Base64-encoded file bytes; a data: URL prefix is tolerated. Prefer source_path.
Behavior5/5

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

No annotations exist, but the description compensates fully. It discloses folder creation, copy behavior (instant, cannot corrupt), base64 inefficiency, overwrite refusal with backup, and the return value (path and size). This is comprehensive behavioral disclosure.

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?

The description is concise yet well-structured: purpose in the first sentence, then PREFERRED/FALLBACK formatting, then overwrite behavior and return value. Every sentence contributes no waste.

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

Completeness5/5

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

For a file-saving tool with 4 well-documented params and no output schema, the description fully covers behavior, parameter selection, safety considerations, and expected return. No critical information is missing.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds critical depth: why source_path is preferred (instant, no corruption), why content_base64 is limited (token-by-token generation, response limit), and the mutual exclusivity of the two parameters. This goes beyond the schema's descriptions.

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 'Save a generated document (docx or PDF) into the Resumes folder' with a specific verb, resource, and destination. This distinguishes it from sibling tools like list_documents, delete_document, and read_document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly provides PREFERRED (source_path) and FALLBACK (content_base64) usage paths, including size limits and performance tradeoffs. It also instructs 'Give exactly one of the two', giving clear guidance on parameter selection.

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/DaleMagrath/mcp-job-tracker'

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