Skip to main content
Glama

gaussdbfornosql__SetRedisPitrPolicy

Configures Redis point-in-time recovery by enabling or disabling PITR and setting the backup interval and retention days for an instance.

Instructions

[GAUSSDBFORNOSQL] 设置Redis恢复到指定时间点策略。

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": {
      "enabled": "<enabled>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__SetRedisPitrPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes标识Redis实例是否开启指定时间点恢复。
intervalNo数据备份的时间间隔,该数据备份控制redis实例可恢复时间点的间隔,默认值为 20分钟。
keep_daysNo指定已生成的备份文件可以保存的天数,默认值为 1 天。
project_idYes用户在某一region下的projectID。
instance_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 bears the full behavioral burden, and it discloses almost nothing: it does not state whether disabling the policy discards existing backups, whether the new retention/interval takes effect immediately, whether existing recoverable points are preserved, or what permissions are required. For a mutation on backup/retention configuration, those omissions matter.

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, front-loaded sentence with a bracketed service prefix and no redundant wording. It is efficient, though its brevity is as much under-specification as discipline.

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?

For a five-parameter mutation tool with no annotations and no output schema, the description is too thin. It conveys the operation but not the effects of the operation, prerequisite state, or relationship to the PITR restore siblings, leaving the agent to guess at consequences before calling it.

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 every parameter — enabled, interval, keep_days, project_id, instance_id — is already documented in the schema, including defaults. The description adds no meaning 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?

The description gives a specific verb+resource pair: setting a Redis point-in-time-recovery policy for an instance. That cleanly separates it from sibling reads such as ShowRedisPitrPolicy and ShowRedisPitrInfo and from the action-oriented RestoreRedisPitr. It stops short of naming any of those siblings, so it is clear but not fully differentiated.

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 at all: nothing on prerequisites (e.g. whether PITR must be enabled on the instance first), no mention of how this relates to the restore workflow, and no when-not-to-use conditions. An agent must infer the usage context entirely from the tool name and the sibling list.

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