Skip to main content
Glama

cbr__SetVaultResource

Suspend or unsuspend automatic backup for specified resources in a CBR vault.

Instructions

[CBR] 设置存储库资源是否自动备份

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": {
      "action": "<action>",
      "project_id": "<project_id>",
      "resource_ids": "<resource_ids>",
      "vault_id": "<vault_id>"
    },
    "name": "cbr__SetVaultResource"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes设置存储库资源动作
vault_idYes存储库id
project_idYes项目id
resource_idsYes需要设置的资源id。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the entire behavioral burden, yet it discloses almost nothing beyond the effect itself. It does not state that the operation is a reversible state toggle (suspend vs unsuspend), that it applies in batch to multiple resource_ids, whether existing backups are affected, or what permissions are required.

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 short sentence with no filler, and the key concept (auto-backup toggle on a vault resource) is front-loaded. It is efficient but so terse that it conveys only purpose, not structure or nuance.

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 tool with four required parameters, a state-changing operation, no annotations and no output schema, one sentence is not enough. An agent knows roughly what it does but not the conditions, effects, or result of calling it.

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 the enum, vault_id, project_id and resource_ids are already documented in the input schema. The description adds no format, constraint, or semantic detail beyond what the schema provides, which is the baseline expectation at full coverage.

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?

The description names a concrete operation on a concrete resource: toggling whether a vault resource is automatically backed up ("设置存储库资源是否自动备份"). This is more specific than the tool name alone, which is generic ("SetVaultResource"), and it implicitly maps to the suspend/unsuspend action enum. It stops short of distinguishing itself from sibling operations such as AddVaultResource/RemoveVaultResource.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no mention of any alternative tool. The only implied usage signal is the tool's purpose itself; an agent must infer that this is for pausing/resuming automatic backup of already-added resources rather than adding or removing them.

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