Skip to main content
Glama

apig__BatchDisassociateCertsV2

Unbinds an SSL certificate from a Huawei Cloud API Gateway domain by certificate ID, supporting one certificate per request; custom inbound-port domains are unbound together.

Instructions

[APIG] 域名解绑SSL证书。目前暂时仅支持单个解绑,请求体当中的certificate_ids里面有且只能有一个证书ID。在使用自定义入方向端口的特性时,相同的域名会同时解绑证书。

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

Input Schema

NameRequiredDescriptionDefault
group_idYes分组的编号
domain_idYes域名的编号
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
instance_idYes实例ID,在API网关控制台的“实例信息”中获取。
certificate_idsYes证书的id集合
verified_client_certificate_enabledNo是否开启客户端证书校验。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.5/5.0
Behavior3/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 usefully discloses a non-obvious side effect — that with custom ingress ports the same domain has its certificates unbound simultaneously — but says nothing about required permissions, whether the unbind is reversible, or the effect on the verified_client_certificate_enabled flag.

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?

Three short sentences, front-loaded with the action, followed by the cardinality constraint and the port-specific edge case. No filler, though the phrasing around the custom ingress-port case is slightly elliptical.

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 six-parameter mutation with no annotations and no output schema, the description covers the key cardinality rule and one side effect, but omits the verified_client_certificate_enabled parameter entirely and gives no indication of the response or failure modes. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds genuine meaning by constraining certificate_ids to exactly one entry, which the schema's '证书的id集合' wording otherwise implies can hold many. It adds nothing about the remaining parameters, which the schema already documents.

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 — unbinding an SSL certificate from a domain — and pre-empts confusion about the 'Batch' prefix by stating only a single unbind is presently supported. It does not explicitly contrast itself with the single-cert sibling (apig__DisassociateCertificateV2), so it stops short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a hard usage constraint (certificate_ids must contain exactly one ID) and notes the custom ingress port case, which shapes how an agent should call it. However, with a near-identical single-unbind sibling present, the description never says when to choose this tool over that one, leaving the main routing decision to inference.

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