Skip to main content
Glama

apig__DeleteCertificateV2

Deletes an APIG SSL certificate only if no domain is associated with it, helping prevent removal of certificates still in use.

Instructions

[APIG] 删除ssl证书接口,删除时只有没有关联域名的证书才能被删除。

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>",
      "project_id": "<project_id>"
    },
    "name": "apig__DeleteCertificateV2"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。
certificate_idYes证书的编号

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses the key constraint that domain-bound certificates cannot be removed, which is genuine value, but says nothing about reversibility, required permissions, or the failure response when the certificate is still associated.

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 front-loads the action and then the caveat; nothing is redundant. It is terse to the point of omitting guidance the agent would want, which is an under-specification issue rather than a verbosity one.

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 two-parameter delete with no output schema and no annotations, the definition covers the essential precondition. It leaves the destructive/irreversible nature and the error behavior unstated, so an agent must infer the risk of the call.

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 coverage is 100% and both path parameters (project_id, certificate_id) are documented inline, including a link for obtaining the project ID. The description adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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 (删除 ssl 证书 = delete an SSL certificate) and names the API group prefix [APIG], so the agent knows exactly which object is mutated. It does not explicitly distinguish itself from siblings such as DisassociateCertificateV2 or CreateCertificateV2, so it stops short of a 5.

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 real precondition: only certificates with no associated domains can be deleted. That is useful gating, but it never states the alternative path (e.g. detach/associate tooling) or when an agent should pick this over other certificate operations, so usage is only implied.

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