Skip to main content
Glama

gaussdb__UpdateAutoScalingPolicy

Updates a GaussDB instance's auto-scaling policy, including enabling or disabling scaling, setting CPU thresholds, and configuring flavor or read-only node scaling limits.

Instructions

[GAUSSDB] 设置自动变配。

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>",
      "scaling_strategy": "<scaling_strategy>",
      "status": "<status>"
    },
    "name": "gaussdb__UpdateAutoScalingPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes自动变配开关状态。
max_flavorNo扩容规格上限。开启扩缩规格时必填。
project_idYes租户在某一Region下的project ID。
instance_idYes实例ID,严格匹配UUID规则。
monitor_cycleNo监测周期(单位:秒)。
silence_cycleNo静默周期(单位:秒)。
reduce_enabledNo是否开启自动回缩。开启自动变配时必填。
read_only_weightNo只读节点读写分离权重。开启增删只读节点时必填。
scaling_strategyYes自动变配策略。
enlarge_thresholdNoCPU平均使用率(百分比数值)。
max_read_only_countNo只读节点数量上限。开启增删只读节点时必填。

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 were supplied, so the description carries the full burden of behavioral disclosure for a mutating call. It says nothing about permission requirements, whether the call overwrites the existing policy, how the interdependent switches (flavor_switch, read_only_switch, reduce_enabled) interact, or what is returned.

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

Conciseness2/5

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

The single sentence is front-loaded but is under-specification rather than concision — it does not earn brevity because no substantive content is conveyed. There is no structure to help an agent navigate an 11-parameter, nested-schema mutation.

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 mutating tool with 11 parameters, a nested strategy object, no annotations and no output schema, one line is wholly inadequate. An agent could not tell from the description alone whether this creates, replaces or partially updates an auto-scaling policy.

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 all 11 parameters, including the nested scaling_strategy object, are documented inline, so the schema already does the explanatory work. The description adds no syntax, format or constraint detail beyond it; 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?

"设置自动变配" only restates the tool name UpdateAutoScalingPolicy as a verb-plus-resource phrase in Chinese. It does not distinguish this from gaussdb__ShowAutoScalingPolicy, gaussdb__ModifyAutoExpandPolicy or the mrs__/as__ scaling tools, so an agent learns nothing beyond the identifier it already has.

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: no statement of prerequisites (for example, whether a policy must already exist), no exclusion of alternatives such as ModifyAutoExpandPolicy, and no note that ShowAutoScalingPolicy is the read counterpart. It states no condition for selecting this tool over its siblings.

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