Skip to main content
Glama

cbr__RemoveVaultResource

Removes specified resources from a CBR vault and deletes their associated backups, helping clean up vault contents when resources are no longer needed.

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

Input Schema

NameRequiredDescriptionDefault
vault_idYes存储库ID
project_idYes项目ID
resource_idsYes要移除的资源ID列表

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full behavioral load. It does disclose the critical side effect — that removing a resource also deletes its backups in the vault — which is the single most important fact for an agent. However, it says nothing about irreversibility, required permissions, behavior on partial failure across up to 256 IDs, or whether the deletion is recoverable.

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 compact sentence that front-loads the action and appends the destructive consequence as a clause. No filler, though the wording is dense enough that the consequence could be more visually separated.

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?

With only three required parameters, no output schema, and no annotations, the description covers the essential purpose and the destructive cascade. It falls short only on permission requirements and partial-failure semantics, which are secondary for a batch removal call.

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 vault_id, project_id, and resource_ids are already documented in the schema. The description adds no further semantics about the ID list, the 1–256 bound, or cross-project constraints, so the schema carries the parameter burden entirely.

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 pairs a specific verb (移除, remove) with a specific resource (存储库中的资源) and clarifies the consequence of the operation. An agent can distinguish it from cbr__AddVaultResource or cbr__SetVaultResource by the verb alone, though no sibling is named explicitly.

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 use this tool versus alternatives such as cbr__SetVaultResource or cbr__MigrateVaultResource, and no stated preconditions or exclusions. The only usage-relevant signal is the implied destructiveness of the operation.

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