Skip to main content
Glama

ecs__AddServerGroupMember

Adds a cloud server to a specified server group so it inherits the group's anti-affinity placement or fault-domain behavior.

Instructions

[ECS] 将云服务器加入云服务器组。添加成功后,如果该云服务器组是反亲和性策略的,则该云服务器与云服务器组中的其他成员尽量分散地创建在不同主机上。如果该云服务器时故障域类型的,则该云服务器会拥有故障域属性。

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": {
      "add_member": "<add_member>",
      "project_id": "<project_id>",
      "server_group_id": "<server_group_id>"
    },
    "name": "ecs__AddServerGroupMember"
  }
}

Input Schema

NameRequiredDescriptionDefault
add_memberYes待添加进云服务器组的云服务器信息。
project_idYes项目ID。
server_group_idYes云服务器组ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It does disclose genuine post-add behavior — the server is spread across different hosts under an anti-affinity policy and inherits fault-domain attributes — which is useful beyond the schema. However, it says nothing about required permissions, idempotency, error conditions (server already a member, group full), or member-count limits for a mutation 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?

Two sentences: the operation first, then the policy-dependent effect. Nothing is padded, and the key action is front-loaded. Minor deduction for awkward/typo'd conditional phrasing ('如果该云服务器时故障域类型的') that slightly muddies the second sentence.

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 3-parameter mutation tool with a nested object, no annotations, and no output schema, the description covers the semantic effect of the call but omits prerequisites, failure modes, and result shape. Adequate to identify the tool, not enough to predict what a call will do in edge cases.

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%, with instance_uuid, project_id, and server_group_id all documented in-schema including examples. The description adds no format, constraint, or cross-parameter meaning beyond that, so the baseline 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: '将云服务器加入云服务器组' (add a cloud server to a server group). An agent can immediately tell this is the additive counterpart to ecs__DeleteServerGroupMember, though the description never names that sibling 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 when-to-use guidance, no preconditions (e.g., the group must already exist, the server must be in the same project/AZ), and no note on when to prefer a different tool. The conditional text about anti-affinity and fault-domain describes consequences of the call, not selection criteria.

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