Skip to main content
Glama

apig__DisassociateDomainV2

Unbind a custom domain from an API group when the group no longer needs that domain association.

Instructions

[APIG] 如果API分组不再需要绑定某个自定义域名,则可以为此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": {
      "domain_id": "<domain_id>",
      "group_id": "<group_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "apig__DisassociateDomainV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes分组的编号
domain_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

B3.2/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 disclosure burden and largely drops it. It says the binding is removed but not whether the custom domain resource itself survives, whether the call is reversible, what permissions or instance state are required, or whether removing a domain that still has certificates bound fails. For a mutation tool with zero annotation coverage this is a substantive gap.

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 front-loaded conditional sentence with no filler or repetition of the tool name. It could be tightened slightly (the phrase '为此API分组解绑此域名' restates the group/domain pairing already implied), but nothing is wasted.

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 simple four-path-parameter mutation with no output schema, the description covers the intent but omits what an agent most needs to know before calling: failure conditions, whether the domain record is deleted or merely detached, and how to verify success. Adequate but with clear gaps given that no annotations backfill the behavior.

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?

All four parameters (group_id, domain_id, instance_id, project_id) are fully documented in the schema at 100% coverage, so the schema does the heavy lifting and the baseline is 3. The description adds no additional meaning about parameter relationships, such as whether domain_id must currently be associated with group_id or whether instance_id must match the group's instance.

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+resource: unbinding (解绑) a custom domain from an API group, with the preconditions (API group still exists, domain currently bound) implicit. It is clear enough to act on, but it never distinguishes itself from the near-identical sibling apig__DisassociateDomain or the batch variant apig__BatchDisassociateDomainsV2, so the agent gets no help choosing among them.

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?

The opening clause '如果API分组不再需要绑定某个自定义域名' supplies a when-to-use condition, which is more than nothing. However, there are no exclusions, no mention of when the batch or non-V2 sibling should be used instead, and no stated prerequisites such as whether the domain must first be unbound from any certificate or SL domain settings.

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