Skip to main content
Glama

cbh__ShowInstanceStatus

Retrieves the current status of a Huawei Cloud Bastion Host (CBH) instance that has not been deleted, using its project ID and instance ID to confirm whether the instance is running, stopped, or in another state.

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__ShowInstanceStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes云堡垒机实例ID,使用UUID格式表示。
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 supplied, so the description carries the full behavioral burden and largely does not meet it. It does not state required permissions, what status fields or states are returned, whether the call is read-only by contract, or what happens for a deleted or non-existent instance ID.

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 front-loaded sentence with a bracketed service tag and the scoping constraint in parentheses; nothing is wasted. It is short to the point of under-specification rather than being verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool with complete schema descriptions, the definition is minimally sufficient to invoke correctly. With no annotations and no output schema, however, it leaves the agent guessing about the response shape and any preconditions on the instance state.

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 server_id (UUID 云堡垒机实例ID) and project_id are documented in the schema with examples and length bounds. The description adds no meaning beyond that, so the baseline of 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?

States a specific verb (获取) and resource (堡垒机实例状态信息), plus a scope qualifier restricting to non-deleted instances (未删除实例). An agent can distinguish it from mutating siblings such as cbh__DeleteInstance or cbh__RebootInstance, though no sibling is named explicitly.

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?

No guidance on when to choose this over alternatives such as cbh__ListCbhInstance (listing many instances) or cbh__ListQuotaStatus. The only usage-shaped signal is the implicit restriction to non-deleted instances, which the agent must infer from a parenthetical.

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