Skip to main content
Glama

backup

Create timestamped ZIP backups of directories with configurable exclude patterns. Supports dry-run preview and custom exclude files.

Instructions

Creates a timestamped zip backup of a directory. Output: {dirname}_{YYYYMMDD_HHMMSS}.zip Default excludes: .git, node_modules, pycache, binaries. Custom excludes can be added via the excludes parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoAbsolute path to the directory to backup
pathNoAlias for source
output_dirNoAbsolute path to the backup output directory. Default: ./backups/
excludesNoGlob patterns to exclude (e.g. node_modules, *.log, .git)
excludes_fileNoAbsolute path to a file containing exclude patterns (one per line). Lines starting with # are comments. Patterns are appended to excludes list
dry_runNoPreview backup without creating archive: true or false. Shows summary with directory counts, exclude pattern matches, and largest files. Default: false
Behavior3/5

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

The description explains output format and default excludes, which is helpful. However, it lacks details on error handling, overwrite behavior, or permissions required. With no annotations, more behavioral context would be beneficial.

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 three sentences, front-loaded with the verb and resource. Every sentence adds valuable information without redundancy.

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

Completeness3/5

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

The description explains the output format, which compensates for the lack of output schema. However, it omits details on error states, performance impact, or edge cases. The presence of two source-related parameters (source and path) is not disambiguated.

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%, so the descriptions in the schema are sufficient. The description adds the context of default excludes and output format, but does not add significant meaning beyond the already described parameters.

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 it creates a timestamped zip backup of a directory, with specific output format. This distinguishes it from siblings like compress and copy.

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 does not specify when to use this tool versus alternatives (e.g., compress for single files, copy for simple copies). No explicit when-not-to-use or prerequisites.

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/knewstimek/agent-tool'

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