Skip to main content
Glama

apig__CreateMemberGroup

Creates a VPC channel backend server group in API Gateway to organize and manage backend server nodes, with optional backend instance association.

Instructions

[APIG] 在APIG中创建VPC通道后端服务器组,VPC通道后端实例可以选择是否关联后端实例服务器组,以便管理后端服务器节点。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。
member_groupsNo后端服务器组列表
vpc_channel_idYesVPC通道的编号

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 burden. It confirms this is a create operation and hints at the payoff (managing backend server nodes), but says nothing about required permissions, idempotency on duplicate group names, what is returned, or failure modes for an invalid vpc_channel_id — significant omissions for a mutation tool.

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 compact sentence that opens with the action and resource and wastes no words. The second half is slightly tangential but still short and informative.

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 is a mutation tool with no annotations, no output schema, and a nested array body (member_groups) whose microservice/reference-type conditional fields only make sense in the schema. The description does not cover return behavior, side effects on existing backend instances, or error conditions, leaving the agent under-informed for a create call with conditional nested data.

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 the schema already documents project_id, instance_id, vpc_channel_id, and every nested member_groups field with constraints and per-field applicability caveats. The description adds no parameter-level meaning beyond what the schema provides, which matches the baseline 3.

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 and resource: creating a VPC channel backend server group (VPC通道后端服务器组) within APIG. Combined with the tool name and the APIG namespace, an agent can distinguish it from the sibling CreateApiGroup or the roma/ecs member tools, though the description never explicitly names an alternative.

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 rather than UpdateMemberGroup, CreateApiGroup, or roma__CreateMemberGroup, and no preconditions are stated (e.g. that the referenced VPC channel must already exist). The only contextual sentence is a factual remark that backend instances may optionally associate with a group, which is background, not usage direction.

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