Skip to main content
Glama

dws__CreateSnapshotPolicy

Configure snapshot backup policies for a DWS cluster, including retention days and backup strategies, to automate data protection and recovery.

Instructions

[DWS] 该接口用于设置快照策略。

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": {
      "cluster_id": "<cluster_id>",
      "project_id": "<project_id>"
    },
    "name": "dws__CreateSnapshotPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
keep_dayNo保留天数。输入值必须在1-31之间。
cluster_idYes**参数解释**:
project_idYes**参数解释**:
server_ipsNo备份介质服务IP。备份介质为NBU和NFS时该字段必填。备份介质为NBU时表示NBU服务器地址,备份介质为NFS时表示NFS服务器地址。
device_nameNo备份设备。支持OBS、NBU和NFS。
server_portNoNBU备份介质端口。备份介质为NBU时该字段必填。
backup_paramNoNBU备份参数。备份介质为NBU时该字段必选。
backup_strategiesNo策略列表信息。当需要添加策略时该参数为必选。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing: no permission requirements, no idempotency behavior, no effect on existing policies, and no indication of what happens on success or failure.

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

Conciseness3/5

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

A single short sentence with no wasted words, but its brevity stems from under-specification rather than disciplined editing; it is front-loaded only in the trivial sense of being one clause.

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 mutation tool with 8 parameters, nested backup strategy objects, conditional required fields (server_ips/backup_param when device_name is NBU or NFS), and no annotations or output schema, a single generic sentence is wholly inadequate.

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 8 parameters (keep_day, server_ips, device_name, backup_strategies, etc.) are already documented in the schema. The description adds no parameter meaning beyond that, but with full schema coverage the baseline of 3 applies.

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 is "该接口用于设置快照策略" (this API sets a snapshot policy), which essentially restates the tool name CreateSnapshotPolicy. It implies a write/create operation on a snapshot policy but gives no detail on what a policy contains or how it relates to sibling tools like DeleteSnapshotPolicy or ListSnapshotPolicy.

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 guidance, no prerequisites, and no mention of alternatives among the many sibling snapshot tools. The agent must infer usage entirely from the name.

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