Skip to main content
Glama

Restore managed application data

restore_application_data
DestructiveIdempotent

Restore only the selected managed application's declared data from an eligible nightly backup after approving the quoted charge and replacement of current data.

Instructions

Pay for and queue replacement of only the selected managed application's declared data from one eligible nightly server backup. First call quote_application_data_restore, disclose its exact total charge, and obtain explicit approval for both that charge and replacement of current data. Use the exact quote token and same idempotency key. The worker derives every path, excludes secrets and unrelated Docker/server data, and requires rollback capacity. Requires applications:manage; API keys additionally require paid operations, applications:restore, and spend caps.

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>",
      "installation_id": "<installation_id>",
      "backup_point_id": "<backup_point_id>",
      "expected_revision": "<expected_revision>",
      "acknowledge_data_replacement": "<acknowledge_data_replacement>",
      "acknowledge_restore_charge": "<acknowledge_restore_charge>",
      "quote_token": "<quote_token>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "restore_application_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
quote_tokenYesExact short-lived quote token returned by quote_application_data_restore
idempotencyKeyYesClient-global unique key. Reuse it only to replay this exact restore request.
backup_point_idYesOpaque eligible backup-point UUID returned by list_application_restore_points
installation_idYesManaged application installation UUID
expected_revisionYesCurrent installation revision returned by get_application_installation
acknowledge_restore_chargeYesTrue only after the user explicitly approves the exact total_charged returned by quote_application_data_restore
acknowledge_data_replacementYesTrue only after the user explicitly confirms replacement of the current declared application data

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.3.21
    • addedInput schema / properties / backup_point_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
    • addedInput schema / properties / installation_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
  2. First observedv2.3.16

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes further by explaining the worker derives all paths, excludes secrets and unrelated Docker/server data, and requires rollback capacity. It also discloses the permission model, including the extra requirements for API keys (paid operations, applications:restore, spend caps).

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 action and scope are front-loaded, followed by the required call sequence and then permissions, with no filler sentences. The final permission sentence is dense but each clause carries distinct operational information, so only minor readability cost.

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, eight-required-parameter mutation with no output schema, the description covers preconditions, side effects, and authorization. It does not mention how to follow progress afterward (e.g. get_application_data_restore or get_restore_status) or what a failed/partial restore leaves behind, which would round it out.

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 100%, so all eight parameters, including the pattern/const constraints on the acknowledgement booleans, are already documented in the schema. The description reinforces the quote-token/idempotency-key relationship but adds no new syntax or format meaning, so the baseline of 3 applies.

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?

States a specific compound verb and resource ('Pay for and queue replacement of only the selected managed application's declared data') plus the source constraint ('one eligible nightly server backup'). The scoping words 'only the selected' and 'declared data' distinguish it from the quote and list siblings and from broader restore tools.

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?

Gives an explicit ordered prerequisite: call quote_application_data_restore first, disclose the exact total charge, and obtain explicit approval for both the charge and data replacement before proceeding. It also mandates reusing the exact quote token with the same idempotency key, which pins the call to the approved quote.

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