Skip to main content
Glama

Delete system backups

bazarr_delete_system_backups
DestructiveIdempotent

Deletes a specified Bazarr system backup file to remove unneeded backups and free storage.

Instructions

Delete a backup file

DELETE /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_delete_system_backups"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
filenameYesBackups to delete 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 destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that — it does not say whether deletion is permanent, whether the file must exist first, or what happens on failure; the trailing endpoint line is API trivia rather than behavioral context.

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?

Two short lines with the action front-loaded and no filler prose. The raw HTTP endpoint line is redundant with the tool name and adds little for an agent, but it costs almost nothing.

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

Completeness3/5

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

For a two-parameter destructive tool with rich annotations and full schema coverage, the essentials are present via structured fields, and no output schema is needed. Still, an agent would benefit from knowing that the deletion is irreversible and gated on the confirmation flag, which the description omits.

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%, and the schema explains both the required filename and the optional confirm flag (including that it is needed only when the client cannot answer a confirmation prompt). The description adds no meaning beyond the schema, so the baseline 3 applies.

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?

"Delete a backup file" states a specific verb and resource, which an agent can immediately map to the destructive operation. It does not differentiate itself from sibling backup tools such as bazarr_get_system_backups or bazarr_patch_system_backups, though the name itself narrows it substantially.

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?

The description gives no when-to-use condition, no prerequisites (e.g. the backup filename must already exist), and no mention of alternatives. Usage is only implied by the verb "Delete".

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