Skip to main content
Glama

rds__UpgradeDbMajorVersionPreCheck

Run a pre-upgrade check on a Huawei Cloud RDS instance before a major database version upgrade, validating the instance against the target version to confirm readiness.

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>",
      "target_version": "<target_version>"
    },
    "name": "rds__UpgradeDbMajorVersionPreCheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
instance_idYes实例ID
target_versionYes目标版本。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and does not meet it. It never states whether this is a read-only validation or a mutating operation, whether it is synchronous or long-running, what permissions or instance states are required, or what the check result looks like — all critical for a pre-check tool whose output gates a subsequent upgrade.

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 with no filler and the key qualifier ('before upgrade') front-loaded. It is efficient, though the brevity crosses into under-specification rather than tightness.

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 three-parameter tool with no annotations and no output schema, the description leaves too much unsaid: no return-value or result interpretation, no prerequisite states, no indication of what to do with the check outcome. The agent knows the general intent but not enough to invoke it correctly in a real upgrade workflow.

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 three parameters (project_id, instance_id, target_version) are already documented in the schema. The description adds no extra meaning about target_version format, version compatibility rules, or the path semantics of instance_id, so the 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?

The description states a specific verb (upgrade check / 升级检查) and resource (major version upgrade / 大版本升级) with an RDS scope marker, and the 'before upgrade' framing plus the PreCheck name distinguish it from the sibling rds__UpgradeDbMajorVersion which actually performs the upgrade. It stops short of explicitly naming that sibling, so differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'大版本升级前' (before a major version upgrade) implies the timing of use, so an agent can infer it should be called as a precursor to the actual upgrade. However, there is no explicit statement of when not to use it, no named alternative, and no prerequisite conditions such as required instance state or whether the check must be re-run after changes.

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