Skip to main content
Glama

rds__UpgradeDbMajorVersion

Upgrades a Huawei Cloud RDS PostgreSQL instance to a specified major version, optionally switching its private IP to the target-version instance.

Instructions

[RDS] PostgreSQL数据库升级大版本。

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>",
      "is_change_private_ip": "<is_change_private_ip>",
      "project_id": "<project_id>",
      "target_version": "<target_version>"
    },
    "name": "rds__UpgradeDbMajorVersion"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
instance_idYes实例ID
target_versionYes目标版本。
is_change_private_ipYes是否将实例内网IP切换到大版本实例
statistics_collection_modeNo统计信息收集方式。is_change_private_ip为true时必选

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?

No annotations are supplied, so the description carries the full burden, yet it discloses nothing about this being an irreversible, disruptive mutation with downtime, nor about the risk of the is_change_private_ip IP switch. Only the phrase 'major version upgrade' hints at impact, which is thin for a destructive operation.

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 a single short sentence with no wasted words, but the brevity reflects under-specification rather than discipline; there is no structure to front-load prerequisites or risk, since none is present.

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, four-required, irreversible upgrade operation with no annotations and no output schema, the definition says almost nothing. Missing guidance on pre-checks, downtime, rollback expectations, and the conditional parameter's behavior leaves an agent under-informed before a high-risk call.

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 five parameters, including the conditional requirement tying statistics_collection_mode to is_change_private_ip, are already documented in the schema. The description adds no meaning beyond that, which matches the baseline of 3.

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 names a specific verb and resource (upgrading an RDS PostgreSQL instance to a major version), which goes slightly beyond the tool name by scoping it to PostgreSQL. However, it offers no differentiation from close siblings such as rds__UpgradeDbVersion or rds__UpgradeDbMajorVersionPreCheck, so an agent must infer the distinction from names alone.

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 mention that a pre-check (rds__UpgradeDbMajorVersionPreCheck) should precede this call, no reference to checking status afterward, and no statement of prerequisites such as instance state. The agent is left to guess the workflow ordering entirely.

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