Skip to main content
Glama

cbh__UpdateInstanceSecurityGroup

Updates the security groups assigned to a Huawei Cloud Bastion Host instance to adjust network access controls for that instance.

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>",
      "security_groups": "<security_groups>",
      "server_id": "<server_id>"
    },
    "name": "cbh__UpdateInstanceSecurityGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYes云堡垒机实例ID,使用UUID格式表示。
project_idYes项目ID。
security_groupsYes安全组信息。

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 behavioral burden, and it provides almost nothing. Critically for a security-group update, it does not say whether the supplied list replaces the existing security groups or adds to them, nor whether the change requires a restart or causes connectivity interruption.

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 definition is a single clause with no filler text and is front-loaded. However, its brevity reflects under-specification rather than disciplined conciseness, given that this is a mutation tool with no annotations and no output schema.

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 tool modifies security-group membership on a live bastion host, and it has no annotations and no output schema, so the description should explain side effects and return behavior. Instead, it provides one sentence that says nothing about replace-vs-append semantics, permissions, or the response, leaving the agent materially under-informed.

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%: server_id, project_id, and security_groups are each documented in the schema, including the UUID format and the 1–5 item bound. The description adds no meaning beyond those fields, so the baseline of 3 applies.

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 states a verb and resource pattern (修改…安全组) that matches the tool name UpdateInstanceSecurityGroup, with '堡垒机' only adding that CBH means bastion host. It is understandable, but it is essentially a restatement of the name rather than a specification of scope, and it does not distinguish this from other security-group update siblings (vpc__UpdateSecurityGroup, gaussdb__UpdateGaussMySqlInstanceSecurityGroup).

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?

The description gives no guidance on when to use this tool, when not to, or what alternatives exist. It does not state prerequisites such as the instance state or whether the caller must own the instance group, so an agent must infer everything from the name alone.

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