Skip to main content
Glama

apig__DisassociateCertificate

Disassociates an expired or unneeded SSL certificate from an API Gateway domain by specifying the group, domain, and certificate IDs.

Instructions

[APIG] 如果域名证书不再需要或者已过期,则可以删除证书内容。

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_id": "<certificate_id>",
      "domain_id": "<domain_id>",
      "group_id": "<group_id>"
    },
    "name": "apig__DisassociateCertificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes分组的编号
domain_idYes域名的编号
certificate_idYes证书的编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the entire burden. It never says the call mutates the domain binding, whether the binding can be restored, whether the certificate must already be attached, or what happens to the domain after the certificate is detached. It only gives a usage scenario, with no behavioral detail.

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?

The description is a single, front-loaded sentence with no wasted wording. Its problem is accuracy, not length.

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 three-parameter mutating operation with no annotations and no output schema, the description is too thin. It should state that the certificate-domain association is destroyed, that this is distinct from deleting the certificate resource, and whether the action is reversible.

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%: group_id, domain_id and certificate_id are all documented as path identifiers, so the schema already covers everything. The description adds no syntax or constraint details, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says it will "delete the certificate content" (删除证书内容), but the tool name and parameters (certificate_id + domain_id + group_id) indicate it removes the binding between a certificate and a domain. That mischaracterization puts the tool too close to the sibling apig__DeleteCertificateV2 and makes it hard for an agent to tell the operations apart.

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?

It does give a trigger condition (the certificate is no longer needed or has expired), but it never names the alternative tools or states when to disassociate versus when to delete the certificate outright, and it does not address the reverse operation, apig__AssociateCertificate. The condition itself points toward certificate deletion, so it can route an agent to the wrong sibling.

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