Skip to main content
Glama

css__StartAutoCreateSnapshots

Enables automatic snapshot creation for a CSS cluster by setting a daily schedule, retention period, and name prefix to protect cluster data.

Instructions

[CSS] 该接口用于打开自动备份功能

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>",
      "keepday": "<keepday>",
      "period": "<period>",
      "prefix": "<prefix>",
      "project_id": "<project_id>"
    },
    "name": "css__StartAutoCreateSnapshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYes每天创建快照的时刻,只支持整点,后面需加上时区,格式为“HH:mm z”,“HH:mm”表示整点时间,“z”表示时区。比如“00:00 GMT+08:00”、“01:00 GMT+08:00”等。
prefixYes自动创建的快照名称前缀,需要用户自己手动输入。只能包含1~32位小写字母、数字、中划线或者下划线,并且以小写字母开头。
indicesNo指定要恢复的索引名称,多个索引用逗号隔开,默认恢复所有索引。支持使用“\*”匹配多个索引,例如:2018-06\*,表示恢复名称前缀是2018-06的所有索引的数据。
keepdayYes设置快照保留的天数,范围是1~90。系统在半点时刻会自动删除超过保留天数的快照。
cluster_idYes快照所属的集群的ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, and it discloses almost nothing: it does not say what creating the schedule does, whether the call overwrites an existing policy, what permissions are needed, or whether the operation is reversible. Enabling the feature is clearly a state-changing mutation, and the agent learns that only from the word 打开, with no detail on side effects.

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?

It is one short front-loaded sentence with no filler. However, for a tool with six parameters, five of which are required, and no annotations, that briefness reflects under-specification rather than economy.

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 is a mutation with five required parameters, no annotations, and no output schema, yet its description is a single sentence. It omits preconditions, the effect of re-invocation, and the difference between 'snapshot' and the 'backup' the description names, leaving the agent dependent on the schema for nearly everything.

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 schema itself fully documents period format, prefix constraints, keepday range, and indices wildcards. The description adds nothing beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

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

The description states a verb plus an object: enabling the automatic backup function. However, it calls the feature 'backup' (备份) while the tool name and every parameter refer to snapshots (快照), introducing a terminology mismatch. It also fails to differentiate this tool from siblings such as css__StartAutoSetting, css__CreateAutoCreatePolicy, or css__StopAutoCreateSnapshots.

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, what its prerequisites are (such as whether the cluster must be running or whether this requires an existing policy), or how it relates to the similar Start* and Create* siblings. The agent must infer how to choose between this tool and css__CreateAutoCreatePolicy from the names alone.

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