Skip to main content
Glama

cbr__AssociateVaultPolicy

Associates one or more backup or replication policies with a CBR vault, enabling policy-based protection for that 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": {
      "project_id": "<project_id>",
      "vault_id": "<vault_id>"
    },
    "name": "cbr__AssociateVaultPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
vault_idYes存储库ID
policy_idNo策略ID。policy_id字段与add_policy_ids字段在一次请求中有且只有一个。
project_idYes项目ID
add_policy_idsNo多策略场景下,绑定新策略的id列表。policy_id字段与add_policy_ids字段在一次请求中有且只有一个。
destination_vault_idNo目标vault ID , 只有设置复制策略时使用,而且必传

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure, yet it says nothing about mutation effects, permission requirements, or the exclusivity rule the schema implies between policy_id and add_policy_ids. An agent gets no behavioral context beyond the bare phrase.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is short but not concise in any useful sense: it is a four-word noun phrase that conveys no actionable information. Brevity here comes from under-specification rather than disciplined editing.

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

Completeness1/5

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

For a five-parameter mutating tool with no annotations and no output schema, the description leaves essentially everything for the agent to derive from the schema and tool name. It is not remotely complete enough to guide correct invocation.

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 schema already documents all five parameters, including the mutual exclusivity of policy_id and add_policy_ids and the replication-only destination_vault_id. The description adds nothing beyond that, 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.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[CBR] 存储库设置策略" is essentially a restatement of the tool name, giving no verb+resource specificity. It does not distinguish this operation from the sibling cbr__DisassociateVaultPolicy, which an agent must infer from the tool name alone.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of the opposite operation (DisassociateVaultPolicy), and no prerequisites such as needing an existing policy or vault. Nothing routes the agent between this and its clearly paired sibling.

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