Skip to main content
Glama

toggle_backup_lock

Toggle a backup's lock status to prevent or allow deletion; locked backups stay protected until unlocked. Use it to secure backups or restore deletion ability when needed.

Instructions

Toggle the lock status of a backup (locked backups cannot be deleted until unlocked).

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": {
      "server_id": "<server_id>",
      "backup_uuid": "<backup_uuid>"
    },
    "name": "toggle_backup_lock"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesShort server identifier
backup_uuidYesBackup UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false; the description adds the meaningful consequence that a locked backup cannot be deleted. However, it omits that this is a state-dependent, non-idempotent operation (calling twice reverts), whether an unlock/lock pair is required before deletion, and permission requirements.

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?

A single front-loaded sentence with the key effect in parentheses; every clause earns its place. Slight redundancy between 'lock status of a backup' and the tool name keeps it from a 5.

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 simple two-parameter mutation with no output schema, the core semantics are covered. The notable gap is not telling the agent whether the current lock state must be known first or what the response reports (new state vs. bare acknowledgement).

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% for both server_id and backup_uuid, so the schema already documents the inputs. The description adds no further parameter meaning, which is the expected baseline here.

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?

States a specific verb and resource ('Toggle the lock status of a backup') and immediately defines what locking means. It is clearly distinguishable from siblings like delete_backup or restore_backup, though it does not explicitly contrast itself with any of them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical 'locked backups cannot be deleted until unlocked' implies the reason to use it (protecting a backup from deletion), but there is no explicit when-to-use/when-not-to-use guidance and no warning that a toggle depends on the backup's current state.

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