Skip to main content
Glama

Patch system backups

bazarr_patch_system_backups

Restore a Bazarr system backup by filename to recover configuration and data after failures or incorrect changes.

Instructions

Restore a backup file

PATCH /api/system/backups

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": {
      "filename": "<filename>"
    },
    "name": "bazarr_patch_system_backups"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYesBackups to restore filename

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, idempotentHint=false, openWorldHint=true), so the description should add restore-specific behavior. It says nothing about what gets overwritten, whether the instance restarts, or that the operation is not reversible, which is exactly the context an agent needs for a restore. The "restore" wording also sits uneasily with destructiveHint=false, though this is a tension rather than a direct contradiction.

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 purpose is front-loaded in one short sentence with no filler. The trailing "PATCH /api/system/backups" is mostly redundant implementation detail for an agent, but it is brief.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-changing restore with no output schema, the definition omits what the response looks like and what happens to current data. Annotations do not cover those points, so the description leaves a meaningful gap.

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% with a single required filename parameter that is already documented in the schema. The description adds no format, path, or lookup guidance beyond that baseline.

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?

"Restore a backup file" gives a specific verb and resource, which distinguishes it from the sibling read/create/delete backup tools. It stops short of naming an alternative, but the operation is recognizable from the sentence alone.

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?

There is no guidance on when to restore rather than list, create, or delete backups, and no mention of prerequisites such as an existing backup file or the state after restoration. The agent must infer all of this from the verb.

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