Skip to main content
Glama

rds__SetSecurityGroup

Changes the security group assigned to a Huawei Cloud RDS instance using the instance ID, project ID, and target security group ID.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
instance_idYes实例ID。
security_group_idYes- 安全组ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, yet it only restates the mutation. It says nothing about whether the previous security group is replaced or appended, required permissions, whether the instance must be in a certain state, or whether the change is reversible.

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 phrase is front-loaded and free of filler, but its brevity reflects under-specification rather than efficient communication of the necessary information.

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

Completeness1/5

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

For a mutation tool with three required parameters, no annotations, and no output schema, a four-character description is wholly inadequate. An agent cannot determine the semantics of the change, its side effects, or the expected result from this definition.

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, security_group_id) are documented in the schema itself. The description adds no meaning beyond the schema, which is the expected baseline when the schema does the heavy lifting.

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 ('修改安全组' = modify security group) with an [RDS] prefix, so the action is identifiable. However, it gives no scope information (e.g., that it binds a security group to a specific instance) and does not differentiate it from siblings such as cbh__UpdateInstanceSecurityGroup or css__ChangeSecurityGroup.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. The agent must infer entirely from the name that this is the tool for changing an RDS instance's security group.

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