Skip to main content
Glama

Create backup

create_backup
Destructive

Creates a paid VPSnet backup for a specified service order, historical date, and directories after price approval. Track it via returned UUID; reuse the same idempotency key on retries.

Instructions

Create a new backup. Returns noty UUID for tracking. First call get_backup_status to see available period dates and price. Backup is a paid operation (price shown in get_backup_status). Call only after the user approves the exact service, historical date, directories and disclosed price. Reuse the same idempotencyKey and unchanged request after a lost response; never rotate the key to retry an uncertain payment. Requires services:manage and a full-access API key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "orderNo": "<orderNo>",
      "idempotencyKey": "<idempotencyKey>",
      "period": "<period>",
      "directories": "<directories>",
      "payment": "<payment>"
    },
    "name": "create_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYesBackup date in YYYY-MM-DD format. Must be one of the dates from get_backup_status options (up to 7 days in the past)
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
paymentYesPayment object. For balance: { payment: 1, successUrl: '', cancelUrl: '' }
directoriesYesDirectories to backup, e.g. '/' for full backup
idempotencyKeyYesStable unique key for this exact approved backup purchase: 16-190 ASCII letters, digits, dots, underscores, colons or hyphens; first character must be alphanumeric. Reuse unchanged on retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • changedInput schema / properties / payment / additionalProperties
      Previous value: -trueNew value: +{}
  2. First observedv2.3.16

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses that this is a paid, charge-incurring operation, that a UUID is returned for tracking, that a specific permission and key type are required, and how retries interact with payment uncertainty. The key-reuse rule adds nuance the idempotentHint=false annotation cannot express, without contradicting it: deduplication is achieved through the supplied key rather than intrinsic tool behavior.

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?

Front-loaded with the action, then prerequisites, then retry policy, with no filler sentences. Minor costs: the price is mentioned twice ("period dates and price" then "(price shown in get_backup_status)") and 'Returns noty UUID' contains a typo that briefly obscures the tracking-ID return value.

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?

For a destructive, paid mutation with five required parameters and no output schema, the description covers ordering, approval, payment, permissions and retry safety, which is nearly everything an agent needs. It does not explain why an operation labeled 'create' carries destructiveHint=true, leaving the irreversibility/overwrite risk implicit.

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 100%, so the baseline is 3; the description still adds cross-parameter meaning by tying period to the options returned by get_backup_status and by constraining what must be approved (service, date, directories) before the call. The non-obvious rule 'never rotate the key to retry an uncertain payment' genuinely extends the schema's retry note.

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?

"Create a new backup" states a specific verb and resource, and the description clarifies the return value (a tracking UUID) and the prerequisite lookup tool. It does not explicitly differentiate this backup from sibling creation tools such as create_snapshot or create_firecracker_snapshot, which share the same verb.

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?

It names the exact alternative to call first (get_backup_status) for period dates and price, imposes a hard precondition of explicit user approval of service, date, directories and price, and gives explicit retry policy for the idempotency key. Access prerequisites (services:manage, full-access API key) are also stated so the agent knows when the call will fail.

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