Skip to main content
Glama

Airlok

Восстановить данные из копии

restore_backup
Destructive

Заменить базу приложения и его постоянную папку копией из list_backups: всё, что записано туда после этой копии, сайт потеряет. Только если человек прямо попросил и выбрал копию; не способ починить ошибку. Сначала Airlok сохранит текущие данные копией «Перед восстановлением», её можно вернуть так же. Загруженные файлы не меняются. Ход — list_backups, поле restore. Восстанавливать можно до 10 раз в сутки на приложение. Требует токен с правом публикации.

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": {
      "app": "<app>",
      "backup_id": "<backup_id>",
      "confirm": "<confirm>"
    },
    "name": "restore_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
confirmYesточное имя приложения, которое подтвердил человек
backup_idYesid копии со статусом done из list_backups

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond destructiveHint=true: it states exactly what is lost (everything written since that copy), that uploaded files are untouched, that an automatic "Перед восстановлением" backup is created and can itself be restored, the 10-per-day-per-app limit, and the publish-permission token requirement. This is the kind of context annotations cannot carry.

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-loads the destructive consequence in the first clause, then prerequisites, side effects and limits in order. Dense but every sentence carries operational information; slightly run-on phrasing keeps it from a 5.

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 3-parameter tool with no output schema, the definition covers blast radius, auth requirement, rate limit and recovery path. Missing only a note on what a successful response contains or how to verify the restore, which the human backstop largely covers.

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 app, backup_id and confirm are already documented, and the description's note that backup_id comes from list_backups restates the schema. It adds only marginally more, namely that the copy must be human-chosen and confirmed, so the baseline 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?

"Заменить базу приложения и его постоянную папку копией из list_backups" names a specific verb and both affected resources, and explicitly ties the source of the copy to the sibling list_backups. An agent can distinguish it from list_backups/create_backup without opening a schema.

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?

Explicit gating condition: "Только если человек прямо попросил и выбрал копию; не способ починить ошибку" gives both when-to-use and a clear when-not. It also names the prerequisite sibling flow (list_backups → поле restore), leaving no inference needed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources