Skip to main content
Glama

apig__DeleteApiGroupV2

Deletes a specified API group from Huawei Cloud API Gateway using its group, instance, and project IDs, so you can remove unused or obsolete API groupings.

Instructions

[APIG] 删除指定的API分组。

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": {
      "group_id": "<group_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "apig__DeleteApiGroupV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes分组的编号
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。

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?

Because no annotations are provided, the description must carry the full burden of explaining behavior, yet it provides no information about side effects. It does not state whether deletion is irreversible, whether APIs within the group are also removed, whether any confirmation or force flag exists, or what permissions are needed; this is a significant gap for a destructive 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?

It is a single short sentence with the verb and resource up front and no wasted wording. Its brevity, however, comes at the cost of under-specification rather than disciplined editing.

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?

For a destructive, three-required-parameter operation with no annotations and no output schema, the definition is too thin. Nothing addresses irreversibility, cascading deletion of contained APIs, failure modes, or required permissions, so an agent could invoke it correctly but without understanding the consequences.

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%, and each of the three path parameters has its own description and example, so the schema already documents the parameters. The description adds no extra meaning about group_id, project_id, or instance_id beyond what the schema provides, so the baseline 3 is appropriate.

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 has a specific verb (删除/delete) and resource (API分组/API group), which clearly distinguishes it from sibling tools such as CreateApiGroupV2, UpdateApiGroupV2, and ShowDetailsOfApiGroupV2. However, it does not mention scope or constraints that would separate it from the similarly named apig__DeleteApiGroup.

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, no prerequisites (such as whether the group must be empty of APIs), and no warning about when deletion is inappropriate. An agent must infer all conditions from the name and schema 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