Skip to main content
Glama

cbh__RollbackInstance

Roll back an upgraded Cloud Bastion Host (CBH) instance to its previous state using the project ID and instance ID when an upgrade must be reverted.

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

Input Schema

NameRequiredDescriptionDefault
server_idYes需要回退的实例id
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 disclosure burden. It implies a version-changing mutation but says nothing about reversibility, expected downtime, service interruption, required instance state, or permission requirements — all critical for a rollback operation.

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 the action front-loaded and no wasted wording. It is efficient, though its brevity borders on under-specification rather than pure conciseness.

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 state-changing rollback operation with no annotations and no output schema, the definition is too thin: it omits preconditions (instance must be in an upgraded state), consequences of failure, and any indication of what the call returns. Only the bare action is conveyed.

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%: both project_id and server_id are documented in the schema, including that server_id is the instance to roll back. The description adds nothing beyond that, which meets the baseline for fully documented schemas.

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 ('回退' / roll back) and a specific resource ('升级的云堡垒机实例' / an upgraded CBH instance), which is enough to distinguish it from the upgrade siblings. It does not explicitly name the counterpart tool, but the action itself is unambiguous.

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 guidance on when to use this versus UpgradeInstance or the other instance-lifecycle siblings, no stated precondition that the instance must currently be on a newly upgraded version, and no mention of what happens if it was never upgraded. The agent must infer all usage context.

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