Skip to main content
Glama

pack-backup

Destructive

Packs a backup folder into tar or tar.gz, or pulls/pushes one file with SHA-256 checksum verification to validate backup transfers.

Instructions

dbabrain common.cli pack-backup: A backup folder packed, or one file pulled or pushed, with checksums. Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line. Request fields (pass them as request):

  • host: The host: {host, port, username, password|key_file}.

  • folder: pack-backup: the folder.

  • files: pack-backup: or named files.

  • archive_path: pack-backup: the archive.

  • format: pack-backup: tar | tar.gz.

  • remote_path: pull/push: the file there.

  • local_path: pull/push: the file here.

  • sha256: The checksum it must match.

  • timeout_seconds: How long to wait.

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": "pack-backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, and the description adds genuinely useful context beyond them: the confirm/reason gate for emergency operations, checksum verification via sha256, and the existence of three distinct modes. It stops short of saying what gets overwritten or whether an existing archive is replaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The bulleted field list is scannable and front-loaded with the purpose, but several bullets waste words restating the tool name ('pack-backup: the folder', 'pack-backup: the archive'), and the first sentence is grammatically awkward. It is compact overall but not tight.

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 destructive/confirm behavior is covered. Remaining gaps are mode interaction (pack vs pull vs push) and whether existing archives are overwritten — modest omissions for a destructive multi-mode tool.

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 coverage is 0% and the single `request` parameter is an untyped object, so the description carries the full burden — and it does enumerate nine request fields with brief meanings (host, folder, files, archive_path, format, remote_path, local_path, sha256, timeout_seconds). The field explanations are terse and the format enum values are only given as 'tar | tar.gz' without stating a default.

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?

The opening sentence names concrete operations and resources: packing a backup folder into an archive, or pulling/pushing a single file, with checksums. It is clear enough to distinguish from a generic file operation, but it never contrasts with the sibling pack-files, so the agent must guess which packing tool to use.

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

Usage Guidelines2/5

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

The description states a prerequisite (the emergency-operations list requires `confirm: "yes"` and a `reason`) but gives no guidance on when to choose this over pack-files or backup-database. It also never clarifies whether the pack, pull, and push modes are mutually exclusive or how to select among them.

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

Deploy Server

Other Tools