Skip to main content
Glama

cbr__CreatePolicy

Creates a Cloud Backup and Recovery (CBR) backup or replication policy with schedule, retention, and target settings so you can automate protection for cloud resources.

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": {
      "policy": "<policy>",
      "project_id": "<project_id>"
    },
    "name": "cbr__CreatePolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYes创建策略body
project_idYes项目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 full burden. It says only that a policy is created; it discloses nothing about permission requirements, whether the name must be unique within a project, what defaults get applied (enabled=true, retention defaults), or whether creation is idempotent. For a mutation tool with an intricate nested body, this is a substantial gap.

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 the verb and resource front-loaded and no filler. It is efficient, though the brevity borders on under-specification rather than tight writing.

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?

The tool takes a deeply nested policy object with a required trigger rule set and cross-field dependencies, has no annotations and no output schema. The description does not tell the agent what a successful creation returns (e.g. a policy ID) or flag any of the cross-field constraints, leaving it inadequate relative to the tool's complexity.

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%, and the nested policy/trigger/operation_definition fields are documented in great detail in the schema itself (scheduling rules, timezone dependencies, retention semantics). The description adds nothing beyond that, so the baseline of 3 applies.

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 ("创建策略") and adds that policies fall into backup and replication categories, which maps to operation_type. It does not differentiate from the sibling cbr__CreateOrganizationPolicy or clarify scope (project-level vs organization-level), so it is clear but not sibling-discriminating.

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 offers no when-to-use guidance, no prerequisites (e.g. vault must exist, permissions required), and never mentions alternative tools such as cbr__CreateOrganizationPolicy or cbr__UpdatePolicy. The only hint is the policy-type taxonomy, which is about what the tool creates, not when to choose it.

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