Skip to main content
Glama

create_backup

Create a RouterOS system backup file that captures the device's full configuration to binary storage. Preview the target file first, then confirm to save without overwriting existing backups.

Instructions

Create a RouterOS system backup file (/system/backup/save name=<name>) - captures the device's full configuration into one binary .backup file on its own storage. Use list_backups afterward to confirm it landed and see its real size/creation-time.

password, if given, is RouterOS's own backup-FILE encryption option (unrelated to any device/API credential) - forwarded to the device, but NEVER included in the returned preview, and never journaled. See guard.create_backup's docstring for how that redaction is enforced.

WRITE tool, guarded: blocked entirely unless the server is running with MIKROTIK_ALLOW_WRITE=true. Call with confirm=False (the default) to get a preview of the file that would be created without changing anything; call again with confirm=True to actually create it. Errors clearly (without creating anything) if a .backup file matching name already exists on the device - it never silently overwrites one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
confirmNo
passwordNo
device_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly: it discloses that this is a guarded WRITE operation blocked unless `MIKROTIK_ALLOW_WRITE=true`, that `confirm` controls preview vs execution, that existing files cause an error instead of being overwritten, and that `password` is a file-encryption option never returned or journaled. These are exactly the behavioral traits an agent needs.

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?

The description is front-loaded with the purpose and command, then walks through follow-up, parameter caveats, and write-guard behavior. It is appropriately sized for a guarded write tool with no annotations, though the reference to `guard.create_backup`'s docstring is a slight indirection that could be trimmed.

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 that an output schema exists, the description need not explain return values, and it focuses on behavior: guard requirements, confirmation workflow, no-overwrite policy, and password redaction. The only missing piece is any guidance on `device_name`, but otherwise it is complete for a write tool of this complexity.

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 description coverage is 0%, so the description must compensate. It explains `password` (RouterOS file encryption, never exposed) and `confirm` (preview versus actual creation) in detail, and implies `name` as the file identifier, but `device_name` is not described at all. Two and a half of four parameters are given meaning, leaving a notable gap.

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 states a specific action (create a RouterOS system backup) and the exact resource (binary `.backup` file on device storage), even including the underlying command. It also distinguishes itself from `list_backups`, which is the follow-up verification tool, so an agent can tell the two apart without opening either schema.

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?

It gives clear invocation guidance: use `confirm=False` for a preview, then `confirm=True` to execute, and check results with `list_backups`. There is no explicit 'when not to use' alternative for creation, but the write guard and the no-overwrite behavior implicitly set the context.

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