Skip to main content
Glama

rds__SetAutoEnlargePolicy

Configures automatic storage expansion for RDS instances, setting enable/disable, trigger threshold, expansion limit, and step size to prevent storage exhaustion.

Instructions

[RDS] 设置实例存储空间自动扩容策略,按扩容量扣除存储费用。

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

Input Schema

NameRequiredDescriptionDefault
limit_sizeNo扩容上限,单位GB, 取值范围40~4000,需要大于等于实例当前存储空间总大小,switch_option为true必填
project_idYes租户在某一region下的project ID。
instance_idYes实例ID。
step_percentNo每次自动扩容的百分比步长,取值范围5~50,开启自定义步长功能时必填
switch_optionYes是否开启自动扩容,true为开启,false为关闭
trigger_thresholdNo可用存储空间百分比,小于等于此值或者10GB时触发扩容,switch_option为true时必填

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/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 does disclose one meaningful behavioral trait, that storage fees are charged according to the enlarged capacity. However, it omits permission requirements, whether disabling the policy reverts prior settings, and other side effects of this mutation, leaving substantial gaps.

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 that puts the operation first and appends the billing note; nothing is wasted. The '[RDS]' prefix is minor noise but does aid scoping.

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

Completeness3/5

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

For a six-parameter mutation tool with no annotations and no output schema, the description covers what the tool does and its cost implication but not preconditions or failure modes. The rich schema compensates for the parameter side, so it is adequate but not complete.

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 all six parameters including the conditional requirements (limit_size and trigger_threshold required when switch_option is true, step_percent for custom step) are already documented. The description adds no parameter-level meaning beyond that, so baseline 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: '设置实例存储空间自动扩容策略' (set the instance storage auto-enlarge policy), which distinguishes it from the read-only sibling rds__ShowAutoEnlargePolicy. It does not explicitly name or contrast with any alternative, so it falls short of a 5.

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 gives no when-to-use guidance, no prerequisites (such as required instance state or the fact that limit_size must exceed current storage), and no mention of alternatives like ShowAutoEnlargePolicy for inspection. Only the tool name and required parameters imply configuration usage.

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