Skip to main content
Glama

cbh__UpgradeInstance

Upgrades a Huawei Cloud Bastion Host (CBH) instance and lets you schedule the upgrade time or cancel an existing scheduled upgrade task.

Instructions

[CBH] 升级云堡垒机实例。

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": {
      "project_id": "<project_id>",
      "server_id": "<server_id>",
      "upgrade_time": "<upgrade_time>"
    },
    "name": "cbh__UpgradeInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
cancelNo是否取消升级定时任务,已开始任务不可取消。
server_idYes实例id
project_idYes项目ID。
upgrade_timeYes定时升级的时间,需要比当前时间大24小时

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 provided, so the description carries the full behavioral burden and fails to meet it. It does not say whether the upgrade causes downtime, what instance state is required, whether it is reversible, or that cancellation is only possible before the scheduled task begins — all critical for a mutation tool.

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?

The single sentence is front-loaded and free of waste, but it is under-specified rather than concise. The bracketed service prefix helps grouping but consumes space without adding behavioral information.

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?

This is a four-parameter, three-required mutation tool with no annotations and no output schema, so the description needs to explain disruption, preconditions, and scheduling behavior. It supplies none of that, leaving the agent to infer everything from the schema.

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%, including the constraint that upgrade_time must be more than 24 hours in the future and that cancel only works before the task starts, so the schema already does the heavy lifting. The description adds no meaning beyond it, which is the baseline-3 case.

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 (upgrade the cloud bastion host instance), which is clearer than a tautology. However, it does not distinguish this tool from close siblings such as cbh__UpgradeCbhInstance or cbh__RollbackInstance, so an agent cannot tell which upgrade path applies from the text 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 statement of when to use this tool versus the other upgrade/restart/rollback siblings, and no prerequisites are mentioned. The only conditional logic present (the 24-hour lead time and the cancel flag) lives in the schema, not the description.

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