Skip to main content
Glama

cbr__MigrateVaultResource

Migrate protected resources from one CBR vault to another without deleting existing backups; specify the source vault, destination vault, project, and resource IDs.

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

Input Schema

NameRequiredDescriptionDefault
vault_idYes
project_idYes
resource_idsYes待迁移的资源ID
destination_vault_idYes目标存储库

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/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 full behavioral burden. It usefully notes that backups are not deleted ('不删除备份'), but says nothing about whether resources are removed from the source vault, whether the migration is asynchronous (a sibling ShowMigrateStatus hints that it may be), permission requirements, or failure behavior — significant gaps for a mutating cross-vault operation.

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 with the scope and the non-destructive guarantee front-loaded; no filler. It is short to the point of being under-specified rather than verbose, so brevity itself is not penalized here.

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?

With four required parameters, no annotations, and no output schema, the description should do more work. It leaves the source-vs-destination vault distinction unexplained and gives no sense of the result or whether the operation is long-running, so an agent cannot call it confidently without guessing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: resource_ids and destination_vault_id have descriptions, while vault_id and project_id have empty description strings. The description does not disambiguate vault_id (presumably the source vault) from destination_vault_id, which is the most consequential ambiguity an agent must resolve before calling this tool.

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 specific verb and resource ('资源迁移' – migrate resources) and states the destination ('另一个存储库' – another vault), which is enough to distinguish it from sibling operations like AddVaultResource or RemoveVaultResource. It does not explicitly contrast itself with those siblings, so it falls short of a 5.

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 explains what the tool does but gives no guidance on when to choose it over AddVaultResource/RemoveVaultResource, nor any preconditions such as the destination vault existing or the resources currently residing in the source vault. Usage is only inferable from the purpose statement itself.

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